Get instant live expert help with Excel or Google Sheets
“My Excelchat expert helped me in less than 20 minutes, saving me what would have been 5 hours of work!”

Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.
All articles TEXT How to Convert Text File to Excel

How to Convert Text File to Excel

It is very difficult to manage and time-consuming task to manually transfer data from a text file to Excel. But we can convert text file to Excel with delimiters and split the data into separate columns quickly and efficiently.

Figure 1. Convert Txt to Excel

How to Convert a Text File to Excel

We save the text files in .txt, .csv or .prn extensions in our computers. These text files may contain data which we use for data manipulation in Excel. It is a very hard task to manage the data while transferring the required information from txt to Excel. Suppose we have a text file, created in Notepad, where information is entered and separated with Tab delimiter. We want to convert text file to Excel while placing the data into separate columns with the delimiter used in the text file.

Figure 2. Text File in Notepad

Follow the below steps to convert txt to Excel;

  • Open an Excel Blank workbook
  • In Excel 2003 click File menu, in Excel 2007 click Office button, in Excel 2010 and later versions click on the File tab and select Open.

Figure 3. Select Open

  • From the File type drop-down list, select the Text File.

Figure 4. Select File Type Text File

  • Select the text file and click on Open button.

Figure 5. Open Text File

  • From the Text Import Wizard window, select the delimited option as step 1 and press Next button.

Figure 6. Text Import Wizard Step 1

  • Select the Delimiter from the list and preview the data from the Data Preview window as step 2 and press Next button. Optionally select the “Treat consecutive delimiters as one” option and preview the data. In our example, we have selected Tab as the delimiter.

Figure 7. Text Import Wizard Step 2

  • In step 3, we can select each column and set the Data Format. By default, it is set as General. Press the Finish button.

Figure 8. Text Import Wizard Step 3

  • Excel converts the text file to Excel into separate columns with the delimiter used. Save this file as .xlsx (Excel Workbook) file type.

Figure 9. Convert Text File to Excel

Instant Connection to an Expert through our Excelchat Service

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

Leave a Comment

avatar

Subscribe to Excelchat.co

Get updates on helpful Excel topics

Subscribe to Excelchat.co
Trusted by people who work at
Amazon.com, Inc
Facebook, Inc
Accenture PLC
Siemens AG
Macy's
The Allstate Corporation
United Parcel Service
Dell Inc