Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 94
Default How to set up a pivot table from a csv file

I have a 200K records csv file, I need to set up a pivot table to analyse the
data. How should I start?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default How to set up a pivot table from a csv file

Hi Holly

What version of Excel do you have?
If it is XL2007, you can import the whole 200,000 records to a single
sheet.
If you have an earlier version, then you would need to chop the file
into chunks of < 65535 records, to allow for a header row for each
sheet.

Chip Pearson has some code to do this on his site at
http://www.cpearson.com/excel/ImportBigFiles.htm

Be aware, however, that subsequently creating a Pivot Table from
Multiple Consolidation ranges, which is what you would have to do from
your 4 sheets, may produce slightly different results to those expected.

Take a look at Debra Dalgleish's site
http://www.contextures.com/xlPivot08.html

--
Regards

Roger Govier


"Holly" wrote in message
...
I have a 200K records csv file, I need to set up a pivot table to
analyse the
data. How should I start?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default How to set up a pivot table from a csv file

Hi Holly

Since posting, I have just noticed in another thread in this NG, some
VBA code set up in an Excel file for carrying out this task that has
been created by J Latham.

The file can be downloaded at

http://www.jlathamsite.com/uploads/I...RowsOfData.xls

--
Regards

Roger Govier


"Roger Govier" wrote in message
...
Hi Holly

What version of Excel do you have?
If it is XL2007, you can import the whole 200,000 records to a single
sheet.
If you have an earlier version, then you would need to chop the file
into chunks of < 65535 records, to allow for a header row for each
sheet.

Chip Pearson has some code to do this on his site at
http://www.cpearson.com/excel/ImportBigFiles.htm

Be aware, however, that subsequently creating a Pivot Table from
Multiple Consolidation ranges, which is what you would have to do from
your 4 sheets, may produce slightly different results to those
expected.

Take a look at Debra Dalgleish's site
http://www.contextures.com/xlPivot08.html

--
Regards

Roger Govier


"Holly" wrote in message
...
I have a 200K records csv file, I need to set up a pivot table to
analyse the
data. How should I start?





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default How to set up a pivot table from a csv file

You could connect to the csv file, but the steps are different in Excel
2007 and earlier versions of Excel.

In Excel 2003, you could open a new workbook and choose DataPivotTable
and PivotChart report
Select External Data source, and click Next
Click Get Data
Select <New Data Source and click OK
Type a name for the data source, and select Microsoft text driver
Click Connect, select the directory, click OK
Select your table, click OK, click OK
In the Query Wizard, select your fields, and click Next 3 times, to get
to the end of the Wizard, click Finish
Click Next, click Layout, and set up the pivot table
Click OK, click Finish.

Holly wrote:
I have a 200K records csv file, I need to set up a pivot table to analyse the
data. How should I start?



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

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
Pivot table based on a .cub file? dblat Excel Discussion (Misc queries) 0 June 30th 06 04:06 PM
how do i extract data from pivot table to txt file stef Excel Discussion (Misc queries) 1 May 24th 06 06:29 PM
reduce size of pivot table file zapadias Excel Discussion (Misc queries) 0 May 19th 06 09:57 AM
pivot table cause file size to grow Grd Excel Discussion (Misc queries) 0 November 10th 05 06:10 PM
Pivot table - size of file? carolyn Excel Discussion (Misc queries) 1 June 17th 05 05:58 PM


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

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

About Us

"It's about Microsoft Excel"