When downloading a template for a given emission category and calculation method, you have the option to download it in Excel (.xlsx) or CSV (.csv) format.
For most instances, we recommend downloading the Excel format since it is much simpler to open and use. If you realise that you have a significantly large file once you have entered your data (i.e. thousands of rows of data), it may make more sense to export the file to the CSV format (which is typically more condensed) to ensure a faster upload. This means that even if you intend to upload in the CSV format, you can initially download the template as an Excel and export it to CSV when you are ready to upload.
However, the option remains to download templates in the CSV format. If you choose to go with the latter option, there are a few best practices and troubleshooting steps you should be aware of.
Overview: The CSV file format
What does 'CSV', or 'Comma Separated Values', mean?
A CSV file is a plain text file in which data is separated by specified delimiters so that it can be displayed in a tabular format. CSVs can be opened with almost all spreadsheet programs, such as Google Sheets, Microsoft Excel, or Numbers, as well as programs that work with plain text, such as Notepad or TextEdit.
Why might I use a CSV over a standard Excel, Google Sheets, or Numbers file format?
When uploading your business data to the Plan A Sustainability Platform, the main benefit of using a CSV file is that this file type consumes much less memory. This allows them to open and save much quicker than Excel files and take up less space on your drive. This makes them an excellent option for large data sets.
What is a delimiter? And does it have to be a comma?
In CSV files, data is organised in a plain text format, which is readable by spreadsheet software. New rows are defined by new lines of text (i.e. hitting the 'enter' key), whereas new columns within a row are defined by a delimiter.
A delimiter is a separator used to distinguish between columns. They are essentially a 'signpost' to the spreadsheet software to begin a new column. Despite 'Comma' being in the name, it is not the only possible delimiter. Most commonly, delimiters are either commas (,) or semicolons (;).
For instance, in the plain text version of the file (opened with TextEdit), you can see the file headings separated by commas:
When the same CSV file is opened in Microsoft Excel, you can see that columns appear where commas are in the plain text version:
How location and region settings impact CSV files
Whether your application (e.g. Microsoft Excel, Google Sheets, or Numbers) opens and saves CSVs with the delimiter set to comma or semicolon depends on the location & region settings of your device.
To check if your CSV file is comma-delimited instead of semicolon-delimited, you can open your file with a simple text editor like Notepad or TextEdit. Alternatively, we have compiled this list of region settings and their default delimiters:
Region setting | Default delimiter |
Germany | Semicolon (;) |
United Kingdom | Comma (,) |
United States | Semicolon (;) |
When opening a CSV file that you have not exported to CSV (e.g., a file sent by a colleague or downloaded from the internet), it is good to check the delimiter and whether it matches your settings. A mismatch here can prevent your spreadsheet software (e.g., Microsoft Excel) from opening your file correctly.
Using CSV files
Why has my file opened with everything in one column?
In the case that your file's delimiter does not match the default delimiter settings of your spreadsheet software, your software will not find the delimiter it is looking for to be able to distinguish between columns, causing all of your data to load within one column.
For instance, if your spreadsheet software settings are configured to look for semicolon delimiters, but your file is comma delimited, a new column will only be recognised in a row of data where there is a semicolon. In this case, all the data will load within one column:
Avoiding this problem requires you to follow best practices for correctly opening and saving CSV files.
Correctly opening a CSV file
Because it is essential to make sure your file's and settings' delimiters match, it is best practice to 'import' CSV files to your spreadsheet software rather than right-clicking the file, clicking 'Open with...' and selecting your software as you might when opening an Excel file. Using the import wizard lets you ensure your file's and software's delimiters are aligned.
Correctly opening a CSV file in Microsoft Excel
Correctly opening a CSV file in Microsoft Excel
Open Microsoft Excel > and create a ‘Blank Workbook’
Navigate to ‘File’ > ‘Import’
Select “CSV file” > click ‘Import’
Select the CSV file you wish to open
Select ‘Delimited’ > click ‘Next’
In the ‘Text Import Wizard Screen’, firstly select ‘Delimited’ and click ‘next’.
Select the correct delimiter.
If the wrong delimiter is pre-selected, the data will show in rows where the columns are represented by the correct delimiter - in this case, commas:
This indicates that comma is the required delimiter. Once 'comma' is selected, the preview will show the table displayed correctly:
Click ‘Finish’
Select cell A1 to load the data in.
Correctly opening a CSV file in Google Sheets
Correctly opening a CSV file in Google Sheets
Google Sheets also automatically recognises the delimiter type. However, you can also manually choose which delimiter is used when opening a file. To do so:
Open a Google Sheet file
Navigate to ‘File’ > ‘Import’.
In the box that appears, toggle to ‘Upload’ and select a document.
The following ‘Import file’ screen will show:
As you can see, by default, it detects delimiters automatically; however, if you need to select a specific delimiter, select 'Custom' in the 'Separator type' dropdown > input the relevant delimiter > click ‘Import data’.
Correctly opening a CSV file in Numbers
Correctly opening a CSV file in Numbers
Numbers should automatically recognise the delimiter of your file; however, you can also manually change the delimiters if you need to.
Open Numbers
In the box that automatically pops up, select the file you wish to import
The file should automatically load correctly. If it does not, click the below bubble, which appears on the top right of the screen
In the pop-up box, select the correct delimiter. The preview will show the table loading correctly (as below) once you have selected the correct delimiter.
Click 'Update table'.
Correctly saving/exporting a CSV file
When you open a CSV file in spreadsheet software, it converts the file type to the native file type of that software. For instance, if you open a CSV file in Microsoft Excel, the file will be automatically converted to an '.xlsx' file. This means you must export it back to CSV when you are finished editing the file in the spreadsheet software rather than just 'saving' it.
Correctly saving/exporting a CSV file in Microsoft Excel
Correctly saving/exporting a CSV file in Microsoft Excel
Navigate to ‘file’
Click ‘Save as’
In the 'file type' dropdown, select CSV UTF-8
Correctly saving/exporting a CSV file in Google Sheets
Correctly saving/exporting a CSV file in Google Sheets
Navigate to 'file'
Click ‘Download’
Select Comma-separated values (.csv)
Correctly saving/exporting a CSV file in Numbers
Correctly saving/exporting a CSV file in Numbers
Navigate to 'file'
Click 'Export to’
Click 'CSV...'
In the 'Text encoding' dropdown, select Unicode (UTF-8)
Note that if you decide to go back and edit a CSV file by opening it up again in a spreadsheet program (rather than a plain text editor), you will have to export it again to CSV format after.