- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Ascii File to Excel Data Import
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 05:26 AM
тАО05-09-2006 05:26 AM
I have a file which is of the form (Where all the alphabets denote decimal numbers)
A,B,C,D
E,F,F,F
.
.
.
A,D,D,F
Is there a way to import this files contents to a Excel file such that each comma separated number occupies a cell in a row and each line in the file takes a new row in the excel file?
Thanks a lot for your help on this.
Regards,
Anurag
Solved! Go to Solution.
- Tags:
- csv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 05:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 05:47 AM
тАО05-09-2006 05:47 AM
Re: Ascii File to Excel Data Import
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 05:51 AM
тАО05-09-2006 05:51 AM
Re: Ascii File to Excel Data Import
Both the approach are pretty good.
Thanks again
Anurag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 05:52 AM
тАО05-09-2006 05:52 AM
Re: Ascii File to Excel Data Import
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 05:54 AM
тАО05-09-2006 05:54 AM
Re: Ascii File to Excel Data Import
The worse is the fact that we have to conclude that M$ has never been able to make a reliable CSV import. They just fuck up all the time.
An example
make a file like:
1,"a",12-11-2004,11/12/2004,12112004,20041112,2004-11-12,"20041112","12112004"
Then take the three approaches of loading that file in Excel:
1. name it test.csv and double click
2. name it test.csv and use Alt-F Open
3. name it test.csv and import from data
Note the differences? Yes, all different
Now save it as CSV. Note that the C in CSV stands for Comma. Now look at the saved file.
Still like M$ software? I don't. They've used SEMI-colons as field seperators.
The only reliable solution is to do it yourself, using perl and Text::CSV_XS and SpreadSheet::WriteExcel
I wrote the script 'csv2xls', which I now attached. Use and modify it to your liking.
Enjoy, Have FUN! H.Merijn [ not enjoying CSV in Excel ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 05:56 AM
тАО05-09-2006 05:56 AM
Re: Ascii File to Excel Data Import
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 06:52 AM
тАО05-09-2006 06:52 AM
Re: Ascii File to Excel Data Import
I am sorry for closing the thread so fast :-)
However, i would definitely like to try out your script.
However, when i download the script, i get lots of junk characters inside the file.
I was wondering if it's possible for you to send the script file as a text attachment to me at achourasia@manh.com
Waiting eagerly for ur mail.
Thanks a lot for taking out time for me.
Anurag