Open CSV in Excel

From IMSMA Wiki
Revision as of 13:31, 5 April 2015 by Alnaucler (talk | contribs)
Jump to: navigation, search
Warning.jpg When you open the CSV file in Excel, Excel will automatically interpret data like 1-10 as 10-Jan.

Therefore check carefully the result in Excel before sharing the export result with others. This page describes a word around for this Excel behaviour.

  1. Export Search Result.
  2. Open a new Excel file.
  3. Open the CSV file with a text editor e.g. Notepad++.
  4. Csv copy text.png

    Copy all text

  5. Copy all rows with Ctrl+A.
  6. Switch back to Excel and click in cell A1.
  7. Open the Text import wizard by one of following methods:
    Csv paste method.png

    Paste method

    Paste method
    1. Click on lower part of the Paste button.
    2. Select Use Text Import Wizard in the drop-down menu.
    Text to Columns method
    1. Paste into Excel with Ctrl+V.
    2. Select column A.
    3. Csv text to columns method.png

      Text to Columns method

    4. Use function Text to columns on Data ribbon.

    Same steps

  8. The wizard starts

    Country

  9. Click Next
  10. Change Delimiters to Comma

    Country

  11. Click Next
  12. Change Column data format to Text and verify that the format is set

    Country

  13. Click Finish
  14. Save as xlsx
  15. Close and open the file in order to verify that the data still has the correct format