Professional Documents
Culture Documents
5 - Convert Text To Columns Wizard
5 - Convert Text To Columns Wizard
Learn
Excel files
So far, you've seen how to load text files and CSV files. Opening an Excel file
( .xlsx ), like the one you just created on the previous screen, opens as
expected — there isn't anything special you need to do because Excel just
recognizes it and loads it.
It's quite possible that you'll encounter older versions of Excel files, such as those
ending in .xls . The older XLS files are stored in binary format, whereas the
latest XLSX files use a compressed XML file format, so they are always smaller.
It's always a good idea to use File > Save As to save old XLS files in the newer
XLSX format for speed and efficiency. But, if there's ever a reason you need to go
back to the old format, you can always use File > Save As to convert to the old
XLS format if necessary.
If you did so, you'd have two copies of the workbook, one with the old XLS
extension and one with the new XLSX extension. With an XLS file already
opened in Excel, selecting File > Save As opens the following window:
https://app.dataquest.io/c/127/m/652/importing-data-into-excel-spreadsheets/5/convert-text-to-columns-wizard 1/7
10/2/23, 3:12 PM Importing Data Into Excel Spreadsheets — Convert Text to Columns Wizard | Dataquest
Let's go back to your scenario. Suppose you were to use a text editor like
Notepad to bring up the original text file. You could select and copy all of the data
in your text editor window, then paste it into an Excel worksheet:
https://app.dataquest.io/c/127/m/652/importing-data-into-excel-spreadsheets/5/convert-text-to-columns-wizard 2/7
10/2/23, 3:12 PM Importing Data Into Excel Spreadsheets — Convert Text to Columns Wizard | Dataquest
After pasting the contents of a text file into Excel, you will see that the data isn't
broken up into rows and columns. All the pasted data is in column A . Now you
would want to separate the data into their appropriate columns. In order to do
this, you need to select column A by clicking on the column header and then
use Text to Columns in the Data tab:
https://app.dataquest.io/c/127/m/652/importing-data-into-excel-spreadsheets/5/convert-text-to-columns-wizard 3/7
10/2/23, 3:12 PM Importing Data Into Excel Spreadsheets — Convert Text to Columns Wizard | Dataquest
Doing this will bring up the Convert Text to Columns Wizard, which looks
almost identical to the Text Import Wizard we used earlier. The biggest
difference you will notice is that the checkbox for My data has headers isn't
available because you're simply pasting data — but Excel doesn't know what kind
of data you're pasting. Now you would proceed as you did previously when you
used the Text Import Wizard to choose delimiters.
You will then see that your data is now nicely divided into the appropriate
columns:
https://app.dataquest.io/c/127/m/652/importing-data-into-excel-spreadsheets/5/convert-text-to-columns-wizard 4/7
10/2/23, 3:12 PM Importing Data Into Excel Spreadsheets — Convert Text to Columns Wizard | Dataquest
Using copy and paste may work equally well for you if you need to copy data from
a website or an online document. If you do this, you'll need to pay attention to any
unusual characters that may come along for the ride. Just remember that
the Text Import Wizard has an Other category if you need to specify a custom
delimiter!
Instructions
https://app.dataquest.io/c/127/m/652/importing-data-into-excel-spreadsheets/5/convert-text-to-columns-wizard 5/7
10/2/23, 3:12 PM Importing Data Into Excel Spreadsheets — Convert Text to Columns Wizard | Dataquest
2. Use File > Save As to save the old Excel file type (XLS) to the newer Excel
Workbook (*.xlsx) file type.
2. Select column A , then select the Data tab, then Text to Columns.
Questions
1. When using the Convert Text to Columns Wizard, which selections are you given?
(select all that apply)
Correct!
Colon delimiter
Tab delimiter
This is correct.
Comma delimiter
This is correct.
Space delimiter
This is correct.
Other delimiter
https://app.dataquest.io/c/127/m/652/importing-data-into-excel-spreadsheets/5/convert-text-to-columns-wizard 6/7
10/2/23, 3:12 PM Importing Data Into Excel Spreadsheets — Convert Text to Columns Wizard | Dataquest
This is correct.
Semicolon delimiter
This is correct.
2. Which are correct statements regarding what you learned on this screen?
(select all that apply)
Correct!
The Text Import Wizard is identical to the Convert Text to Columns Wizard.
Copying and pasting data from a website may require extra care to watch out for
unusual characters.
This is correct.
You can save an XLS file as an XLSX file and vice versa.
This is correct.
https://app.dataquest.io/c/127/m/652/importing-data-into-excel-spreadsheets/5/convert-text-to-columns-wizard 7/7