Convert Excel 2007 Spreadsheets to CSV Files

Written by:  • Edited by: Tricia Goss
Updated May 10, 2010
• Related Guides: Csv File | CSV | Excel

If you have data in an Excel spreadsheet that you want to use in another application, you may need to convert that information to a text file before the other program can read it. In this tutorial, we’ll show how to export a spreadsheet to a CSV file, making it easier for other applications to read.

Excel Spreadsheets and CSV Files

In another Excel tutorial here at Bright Hub, Bill Fulks explained how to import CSV files into Microsoft Excel. Sometimes though, you’ll need to go about that process the other way around. That is, you may have an existing Excel 2007 spreadsheet containing data that you want to use in another application that doesn’t support Excel’s file format. Since almost every program out there does support CSV files in some form or another, one way to convert the file is to export the Excel data to a CSV file and then import the resulting file into the other application.

The process for performing this type of export is actually pretty simple. The trouble that most people have when attempting this procedure is that they are looking for some “Export” command in all the tabs of the Excel ribbon, but there’s not one to be found. Instead, you have to use the Save As command as we’ll describe in the steps below.

How to Export an Excel Spreadsheet to a CSV File

Step 1: Click on the Office button in the upper left-hand corner of Excel. Select Save As and then choose Other Formats.

Save As Other Format
click to enlarge

Step 2: In the Save As window that will appear on your screen, choose CSV (Comma delimited) (*.csv) from the Save as type drop down field. Pick any name for your file and then click the Save button. Note: It’s okay to use the same name for both the CSV and the XSLX file – you’ll still be able to distinguish between the two by looking at the file extension.

Select CSV File as the Save As Type
click to enlarge

It’s also important to note that you can only export one spreadsheet to a CSV file at a time. If your Excel workbook contains multiple spreadsheets that you would like to export, you’ll have to handle each one individually.

Step 3: Open the newly created CSV file in a text editor such as Notepad or Crimson Editor. Here, you can check to make sure that everything in the new file is appearing as you had planned. It’s possible that you may have to make some manual corrections here, depending on the format of your original Excel file.

View CSV File in Text Editor
click to enlarge
The screenshot above shows how the new file would appear in Crimson Editor.

Once you've checked the file and made any necessary changes, you're all set to import the file into the other application of your choice.

Be sure to check out the other Microsoft Excel tutorials and user guides available here on Bright Hub’s Windows Channel where you can learn new techniques for creating charts and graphs, how to modify macro settings, and more.

In addition, if you’re thinking about moving on to a more complete database utility, you may want to take a look at our Microsoft Access tutorials. New items are being added all the time, so bookmark us and check back often.


Comments

Showing all 8 comments
 
Me Jan 17, 2012 3:25 PM
RE: Convert Excel 2007 Spreadsheets to CSV Files
With Open Office... it's free!
Marly Jan 17, 2012 3:24 PM
RE: Convert Excel 2007 Spreadsheets to CSV Files
Open office does this as it should and gives you full upportunity to tweak all the delimiters and quotes as you like. Open Office FTW!
Rick Reinckens Feb 12, 2011 4:50 AM
THIS DOESN'T HELP.
The "example" is USELESS. A basic requirement of CSV is that ALL text fields have double-quote delimiters. Without those it is NOT CSV. I'm trying to output CSV from ACCESS. I had to export from Access to Excel. Now I see that EXCEL *also* doesn't work correctly. It looks like I'll have to output to Excel 2003, then import that into some OTHER program and use THAT!
Who knows -- maybe Open Office can read the Access or Excel file and export it correctly ...
Jaco Oct 26, 2010 9:11 AM
CSV =; not,
Check your regional settings, "List seperator" should be , not ;
Marie-Noelle Paquin Sep 9, 2010 2:12 PM
CSV =; not ,
When I save in CSV with Excel 2007 I get a ";" instead of a "," separated document. How come? CSV format is not comma delimited value?
fakhri Jul 9, 2010 8:55 PM
thank You verry much...
Thanks ^^
Andy Macdonald Sep 4, 2009 7:17 AM
Quote marks in CSV exports from Excel
Yes, I was faced with the same problem. It seems this is another thing 'broken' in Office 2007. My workround was to:
1) put one quote mark in a cell and 'name' it (e.g. quote);
2) =concatenate(quote,data-cell,quote) for all data cells
3) copy and paste special values only to a new sheet
4) save sheet as comma-delimited CSV
4) edit with Notepad to replace triple quotes with single quotes!
Neil Haughton Jul 3, 2009 6:22 AM
CSV options in Excel 2007?
That's fine for the simple stuff - but how do you define the csv export options? eg, if I need to have fields enclosed in quote marks how do I do that?
 
blog comments powered by Disqus
Email to a friend