Importing *.csv formatted data into Excel
By using Excel's text import wizard, you can ensure data in *.csv is correctly imported into Excel and leading zeros are not dropped.
- Download and save your *.csv file to your chosen location.
- Start Excel with a blank workbook open.
- Select 'Data' on the ribbon, and then 'From Text'. (If the menu options are greyed out this could be because you do not have a workbook open).
- Browse for the *.csv file you want to open, and click 'Import'.
- In the Text import wizard, ensure the 'Delimited' option is selected. Click Next.
- In the delimiters section, tick 'Comma'. The text qualifier box should show the double-quote symbol. Click Next.
- Mark every columns as 'Text'. The first column only will initially be highlighted. Move the horizontal cursor as far as it will go to the right; then, holding the shift key down, click the very last column heading. You should now have every column highlighted. Click the 'Text' data format. It will now say 'Text' in the header of every column. Click Finish.
- It may ask you 'Where do you want to put the data?'. It will allow you to click into any cell on the blank worksheet to determine where the data should go. Click 'OK' to proceed.
- The data should now appear in the spreadsheet. Where column headings are included these will appear in the top row. Check that fields have not lost leading zeros where applicable.