How to Convert CSV File to Excel

โšก Smart Summary

Importing a CSV file into Excel turns a plain text file of comma separated values into a formatted worksheet. This page explains what a CSV file is, imports one with the Text Import Wizard, handles other delimiters such as the slash, and compares the ways to open a CSV.

  • ๐Ÿ“„ CSV Definition: A CSV is a plain text file in which each line is a record and each value is separated by a comma.
  • ๐Ÿ“ฅ From Text: The DATA tab, From Text button opens the Text Import Wizard to bring a CSV into a worksheet.
  • ๐Ÿ”ข Delimited: Choose the Delimited option, then tick Comma so each value lands in its own column.
  • โž— Other Delimiters: When the file uses a slash, a pipe, or a tab, choose Other and type the character on the Delimiters panel.
  • ๐Ÿ—‚๏ธ Placement: The wizard finishes by placing the data in an existing or a new worksheet.
  • ๐Ÿ–ฑ๏ธ Two Ways: A CSV can be opened directly by double clicking, or imported through the wizard for full control of the columns.

How to Convert CSV File to Excel

A CSV file is one of the most common ways to move data between programs, because almost every application can read and write it. Excel opens a CSV in a few clicks and, with the Text Import Wizard, gives full control over how each column is read.

What is a CSV File?

CSV stands for Comma Separated Values. It is a plain text file in which every line is one record, and the values inside a record are separated by a comma. Because it holds only text and separators, and no formatting, a CSV can be created and read by databases, web applications, and every spreadsheet program.

The limitation is that a CSV keeps no fonts, colours, formulas, or multiple sheets. It stores the raw data only, which is exactly why it is a reliable format for moving records from one system into Excel, where the formatting and formulas are added afterwards.

How to Import/Convert CSV to Excel

In this tutorial, We will import external data from a simple CSV file containing customer payments. You can download the CSV file for this exercise.

Download the CSV File

  • Open a new workbook
  • Click on DATA tab on the ribbon
  • Click on From Text button
  • You will get the following window

Import/Convert CSV to Excel

  • Browse to the folder where you downloaded the CSV file
  • Select da.csv file
  • Click on Import button
  • You will get the following import text file wizard

Import/Convert CSV to Excel

  • Click on Next button

Import/Convert CSV to Excel

  • Select Comma on the Delimiters panel
  • Click on Next button

Import/Convert CSV to Excel

  • Click on Finish button

Import/Convert CSV to Excel

  • Click on OK button
  • You will get the following data

Import/Convert CSV to Excel

Importing Other Delimiter Separated Files

In some cases you may not get comma separated file, it could be Slash (\), Pipe (|) or other delimiter separated files. Let’s take a look at how to deal with them.

Here is sample Slash (\) separated value file that you can download.

Download the Slash (\) separated CSV File

  • Open a new workbook
  • Click on DATA tab on the ribbon
  • Click on From Text button
  • Browse to the folder where you downloaded the file and Import it
  • You will get the following import text file wizard

Import/Convert CSV to Excel

  • Click on Next button

Import/Convert CSV to Excel

  • Now instade of selecting the Comma Delimiter, Select Other and set Slash (\) as delimiter on the Delimiters panel
  • Then click on Next Button.
  • Then click on Finish Button
  • Now Import data in Existing worksheet

You will get the folliwing data

Import/Convert CSV to Excel

๐Ÿ’ก Tip: The same wizard handles a Tab, a Semicolon, or a Pipe. Whenever the preview in the wizard shows every value squeezed into one column, the wrong delimiter is selected, so switch to Other and type the correct character.

Open vs Import: Two Ways to Bring a CSV into Excel

A CSV can reach a worksheet in two ways, and the right choice depends on how much control the columns need. The table below compares them.

Method How Best for
Open directly Double click the file, or File then Open A clean, comma separated file where the default column types are fine
Text Import Wizard DATA tab, From Text, then choose the delimiter A file with an unusual delimiter, or columns that must be set as text or date
Power Query (Get Data) DATA tab, Get Data, From Text/CSV on newer Excel A file that must be cleaned, filtered, and refreshed repeatedly

โš ๏ธ Warning: Opening a CSV directly can change the data. A long number such as a phone number or an ID may lose its leading zero, and a value that looks like a date may be converted. Use the Text Import Wizard and set that column to Text to keep the value exactly as it is.

FAQs

Excel reads a value like 007 as the number 7 and drops the zeros. Import the file with the Text Import Wizard and set that column to Text, so the value is kept exactly as written.

In the Text Import Wizard, choose Delimited, then on the Delimiters panel tick Other and type the character, such as a slash, a pipe, or a semicolon. The preview then splits the values into the correct columns.

Set the File Origin to 65001: Unicode (UTF-8) at the top of the Text Import Wizard. This tells Excel to read the accents and other characters correctly instead of showing garbled text.

Yes. AI features such as Copilot in Excel detect the delimiter, build the Power Query steps to split and clean the columns, and load the result into a table. The user confirms the column types and the output.

Yes. AI assistants scan the imported columns, flag rows with a missing value or a wrong data type, and highlight duplicates. This helps catch problems that a raw CSV hides before the data is used in a report.

Summarize this post with: