Support Forums

CSV & Microsoft Excel

This is a discussion on CSV & Microsoft Excel within the Off Topic forums, part of the General category; Does anybody have microsoft excel?? I use openoffice for my spreadsheets. If you use excel could you be kind enough ...


Go Back   68 Classifieds Forums > General > Off Topic

Reply
 
Thread Tools Display Modes
Old 12-04-2007, 10:39 AM   #1
The Master
 
Maffo's Avatar
 
Join Date: Mar 2006
Location: British in Argentina
Posts: 1,342
Rep Power: 53
Maffo is just really nice Maffo is just really nice
Default CSV & Microsoft Excel

Does anybody have microsoft excel??

I use openoffice for my spreadsheets.

If you use excel could you be kind enough to tell me the default values when saving a file as csv.

EG Fields terminated with, lines terminated with.

Thank you
__________________
**Bulk Upload System** has been upgraded. Works on all v4 versions with new functionality. Free upgrade for existing customers.
Maffo is offline   Reply With Quote
Old 12-04-2007, 11:20 AM   #2
Developer & Moderator
 
Mike-N-Tosh's Avatar
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,424
Rep Power: 75
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Maffo,

I have and use excel, however I'm no expert. My experience has been that when you open a CSV (text only file) with Excel, that it uses whatever the original text file was saved as.

Although CSV means -> comma separated values, it can also be tabbed separated, ";", "|" etc...

If you open a CSV and then manipulate the data within it and then "export" the file, you can then specify the end of field. I believe that it uses an end of line for the row separation.

PM me if you'd like to send me a sample CSV of what you are doing and I'll see if I can help you out.

-Mike
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 12-04-2007, 11:28 AM   #3
curmudgeon
 
Join Date: Mar 2006
Posts: 5,416
Rep Power: 139
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

I just created a bogus worksheet and saved it as CSV. I wasnt really given any options, just asked if I really wanted to save it in that format because some functionality would be lost.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 12-04-2007, 12:00 PM   #4
Developer & Moderator
 
Mike-N-Tosh's Avatar
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,424
Rep Power: 75
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

• CSV (comma delimited)

The CSV (comma delimited) file format saves only the text and values as they are displayed in cells of the active worksheet. All rows and all characters in each cell are saved. Columns of data are separated by commas, and each row of data ends in a carriage return. If a cell contains a comma, the cell contents are enclosed in double quotation marks.
If cells display formulas instead of formula values, the formulas are converted as text. All formatting, graphics, objects, and other worksheet contents are lost.
Note If your workbook contains special font characters such as a copyright symbol (©), and you will be using the converted text file on a computer with a different operating system, save the workbook in the text file format appropriate for that system. For example, if you are using Windows and want to use the text file on a Macintosh computer, save the file in the CSV (Macintosh) format. If you are using a Macintosh computer and want to use the text file on a system running Windows or Windows NT, save the file in the CSV (Windows) for Windows.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 12-04-2007, 12:17 PM   #5
The Master
 
Maffo's Avatar
 
Join Date: Mar 2006
Location: British in Argentina
Posts: 1,342
Rep Power: 53
Maffo is just really nice Maffo is just really nice
Default

Thanks guys,

My question was if you have anyold spreadsheet and save it as csv in excel, what are the default delimters. When you open the csv with notepad, the fields will be seperated probably with a comma with any text inside "".

Is that right for excel? Thats what happens in open office
__________________
**Bulk Upload System** has been upgraded. Works on all v4 versions with new functionality. Free upgrade for existing customers.
Maffo is offline   Reply With Quote
Old 12-04-2007, 12:40 PM   #6
curmudgeon
 
Join Date: Mar 2006
Posts: 5,416
Rep Power: 139
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by Maffo View Post
My question was if you have anyold spreadsheet and save it as csv in excel, what are the default delimters.

comma is default delimiter with text in double quotes.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 12-04-2007, 12:56 PM   #7
The Master
 
Maffo's Avatar
 
Join Date: Mar 2006
Location: British in Argentina
Posts: 1,342
Rep Power: 53
Maffo is just really nice Maffo is just really nice
Default

Excellent. Thanks Larry, thanks Mack!
__________________
**Bulk Upload System** has been upgraded. Works on all v4 versions with new functionality. Free upgrade for existing customers.
Maffo is offline   Reply With Quote
Old 12-04-2007, 03:58 PM   #8
Developer & Moderator
 
Mike-N-Tosh's Avatar
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,424
Rep Power: 75
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

It might be different on a Windows version (I'm on a Mac). Excel doesn't put quotes around the field data. That drives me nuts!

-Mike
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 12-04-2007, 04:05 PM   #9
curmudgeon
 
Join Date: Mar 2006
Posts: 5,416
Rep Power: 139
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by Mike-N-Tosh View Post
It might be different on a Windows version (I'm on a Mac). Excel doesn't put quotes around the field data. That drives me nuts!

-Mike
Yes and no.

If the data cell contains a comma for example it will surround it with quotes. But if its just text it wont.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 12-04-2007, 04:27 PM   #10
Developer & Moderator
 
Mike-N-Tosh's Avatar
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,424
Rep Power: 75
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Just another example of Microsoft's consistent inconsistency.

Now, if I could just get Filemaker Pro to accept HTML in fields and output Unix line fields...
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out

Last edited by Mike-N-Tosh; 12-04-2007 at 04:33 PM.
Mike-N-Tosh is offline   Reply With Quote
Reply

Thread Tools
Display Modes



All times are GMT -4. The time now is 10:56 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0