Excel - Getting Started with Importing Text Files Into Excel - Episode 457

852 views · Published 4 June 2009 · 2:54 · Indexed 20 September 2026

Channel: MrExcel.com · 2009 · Education

Watch on YouTube

Microsoft Excel Tutorial - Getting Started with Importing Text Files Into Excel.

Welcome back to the MrExcel netcast where we discuss all things Excel. I'm Bill Jelen and in today's episode, we will be diving into the world of text files. Specifically, we will be discussing how to import text files into Excel. This is a common task that many Excel users encounter and it can be a bit complicated, so I will be breaking it down step by step.

The first thing you need to determine is whether the text file you have is fixed-width or delimited. Let me explain the difference between the two. A fixed-width file is typically created by old COBOL programs where the programmer specifies a certain number of characters for each field. If a field does not have enough characters, it is filled with spaces. You can easily identify a fixed-width file by opening it in Notepad and noticing that each column is perfectly aligned. On the other hand, a delimited file uses a specific character, such as a comma or semicolon, to separate each field. These files are more common nowadays and can be easily imported into Excel.

Now, here's where it can get a bit tricky. If you open a delimited file in a program like Word, you may notice that the columns are not perfectly aligned. This is because modern computers use proportional fonts, which means that each character takes up a different amount of space. To properly view a delimited file, you need to open it in a fixed-width font, such as "Courier" or "Courier New". In tomorrow's netcast, we will go through the steps of importing a fixed-width file into Excel.

I hope this video has been helpful in understanding the difference between fixed-width and delimited text files. Stay tuned for tomorrow's episode where we will continue our discussion on importing text files into Excel. Don't forget to like and subscribe to our channel for more Excel tips and tricks. Thanks for watching and we'll see you in the next video!

Buy Bill Jelen's latest Excel book: https://www.mrexcel.com/products/latest/

You can help my channel by clicking Like or commenting below: https://www.mrexcel.com/like-mrexcel-on-youtube/


If you need to import a text file into Excel, you will need to use the text to columns wizard. Before you start importing text, you need to figure out if your dataset is fixed width or delimited. Episode 457 will explain the difference.

This blog is the video podcast companion to the book, Learn Excel from MrExcel. Download a new two minute video every workday to learn one of the 277 tips from the book!

Table of Contents:
(00:00) Introduction 
(00:15) Importing text files into Excel 
(00:25) Understanding fixed-width and delimited files 
(00:36) Identifying fixed-width files 
(01:01) Identifying delimited files 
(01:38) Importing either type of file 
(01:48) Potential issue with viewing files in Word 
(02:09) Viewing files in a fixed-width font 
(02:23) Tomorrow's topic: importing fixed-width files into Excel 
(02:35) Clicking Like really helps the algorithm

#excel #microsoft #microsoftexcel #exceltutorial #exceltips #exceltricks #excelmvp #freeclass #freecourse #freeclasses #excelclasses #microsoftmvp #walkthrough #evergreen #spreadsheetskills #analytics #analysis #dataanalysis #dataanalytics #mrexcel #spreadsheets #spreadsheet #excelhelp #accounting #tutorial

"This video answers these common search terms:
Common delimiters in text files
Fixed-width file vs delimited file
How to change font to Courier or Courier New in Word
How to determine if a file is fixed-width or delimited
Import text files into Excel
Importance of using a fixed width font for viewing files
Importing delimited files into Excel
Importing files with different delimiters
Importing fixed-width files into Excel
Netcast on importing fixed-width files into Excel
Using a fixed width font in Word
Viewing fixed-width files in Word"


Join the MrExcel Message Board discussion about this video at https://www.mrexcel.com/board/threads/1152442/

More from this channel