Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Creating a CSV File.

Creating a CSV File

Written by Allen Wyatt (last updated September 1, 2022)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365


CSV is one of those over-abundant computer acronyms. It means "comma-separated values." It refers to a type of file that is often used for transferring simple data from one program to another. In the file, each value is separated by a comma. The importing program knows that when it sees a comma, it can toss it out but it needs to get ready to accept a new value.

If you have information in Excel that you want to get into a different data-oriented program, chances are good that the other program will accept CSV files. In order to save your workbook data in CSV format, follow these steps:

  1. Display the Save As dialog box. (In Excel 2007 click the Office button and then click Save As. In Excel 2010 or a later version display the File tab of the ribbon and then click Save As.)
  2. Click on Browse.
  3. In the Save As Type drop-down list at the bottom of the dialog box, choose the CSV (Comma delimited) option.
  4. Use the other controls in the dialog box to specify a file name and location.
  5. Click on Save.
  6. Excel may display a dialog box telling you that not all Excel features can be maintained in the format you have chosen. Click on Yes to continue saving the information in CSV format.

At this point your worksheet is saved in CSV format. I generally find it a good idea to close the workbook, without saving. At this point you will have your original Excel workbook (in Excel format) and the CSV file, which contains the information you wanted in CSV format.

You may have noticed, in step 3, that Excel actually provides three or four (depending on which version of Excel you are using) different CSV formats you can use when saving. The technical differences between each of the formats are explained in a different tip.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8936) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Creating a CSV File.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Creating Unnumbered Endnotes

Endnotes are indispensable in some types of writing. You may want to create endnotes, however, that don't follow the ...

Discover More

Page Layout Zoom Settings

The zoom setting at which you view a document can sometimes be saved with a document. This tip explains how the zoom ...

Discover More

Renaming a Style

Styles are invaluable when it comes to applying consistent formatting in and across documents. If you need to rename a ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

Handling Leading Zeros in CSV Files

When dealing with files containing comma-separated values, you want to make sure that what gets imported into Excel ...

Discover More

Determining If a File Exists

Before you have your macro open and read a file from disk, you'll want to check to make sure it is really there. Here's ...

Discover More

Getting Input from a Text File

You can use a macro to read information from a text file. The steps are easy, and then you can use that information in ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is four minus 0?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.