LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-21-2007, 04:59 AM   #1
SML
Member
 
Registered: Dec 2002
Location: US
Distribution: Intel Clear Linux
Posts: 381

Rep: Reputation: 30
What software for sorting/grouping data from Excel


I need to re-organise some data from Excel .. just some fairly basic re-grouping and re-summarising the data in a slightly different format. Are there any linux apps that could help me?
 
Old 05-21-2007, 06:26 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Sure. If you want to stay in a spread sheet, the calc program in OpenOffice.org. If you want to use a data base management system, say, MySQL, save the spread sheet as a CSV, define a schema and load the stuff. If you just want to fiddle with text, save as a CSV, write a little two-line or so AWK program and there you go.

The possibilities...
 
Old 05-21-2007, 06:41 AM   #3
SML
Member
 
Registered: Dec 2002
Location: US
Distribution: Intel Clear Linux
Posts: 381

Original Poster
Rep: Reputation: 30
More specifcally, I would like the final result to summarise the data into just one row per RFI number and look something like this .....
RFI-000008 Re: Dimension Check - Turner 2/5/07 - Davidson 3/5/07 - Marina 3/5/07 - Aru 4/5/07 - Aru 8/5/07
RFI-000007 etc etc

This is the core data ...

RFI*SUBJECT*Date*ORG
RFI-000008*Re-Dimension Check*2/5/2007*Turner
RFI-000008*Re-Dimension Check*3/5/2007*Davidson
RFI-000008*Re-Dimension Check*3/5/2007*Marine
RFI-000008*Re-Dimension Check*8/5/2007*Aru
RFI-000008*Re-Dimension Check*4/5/2007*Aru
RFI-000007*Re-Beam Size Confirm*4/5/2007*Sampter
RFI-000007*Re-Beam Size Confirm*4/5/2007*Marine
RFI-000007*Re-Beam Size Confirm*5/5/2007*Aru
RFI-000007*Re-Beam Size Confirm*7/5/2007*Davidson

Last edited by SML; 05-21-2007 at 07:49 AM.
 
Old 05-21-2007, 07:43 AM   #4
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
That's the kind of thing I'd do with AWK, maybe a C program, maybe MySQL depending on the amount of data and for how long I had to summarize the same stuff over time. I'd probably start with AWK (because it's easy) then move on to MySQL if I had a large volume of data to contend with. It's a pretty straight forward proposition; couple of if-else's and away you go.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Save data in excel spreadsheet? Shioni Programming 3 07-29-2006 08:15 PM
export data to excel or oenoffice.org using Qt pragnya Linux - General 1 01-20-2006 04:55 AM
Sorting data. unreal128 Linux - Software 1 09-20-2005 06:31 PM
Sorting data in output file lluciano Linux - General 2 08-19-2005 10:37 AM
how to import MS-Excel sheet data using PHP dileepkk Programming 1 07-28-2004 02:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration