You might have heard of a CSV file but what does it mean?

In this article, we are going to learn what a CSV file is, and how to open and export them using Microsoft Excel and Google Sheets.

What is a CSV file?

CSV stands for Comma Separated Values. This is a file that contains data separated by commas and is usually used in spreadsheets and databases.

This is an example of a CSV file. We have two categories of Full Name and Major and the data is separated by commas.

Full Name,Major
Dave Wilson,Computer Science Major
Kelly Clarks,Music Major
James Anderson,Business Major

Sometimes the separation of the data doesn't have to be a comma. It could be a space or semicolon.

This separator is called a delimiter but the most commonly used is a comma.

CSV files are very useful because you can share information between different programs as long as they can open up the file.

For example, I can create a CSV file in Microsoft Excel and import that data into my contacts.

Screen-Shot-2021-09-17-at-7.17.54-AM
Screen-Shot-2021-09-17-at-7.19.34-AM

How to Create and Export a CSV file in Microsoft Excel

Microsoft Excel is a powerful tool that allows you to organize your data in the form of spreadsheets. The most common use cases for Excel would be to create budgets, sort and store data, and create charts or graphs.

Here are the steps for creating and exporting a CSV file in Excel.

  1. Click to open Microsoft Excel and go to File > New
Screen-Shot-2021-09-17-at-7.49.16-AM

2.  Add data inside the spreadsheet

Screen-Shot-2021-09-17-at-7.52.46-AM

3.  Go to File > Save

Screen-Shot-2021-09-17-at-7.53.58-AM

4.  For the file format, choose .csv and click Save

Screen-Shot-2021-09-17-at-7.55.00-AM

How to Open a CSV File in Microsoft Excel

  1. Open Excel and go to File > Open...
Screen-Shot-2021-09-17-at-7.30.33-AM

2.  Find the CVS file and click on Open

Screen-Shot-2021-09-17-at-7.32.30-AM

You should then see your data opened in a spreadsheet:

Screen-Shot-2021-09-17-at-7.33.30-AM

How to Create and Export a CSV file in Google Sheets

If you have a Google account, you can create and export CSV files using Google Sheets.

  1. Sign into your Google account
Screen-Shot-2021-09-17-at-7.57.54-AM

2.  Under Google Apps, scroll down and click on Sheets

Screen-Shot-2021-09-17-at-8.00.22-AM

3.   To create a new Google Sheet, click on Blank

Screen-Shot-2021-09-17-at-8.01.16-AM

4.  Add data and name your spreadsheet

Screen-Shot-2021-09-17-at-8.04.23-AM

5.  Click File > Download and choose the Comma Separated Values option

Screen-Shot-2021-09-17-at-8.08.31-AM

The file should then download to your machine where you can open it in any program that opens CSV files.

How to Open a CSV File in Google Sheets

  1. Open up a Blank Google Spreadsheet
Screen-Shot-2021-09-17-at-8.12.16-AM

2.  Click on File > Import

Screen-Shot-2021-09-17-at-8.12.53-AM

You have four options to choose from.

  • Import file from Google Drive
  • Import files shared with you
  • Import recent Files
  • Import Files from your computer
Screen-Shot-2021-09-17-at-8.14.51-AM

3.  To import a file from your computer, click on Upload

Screen-Shot-2021-09-17-at-8.15.38-AM

4.  Select a file from your computer. You should then see a pop up window like this:

Screen-Shot-2021-09-17-at-8.17.20-AM

You can choose to leave the default option or change your separator type.

Screen-Shot-2021-09-17-at-8.17.58-AM

You can also choose to leave the default option or change the import location.

Screen-Shot-2021-09-17-at-8.19.19-AM

Once you are done, click on the Import data button.

Screen-Shot-2021-09-17-at-8.20.00-AM

You should now see the imported information appear in your Google Spreadsheet.

Screen-Shot-2021-09-17-at-8.20.46-AM

That is how to create, open, and export CSV files in Microsoft Excel and Google Sheets.