Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default importing data into excel

i need to import data from a .asc file into excel. the problem is that i need
to import just over 80 000 lines & excel only allows the first 65 500 lines
to import. how do i get the remaining 15 000-odd lines onto the next
spreadsheet?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default importing data into excel

Possible alternative?

If you intend to ultimately cull/summarize the data, would you consider
importing the file into MS Access? Then you could us MS Query from Excel to
extract only the data you need.

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"paulp" wrote:

i need to import data from a .asc file into excel. the problem is that i need
to import just over 80 000 lines & excel only allows the first 65 500 lines
to import. how do i get the remaining 15 000-odd lines onto the next
spreadsheet?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default importing data into excel

If you use the Data Import Wizard to bring the file into Excel, there
is a setting for "Start Import at Row". If this is set to 1 then Excel
will import as many rows as it can starting with this (i.e. 65536 or
64k). However, you can change this value up to 32k, so if you import
with this setting then you will get rows from 32k to 80k into another
worksheet - there is obviously an overlap of records, but it is quite
easy to delete the first 32k records in the second sheet to give you
the remaining 16k records. Using this technique you can import files of
up to 96k records.

Note that my "k" refers to 1024.

Hope this helps.

Pete

paulp wrote:

i need to import data from a .asc file into excel. the problem is that i need
to import just over 80 000 lines & excel only allows the first 65 500 lines
to import. how do i get the remaining 15 000-odd lines onto the next
spreadsheet?


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default importing data into excel

i've tried this out & excel will only import up to the 65 500th line & not
import anything beyond that. for eg., i started the import at line 32 000,
hoping for every line to the 80 000th to be imported. however, only up to
line 65 500 was & i did open a new document (book) to import the second set
of data.

"Pete_UK" wrote:

If you use the Data Import Wizard to bring the file into Excel, there
is a setting for "Start Import at Row". If this is set to 1 then Excel
will import as many rows as it can starting with this (i.e. 65536 or
64k). However, you can change this value up to 32k, so if you import
with this setting then you will get rows from 32k to 80k into another
worksheet - there is obviously an overlap of records, but it is quite
easy to delete the first 32k records in the second sheet to give you
the remaining 16k records. Using this technique you can import files of
up to 96k records.

Note that my "k" refers to 1024.

Hope this helps.

Pete

paulp wrote:

i need to import data from a .asc file into excel. the problem is that i need
to import just over 80 000 lines & excel only allows the first 65 500 lines
to import. how do i get the remaining 15 000-odd lines onto the next
spreadsheet?



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default importing data into excel

I use XL2000 and I have done this many times with large files, so I
don't know why it doesn't work for you.

I remember seeing a macro on the Microsoft support site which could be
used to import very large files - it just chopped the data up into 64k
segments on different sheets in the same workbook, so you could do a
Google search for that.

You could also consider a move to XL2007, which has up to 1 million row
capability.

Hope these suggestions help.

Pete

paulp wrote:

i've tried this out & excel will only import up to the 65 500th line & not
import anything beyond that. for eg., i started the import at line 32 000,
hoping for every line to the 80 000th to be imported. however, only up to
line 65 500 was & i did open a new document (book) to import the second set
of data.

"Pete_UK" wrote:

If you use the Data Import Wizard to bring the file into Excel, there
is a setting for "Start Import at Row". If this is set to 1 then Excel
will import as many rows as it can starting with this (i.e. 65536 or
64k). However, you can change this value up to 32k, so if you import
with this setting then you will get rows from 32k to 80k into another
worksheet - there is obviously an overlap of records, but it is quite
easy to delete the first 32k records in the second sheet to give you
the remaining 16k records. Using this technique you can import files of
up to 96k records.

Note that my "k" refers to 1024.

Hope this helps.

Pete

paulp wrote:

i need to import data from a .asc file into excel. the problem is that i need
to import just over 80 000 lines & excel only allows the first 65 500 lines
to import. how do i get the remaining 15 000-odd lines onto the next
spreadsheet?






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default importing data into excel

paulp

Couple of choices other than the one given by Pete_UK

1. break the file into two files and import one to Sheet1 and other to Sheet2

2. use the macro found here.

http://support.microsoft.com/default...;en-us;Q120596


Gord Dibben MS Excel MVP

On Tue, 23 Jan 2007 09:31:02 -0800, paulp
wrote:

i need to import data from a .asc file into excel. the problem is that i need
to import just over 80 000 lines & excel only allows the first 65 500 lines
to import. how do i get the remaining 15 000-odd lines onto the next
spreadsheet?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing Text File Data into Excel where records span several row Razorback76 Excel Discussion (Misc queries) 2 June 25th 06 06:36 AM
Importing Microsoft query data into excel changes linked rows Wazzy_bear Links and Linking in Excel 1 December 19th 05 09:09 AM
Excel Macro to Copy & Paste [email protected] Excel Worksheet Functions 0 December 1st 05 01:56 PM
Importing data to Excel using MS Query John Excel Discussion (Misc queries) 1 November 17th 05 06:19 PM
importing data from Excel worksheet to another worksheet jbrick Excel Worksheet Functions 0 August 11th 05 05:51 PM


All times are GMT +1. The time now is 12:42 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"