Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / March 2006

Tip: Looking for answers? Try searching our database.

csv summaries in excel

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
hilz - 23 Mar 2006 22:53 GMT
Hi all.
I have this situation and I hope someone would be able to give me some
advise about how to tackle it.

I have a program that produces reports in CSV format.
Users view the CSV files using Excel.
the data in the csv files is not exactly what the users like to see.
They want to see it in a different way such that rows are consolidated
(and sometimes summed up) into less number of rows according to some
complex rules.

I am not sure how to tackle this problem. What are my options.
I have Microsoft Visual Studio 2003  in addition to MS VS Tools for
Office 2003.

Any ideas are greatly appreciated.
I need to know the general picture for now. What do i need to develop?
An excel sheet that opens the CSV file and view it internally?
or an external program that opens the csv file and writes it out as an
excel sheet? or some other method ?

thanks
Randy  Harmelink - 23 Mar 2006 23:14 GMT
How about creating a pivot table for them, using the CSV file as an
external data source?  Or, let them drag and drop the fields into the
pivot table layout, any way they want?
hilz - 23 Mar 2006 23:37 GMT
Randy Harmelink wrote:
> How about creating a pivot table for them, using the CSV file as an
> external data source?  Or, let them drag and drop the fields into the
> pivot table layout, any way they want?

I am afraid the structure of the csv file (specifically the headers)
does not allow the use of pivot tables. I am attaching a sample here for
your reference. I renamed it to .txt file just in case csv extensions
are not allowed.

In addition to the way the headers are structured, the rules for
combining rows is very complex and depends on many factors that need to
be handled by some sort of program.

any help is greatly appreciated.
Randy  Harmelink - 24 Mar 2006 05:37 GMT
I guess my question would be why the reports are created and viewed in
CSV format if they are not useful that way?  That is, why even use
EXCEL or CSV files at all?
hilz - 24 Mar 2006 07:57 GMT
Randy Harmelink wrote:
> I guess my question would be why the reports are created and viewed in
> CSV format if they are not useful that way?  That is, why even use
> EXCEL or CSV files at all?

Well, they are useful to the users because they take the end result (the
excel file) and use it in some other software.

So any suggestions?

thanks.
Randy  Harmelink - 24 Mar 2006 08:34 GMT
The devil is in the details, but in general I would think you have two
primary directions to look at:

1. Converting the CSV file into a format the users want to see,
possibly even abandoning EXCEL from their usage of the output.
2. Converting the CSV file into a format that EXCEL can manipulate into
various ways that the users want to see the data.

Which direction you go would primarily depend on how much interaction
the users need to have with the converted data -- how many ways they
want to "slice and dice" it.

As long as combining rows of data is complex, I don't see much of a
choice other than to "massage" it for them ahead of time.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.