The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help needed to combine files to excel sheet ahjiefreak Shell Programming and Scripting 5 03-30-2008 06:10 AM
How to combine 2 different files rdasari HP-UX 1 03-17-2008 05:19 PM
Need To Combine 2 Files goodmis Shell Programming and Scripting 4 02-21-2007 10:55 PM
Combine 2 files Nekki UNIX for Dummies Questions & Answers 2 12-01-2005 02:46 AM
How to combine 2 files ravi.sadani19 Shell Programming and Scripting 2 07-12-2005 05:04 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-10-2005
radhika radhika is offline
Registered User
  
 

Join Date: Apr 2005
Posts: 51
combine 3 excel files using shell.

Is there any way to combine 3 excel files into one comma separated file, after removing the header row from all the three files. Is this possible? I have looked in FAQ and I did not find anything.

Appreciate any suggestions or links to resources.
Radhika.
  #2 (permalink)  
Old 06-10-2005
radhika radhika is offline
Registered User
  
 

Join Date: Apr 2005
Posts: 51
I am getting concerned now, so has no body done this type of thing before. Aren't there any resources to do this type of thing. any pointers is greatly appreciated.
  #3 (permalink)  
Old 06-10-2005
DogDay's Avatar
DogDay DogDay is offline
Registered User
  
 

Join Date: Jun 2005
Location: /dev/null
Posts: 83
Excel spreadsheets are a proprietary file format. So you can't just concatenate them together. You should load excel, select/copy the cells you want into one of the other spread sheets.

However, if you exported to a comma seperated format (which has nothing to do with excel now) then you could just:

cat file1 file2 file3 > file4

which would make one big file (called file4) containing all the data from file1/2/3.
  #4 (permalink)  
Old 06-10-2005
radhika radhika is offline
Registered User
  
 

Join Date: Apr 2005
Posts: 51
Issue is:
I could do it manually by loading excel and deleting the header row and copying the cells into the other excel spreadsheet.

But, requirement is to automate the whole process of removing the header column in all three files, combine them into one file, store them as comma or tab delimited text file, so I could run my process which reformats the data.
  #5 (permalink)  
Old 06-10-2005
DogDay's Avatar
DogDay DogDay is offline
Registered User
  
 

Join Date: Jun 2005
Location: /dev/null
Posts: 83
Quote:
Originally Posted by radhika
Issue is:
I could do it manually by loading excel and deleting the header row and copying the cells into the other excel spreadsheet.

But, requirement is to automate the whole process of removing the header column in all three files, combine them into one file, store them as comma or tab delimited text file, so I could run my process which reformats the data.

Doesn't Excel have a builtin language just for this sort of thing? I belive its called VBA, http://www.excel-vba.com/

try that.
  #6 (permalink)  
Old 06-10-2005
radhika radhika is offline
Registered User
  
 

Join Date: Apr 2005
Posts: 51
I don't know. I have to research that route also.
  #7 (permalink)  
Old 05-06-2009
Santosh Dash Santosh Dash is offline
Registered User
  
 

Join Date: May 2009
Location: Bangalore
Posts: 1
Combination of 4 execl files into Single

In UNIX how can I combine 4 excel files into a single workbook and each work sheet should go to a seperate sheet or tab with sheet name
Closed Thread

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:33 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0