How to Export a Clean CSV from Google Sheets or Excel

You have cleaned your data in a spreadsheet and now you need to save it as a CSV file so you can upload it to GitHub. This takes less than a minute.

Google Sheets

  1. Make sure you are on the sheet that contains your clean data.
  2. Click File in the top menu.
  3. Hover over Download.
  4. Click Comma Separated Values (.csv).
  5. The file downloads automatically. Rename it to retail_data_clean.csv and move it into your project folder.
Note: Google Sheets downloads only the currently visible sheet as a CSV. If your data is on Sheet1 make sure Sheet1 is the active tab before downloading.

Microsoft Excel

  1. Make sure your clean data is on the active sheet.
  2. Click File in the top left.
  3. Click Save As.
  4. Choose a location to save - your project folder is ideal.
  5. In the Save as type dropdown, select CSV (Comma delimited) (*.csv).
  6. Name the file retail_data_clean and click Save.
  7. Excel will warn you that CSV format does not support multiple sheets or formatting. Click Keep Current Format - this is fine.

Check Your File

Open the CSV in a text editor (like Notepad) or in Excel. Row 1 should be your column headers and the rows below should be your clean data. Check that the issues you fixed are no longer there.

Next Step

You now have your clean CSV ready. Head back to your Bampaa project and continue with saving your spreadsheet file.

Try it yourself

Start with Level 1: SUM, in your browser.

The first 5 levels are free · no sign-up needed