Google Answers Logo
View Question
 
Q: CSV files: sorting, merge/purge ( No Answer,   1 Comment )
Question  
Subject: CSV files: sorting, merge/purge
Category: Computers
Asked by: reach-ga
List Price: $50.00
Posted: 26 Jan 2004 21:06 PST
Expires: 25 Feb 2004 21:06 PST
Question ID: 300589
I just got multiple .csv files so I can email the list for a survey,
but before doing so, I have some questions:

- I have to sort the list by geography, but I got a text file instead
of an Excel file.  Can I convert it to an Excel file to sort, or is
there a way to sort the text file?

- What is the easiest way to merge/purge mutliple lists reliably?

I'm comfortable with computers, but need detailed instructions
whenever I do something for the first time.  Thus, I need a
step-by-step answer and possible follow-up to make sure I got it
right.  Thanks!

Request for Question Clarification by aht-ga on 26 Jan 2004 21:23 PST
reach-ga:

CSV files are text files containing comma-separated values (hence, the
initials CSV). Excel can import these files using its Text Import
Wizard.

If this matches your situation and needs, please let me know and I can
help walk you through the process.

Regards,

aht-ga
Google Answers Researcher

Request for Question Clarification by maniac-ga on 27 Jan 2004 05:03 PST
Hello Reach,

Two additional points to consider:
 - will you be doing this once or many times? In the latter case,
building a macro that handles the steps would be better than a
walkthrough.
 - what do you mean by "merge/purge"? For example, do you have
duplicate lines to be removed or duplicate field values? To
illustrate:
  duplicate lines:
  XX YY ZZ
  XX YY ZZ
and you only want one of them.
  XX AA BB
  XX DD EE
and only XX is duplicated. Suppressing duplicates in the latter case
is a little more complex.

If you can paste an example of your data (say 2-3 files, 5-10 lines
each) that would be helpful as well. Be sure to show the result you
expect from the merge / purge.

  --Maniac

Request for Question Clarification by maniac-ga on 29 Jan 2004 16:55 PST
Hello Reach,

Are you still interested in an answer to this question? The answer can
be quite straight forward if you provide a little additional
information.

  --Maniac
Answer  
There is no answer at this time.

Comments  
Subject: Re: CSV files: sorting, merge/purge
From: krooglik-ga on 05 Feb 2004 13:34 PST
 
One way to merge and sort CSV data would be to read the individual CSV
files into Access then use a query to merge them together into a final
table. Having done this, the final table can be exported in various
formats.

What are the fields in your CSV file? Are they fixed-width or
variable-width? You will need to give a little more info to get this
one sorted out.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy