Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. 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 December 14, 2024)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021


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, Excel in Microsoft 365, and 2021. 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

Table Borders Won't Print

Print a table and you may be surprised if it has no borders. That could be because you actually have the borders turned ...

Discover More

Making the 'Welcome Back' Message Consistent and Permanent

When you open a document on which you previously worked, Word displays a "Welcome back" message that can help return you ...

Discover More

Enabling Macros for an E-mailed Workbook

When you send a macro-enabled workbook to someone, that person may have problems opening and using it. This tip looks at ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (ribbon)

Different CSV Formats

Excel provides different CSV formats you can use to export your workbook data for use with other programs. What are those ...

Discover More

Pulling Filenames into a Worksheet

You can use Excel for all types of data processing. You may want to work with filenames in a worksheet, but the first ...

Discover More

Determining the Length of a Text File

When processing plain text files in a macro, it is often helpful to know how much data the file contains. The normal way ...

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 2 + 2?

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.