ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   I NEED TO IMPORT MORE THAN THE 65,536 LINES EXCEL ALLOWS (https://www.excelbanter.com/excel-worksheet-functions/68801-i-need-import-more-than-65-536-lines-excel-allows.html)

PAULP

I NEED TO IMPORT MORE THAN THE 65,536 LINES EXCEL ALLOWS
 
I'M TRYING TO IMPORT DATA FROM A .ASC FILE. IT CONTAINS 77,267 LINES. I DID A
FIRST IMPORT THAT ALLOWED ME TO IMPORT UP TO LINE 65,536. NOW, WHEN I TRY
IMPORTING THE REST (FROM 65,537 TO 77,267) & I NIPUT THE LINE NUMBER, IN THE
WIZARD, TO START AT ROW 65,537, IT TELLS ME THAT THE INTEGER IS INVALID. I AM
TRYING TO DO THIS ON A SECOND BLANK WORKSHEET,
AS INSTRUCTED.
I'VE EVEN TRIED TO START THE SECOND IMPORT AT LINE 50,000, FIGURING IT'LL
IMPORT TO LINE 77,267, BUT INSTEAD STILL ONLY GOES UP TO LINE 65,536 AS IN
THE ORIGINAL IMPORT. HOW DO I GET THE LAST 11,000-ODD LINES INTO EXCEL?

Dave Peterson

I NEED TO IMPORT MORE THAN THE 65,536 LINES EXCEL ALLOWS
 
Microsoft has a macro solution that may help:

http://support.microsoft.com/default...;EN-US;q120596
XL: Importing Text Files Larger Than 16384 Rows
(written for xl95, but has a note to change stuff for xl97+)

I'd just use my favorite text editor and split the data into smaller pieces--and
then import each piece to a new worksheet.

PAULP wrote:

I'M TRYING TO IMPORT DATA FROM A .ASC FILE. IT CONTAINS 77,267 LINES. I DID A
FIRST IMPORT THAT ALLOWED ME TO IMPORT UP TO LINE 65,536. NOW, WHEN I TRY
IMPORTING THE REST (FROM 65,537 TO 77,267) & I NIPUT THE LINE NUMBER, IN THE
WIZARD, TO START AT ROW 65,537, IT TELLS ME THAT THE INTEGER IS INVALID. I AM
TRYING TO DO THIS ON A SECOND BLANK WORKSHEET,
AS INSTRUCTED.
I'VE EVEN TRIED TO START THE SECOND IMPORT AT LINE 50,000, FIGURING IT'LL
IMPORT TO LINE 77,267, BUT INSTEAD STILL ONLY GOES UP TO LINE 65,536 AS IN
THE ORIGINAL IMPORT. HOW DO I GET THE LAST 11,000-ODD LINES INTO EXCEL?


--

Dave Peterson

Mich modulus 11

I NEED TO IMPORT MORE THAN THE 65,536 LINES EXCEL ALLOWS
 


"PAULP" wrote:

I'M TRYING TO IMPORT DATA FROM A .ASC FILE. IT CONTAINS 77,267 LINES. I DID A
FIRST IMPORT THAT ALLOWED ME TO IMPORT UP TO LINE 65,536. NOW, WHEN I TRY
IMPORTING THE REST (FROM 65,537 TO 77,267) & I NIPUT THE LINE NUMBER, IN THE
WIZARD, TO START AT ROW 65,537, IT TELLS ME THAT THE INTEGER IS INVALID. I AM
TRYING TO DO THIS ON A SECOND BLANK WORKSHEET,
AS INSTRUCTED.
I'VE EVEN TRIED TO START THE SECOND IMPORT AT LINE 50,000, FIGURING IT'LL
IMPORT TO LINE 77,267, BUT INSTEAD STILL ONLY GOES UP TO LINE 65,536 AS IN
THE ORIGINAL IMPORT. HOW DO I GET THE LAST 11,000-ODD LINES INTO EXCEL?


A tricky one, I've not been able to do this myself. iIstead, i reduced the
amount of lines from the source to make sure it came in under the max limit
in XL. Even then, it was hugely unwieldy. Can you import it into say access
first and do something to it so that you don't need all those rows? Otherwise
you might have to start your rows at the first row in the second spreadsheet.

Pete

I NEED TO IMPORT MORE THAN THE 65,536 LINES EXCEL ALLOWS
 
Basically, there is a limit of 32k for the number of lines that you can
skip over for the second import - this means that your second sheet
will contain rows from 32k up to 77,267, so you will have to remove the
duplicates from either the first or the second sheet after you have
imported the file.

As I have Quattro Pro 9, with 1 million row capability, I generally use
this for very large files, then copy and paste sections of less than
64k into separate Excel sheets - I understand that the next version of
Excel will have the same larger capacity.

Hope this helps.

Pete



All times are GMT +1. The time now is 09:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com