How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (2023)

In this article, I will discuss how you can convert CSV files into excel files with multiple columns (.xlsx format). As CSV files are easy to operate and open with simple applications, often we receive data in .csv format. Later, due to further calculation or better representation of data we have to convert CSV files into excel files. Let’s go through the article to learn converting CSVs into excel.

Table of Contents hide

Download Practice Workbook

What Is a CSV File?

What Is an Excel File?

5 Methods to Convert CSV to Excel with Columns

1. Apply ‘Save As’ Option to Turn CSV Files into Excel

2. Insert ‘Text to Column’ Option to Convert CSV to Excel with Columns

3. Convert CSV to Excel Files Using ‘From Text/CSV’ Feature

(Video) Convert Excel to CSV File | XLSX to CSV | Excel to Text File Comma Delimited

4. CSV to Excel File Conversion with ‘Legacy Wizard’ Feature

Conclusion

Related Articles

Download Practice Workbook

You can download the practice workbooks that we have used to prepare this article.

Convert CSV to Excel.csv

Convert CSV to Excel.xlsx

What Is a CSV File?

CSV stands for comma-separated values. This is a plaintext file format where data is separated by commas. You can open a CSV file using simple text editors such as Notepad. Besides, we can open CSV files through spreadsheet applications such as Excel or Google Sheets.

What Is an Excel File?

Excel files generated from Microsoft Excel mainly have a .xlsx file extension. These files can be opened through any spreadsheet software like Google Sheets, Open Office, or Microsoft Excel. Unlike CSV files, you can do various calculations in excel files. Other than that, in excel files you can apply varied data representation techniques to understand the pattern of data more closely.

5 Methods to Convert CSV to Excel with Columns

1. Apply ‘Save As’ Option to Turn CSV Files into Excel

Suppose, we have the below CSV file opened with Notepad. The data in the below file are separated into multiple columns. However, we can only see comma-separated values in Notepad.

(Video) How to Create Macros in Excel Tutorial

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (1)

Now, I will convert the CSV file into an excel file. Follow the below steps to perform the task.

Steps:

  • First, do not open the CSV file. Instead right-click on the file and go to Open with > Excel.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (2)

  • As a result, the CSV file is now open in Microsoft Excel. Next, from the Excel Ribbon, click on the File tab.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (3)

  • Now go to File > Save As > Browse.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (4)

  • Then the Save As dialog shows up. Here, go to the location where you want to save the file.
  • After that, give a File Name and choose the Save as type: Excel Workbook (*.xlsx). Press Save when you are done with the process.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (5)

  • At last, you will see the above CSV file is transformed into an Excel file. You can see data are separated into columns. Later, format the data as per your requirement.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (6)

2. Insert ‘Text to Column’ Option to Convert CSV to Excel with Columns

This time I will convert CSV file data into multiple columns in excel. Here I will use the text to column function in excel to transform single columns data into multiple columns.

Steps:

  • Initially, open the CSV file with excel.
  • Next, select the column (column A) that has comma-separated values.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (7)

  • Now, go to Data > Text to Columns.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (8)

  • As a consequence, the Convert Text to Columns Wizard appears. Click on Delimited and press Next.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (9)

  • Put a checkmark on Comma when the next wizard comes up. Press Next again.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (10)

  • Then choose the Destination location and press Finish.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (11)

  • As a result, we will get the below output in excel.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (12)

  • Although our data is separated into columns now, this is still a CSV file. To convert the file into an excel file we have to save the file in a .xlsx format. To do that go to File > Save As > Browse (see Method 1).
  • When the Save As dialog appears, type the File Name and choose the .xlsx file format, and press Save (see Method 1).

Read More: How to Convert CSV to XLSX Command Line (with Easy Steps)

3. Convert CSV to Excel Files Using ‘From Text/CSV’ Feature

I will import a CSV file into excel using the ‘From Text/CSV’ feature in this method. Later, I will save the data as an excel file with columns. Follow the below steps to do the task.

Steps:

(Video) Creating a Combination Chart in Excel & Introducing with Chart Elements

  • Firstly, open Excel and go to Data > From Text/CSV icon.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (13)

  • Next, the Import Data dialog will appear. From there, select the CSV file that you want to import and press Import.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (14)

  • Consequently, the CSV file is imported into excel as below. Now, click on Load.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (15)

  • As a result, we can see the data from the CSV file is loaded as in the below table.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (16)

  • Click on the table, and thus the Table Design tab appears.
  • Go to Table Design > Convert to Range.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (17)

  • Excel will prompt the below warning, press OK.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (18)

  • Upon clicking OK, we will get the below range. If you want you can clear the cell formatting by going to Home > Editing > Clear > Clear Formats.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (19)

  • Later you can format the dataset as you like. Go to the File tab to bring the Save option.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (20)

  • Afterward, click on Save.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (21)

  • When the Save As dialog come up, give a name to your file and press Save. So, finally, now you have the CSV file converted into an excel file (with columns).

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (22)

Note:

You can get the ‘From Text/CSV‘ by following the path Data > Get Data > From File > From Text/CSV too.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (23)

Read More: Excel VBA to Import CSV File without Opening (3 Suitable Examples)

Similar Readings

  • Excel VBA to Read CSV File into Array (4 Ideal Examples)
  • How to Import CSV into Existing Sheet in Excel (5 Methods)
  • Excel VBA: Read a Text File Line by Line (6 Related Examples)
  • How to Import Text File to Excel Using VBA (3 Easy Ways)
  • Excel VBA: Import Comma Delimited Text File (2 Cases)

4. CSV to Excel File Conversion with ‘Legacy Wizard’ Feature

Now I will import a CSV file using the Legacy Wizard from the Get Data option. Before importing the CSV file, I will show you how you can add the legacy wizard to excel.

Steps:

  • After opening Excel, first, go to the File tab.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (24)

  • Then go to Options.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (25)

(Video) SURPRISING Advanced Filter TRICK in Excel (You've Never Heard Of!)

  • Consequently, the Excel Options dialog shows up. From the dialog, go to Data options.
  • Now put a checkmark on From Text (Legacy) and press OK.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (26)

  • As a result, the From Text (Legacy) feature is added to excel. To apply the feature go to Data > Get Data > Legacy Wizard > From Text (Legacy).

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (27)

  • Consequently, the Import Text File dialog appears, choose the CSV file you want to get in excel, and press Import.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (28)

  • After that, the Text Import Wizard shows up. Here, click on the Delimited, put a checkmark on My data has headers, and press Next.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (29)

  • Put a checkmark on Comma and again press Next.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (30)

  • Press Finish after that.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (31)

  • As a consequence the Import Data dialog shows up, choose the data destination location, and press OK.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (32)

  • Finally, we can see that CSV data is imported into excel, separated by columns.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (33)

  • Likewise described in Method 3, we will save the data. To do that, go to the File tab.
  • Then go to Save, type a file name and click Save (see Method 3).

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (34)

Read More: How to Import Text File to Excel Automatically (2 Suitable Ways)

5. Excel VBA to Transform CSV to Excel with Columns

You can use Excel VBA to convert CSV files into excel files with multiple columns. Suppose we have a CSV file in a specified location stated below.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (35)

Now I will convert the CSV file into Excel with columns. Let’s follow the below process to do the task.

Steps:

  • Open Excel, and go to Developer > Visual Basic to bring the VBA window.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (36)

  • When the VBA window appears, go to Insert > Module.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (37)

  • Then, type the below code in the newly opened Module. Save the file and run the code using the F5 key.
Sub Convert_CSV_to_EXCEL()Dim w As WorkbookSet w = Workbooks.Open("C:\Users\User\OneDrive\Desktop\ExcelDemy\How to Convert CSV to Excel with Columns\CSV FIle.csv")w.SaveAs Filename:="C:\Users\User\OneDrive\Desktop\ExcelDemy\How to Convert CSV to Excel with Columns\CSV FIle.xlsx", _FileFormat:=xlWorkbookDefault, _ReadOnlyRecommended:=False, CreateBackup:=FalseEnd Sub

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (38)

  • Upon running the code, you will see the below excel file with multiple columns is created.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (39)

  • Now if you go to the CSV file location, you will see the newly created excel (with .xlsx extension) file too.

How to Convert CSV to Excel with Columns (5 Methods) - ExcelDemy (40)

(Video) Excel - IF Date is Before or After Another Date | IF Date is Before or After Today

Conclusion

In the above article, I have tried to discuss several methods to convert CSV files into excel files elaborately. Hopefully, these methods and explanations will be enough to solve your problems. Please let me know if you have any queries.

Related Articles

  • How to Convert CSV to XLSX (4 Quick Methods)
  • Excel VBA to Read CSV File Line by Line (3 Ideal Examples)
  • How to Open Notepad or Text File in Excel with Columns (3 Easy Methods)
  • Excel VBA to Convert CSV File to XLSX (2 Easy Examples)
  • How to Open CSV File in Excel with Columns Automatically (3 Methods)

Videos

1. How to Make a Pie Chart in Excel
(ExcelDemy)
2. Excel Conditional Formatting - Color Scales
(ExcelDemy)
3. How to automatically add commas to numbers in Excel
(FigureAssist)
4. How to Arrange IP Addresses in Excel
(xlpedia)
5. Life After Excel Pivot Tables
(ExcelDemy)
6. How to Remove Space before numbers in Excel
(Excelskill Corner)
Top Articles
Latest Posts
Article information

Author: Twana Towne Ret

Last Updated: 02/08/2023

Views: 6246

Rating: 4.3 / 5 (44 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Twana Towne Ret

Birthday: 1994-03-19

Address: Apt. 990 97439 Corwin Motorway, Port Eliseoburgh, NM 99144-2618

Phone: +5958753152963

Job: National Specialist

Hobby: Kayaking, Photography, Skydiving, Embroidery, Leather crafting, Orienteering, Cooking

Introduction: My name is Twana Towne Ret, I am a famous, talented, joyous, perfect, powerful, inquisitive, lovely person who loves writing and wants to share my knowledge and understanding with you.