Opening Excel with many columns - excel

Basically, I have an Excel 2003 spreadsheet that I wish to open.
However, it is giving error because it has too many columns.
What is a way of opening this Excel file to view the entire data?
PS. I have Excel 2010 installed as well but unable to open that file.
Additional info: The Excel file is created using SSRS -> Export to Excel. The number of columns in the report varies and when large report range is chosen, it will have "too many" columns.

If you have more than 256 columns you won't be able to use versions of Excel prior to 2007.
It sounds like you're exporting to a pre-2007 workbook (xls) with more than that number.
in 2007+ you can have around 16 thousand columns.
This page has details about how to export to a 2007+ file format (xlsx):
http://msdn.microsoft.com/en-us/library/dd255234(v=sql.110).aspx
Note I think your SQL server may need to be a certain version to use the 2007+ excel renderer, but I have little experience there.

Related

How to format a formula in Microsoft Excel to be in percentage format DIRECTLY in the CSV source file

The problem:
For example, my CSV data is like so: ['=B3/B5'] which displays 0.1 in my Excel sheet but I need it to produce 10%.
I need to be able to fix this from the CSV source data because I'm exporting a CSV file from my website so that means no excel formatting to percentages as I need it to work out of the box for users.
Preferably the solution should be able to support Excel 2007. Google Sheets has a =to_percent(B3/B5) function which works well but I need the equivalent for Excel 2007.
I had a look at this answer: https://superuser.com/questions/318420/formatting-a-comma-delimited-csv-to-force-excel-to-interpret-value-as-a-string
But doesn't seem to directly address the problem.
You could use =B3/B5*100&"%"
Note that this will not be saved as a number (ex. 22.1%) rather as text, because you can't use number formats in a CSV file.

Exporting data from Access to Excel (more than 65000 record)

I have a table in Access, more than 300000 records, and I want to export to Excel, but it seems like I can't export more than 65000 records. I've tried the available option without formatting and layout, but all I get is an empty Excel file. Is there a method to solve the issue?
I'm using Windows XP and MS Office 2007.
The Excel XLS workbook format is limited to 65,536 rows. Export to XLSX instead, which can accommodate over a million rows.

Using Excel Macros in both XLS and XLSX

How can i use the same macro in both the XLS and XLSX formats?
Is there anyhthing to be added in the XLSX format. i have written a small macro in XLSX (it has last column XFD) i want to use it in the XLS (it has last column as IV) .Is there anything to be changed?
This question is not about converting the file formats.
XLSX provides a broader set of formulas and also VBA functionality. Additionally, XLSX expands the row/column restriction that exists before Excel 2007 (from 256 columns to 16,384).
If your macros are written using up to column 16,384 (XFD), you're going to have to perform the calculations in chunks to make them fit within the 256 column (IV) restriction of Excel 2003. If you're using variables and not writing everything to a sheet, then there should be no problem (barring running out of memory).
Without more detail, it's difficult to tell whether you're using a set of functions from Excel 2007 that may not be supported in Excel 2003.
Which format was it written first? normally it should work in both formats of excel. As you are referring to last cell of both formats, it seems to have a code level issue than a version lavel.

SSRS export to Excel - too many columns

I have a RDL report that runs on SSRS2000.
Today, I am trying to export the report to excel but the error message was:
Excel found unreadable content in 'filename.xls'. Do you want to recover the contents of this workbook? If you trust the source of this workbook, click Yes.
I have noticed there were quite a few columns so I have modified the report to have less column and it was opening up in Excel no problem.
Is there any way for users to export the data in excel and have no issues?
(All columns are necessary)
The older verisons of Excel (up to 2003) support a maximum of 256 columns and 65536 rows. This has nothing to do with Reporting Services, you can't change this. The only options I can think of:
Make sure the report will not exceed the limit of 256 columns (including the columns the renderer generates for example for whitespace between tablixes)
Export to XML or CSV and open/import it in Excel 2007, which can handle 16,384 columns.

drop down list compatibility issue between Excel 2007 and Excel 2010

I prepared a spreadsheet where I used the drop down list command in several cells (data validation, list). I needed to provide two versions of the same spreadsheet: one saved as Excel 2007 file, and the other one as Excel 2010 file.
If I open the Excel 2007 file with Excel 2010, in the cells where I inserted the drop down list, the reference to the cells that contain the list is somehow changed and the drop down list shows the wrong data.
For example, if I specify to use as the data in the list the values of cells C20:C25, when I open the file with Excel 2010 the cells are changed to D15:D20. I did not find a trend in the "shifting" of the referenced cells.
How do I prevent this without using Excel 2007 for the 2007 file only and Excel 2010 for the 2010 file only?
I have found a workaround that works for me.
If this is your original dropdown box formula:
=Sheet2!A1:A5
Then change it to:
=INDIRECT("Sheet2!A1:A5")
For me, this stops it removing the dropdown when opening in Excel 2007 after saving in Excel 2010. I found this out accidentally because I needed INDIRECT to define my dropdown range, as it varied.
Jeremy
I found the answer here: http://www.ozgrid.com/forum/showthread.php?t=150080
"If your dropdown is a data validation list and you have used a list on another sheet as the
source, then you need to do what Tayt said, since versions pre-2010 cannot refer directly to
a range on another sheet and the validation will simply disappear."
That solved my problem; hopefully it'll solve yours.
You are opening a 2007 file with 2010, saving it and closing it. Perhaps 2010 is automatically converting your file to the 2010 format.
Have you tried intentionally telling 2010 to save your file in the 2007 format?
I solved this by having both Excel 2007 and 2010 installed.In Excel 2010 I selected the cell that should have contained the dropdown-list and then pressed data validation from the data tab. I just copied the values in excell 2007 and saved.
If you find the sheet to be protected, you can use this solution : http://mcgimpsey.com/excel/removepwords.html
Hope it helps

Resources