(Legacy) Microsoft Excel 2007: Importing an External Data File

Last Updated

This article is based on legacy software.

Importing data into an Excel worksheet is helpful if you want to use Excel to view, process and/or analyze data stored in another file. For example, many people store data as tab-delimited text files or comma-separated values (csv) files because they can be opened from practically any computer.

  1. Windows: From the Data command tab, in the Get External Data group, click From Text.
    Macintosh: From the Data menu, select Get External Data ยป Import Text File...
    The Import Text File/Choose a File dialog box appears.
    import text file

  2. Windows: From the Files of type pull-down menu, select All Files.
    Macintosh: From the Enable pull-down menu, select All Files.

  3. Navigate to and select the file to import.

  4. Windows: Click Import.
    Macintosh: Click Get Data.
    The Text Import Wizard appears.
    text import wizard

  5. Select Delimited or Fixed Width.
    NOTES:
    The Text Import Wizard automatically selects the display type that it thinks best fits your data.
    A delimiter is a character that separates pieces of data and was specified when the data was created.

  6. Click Next.

  7. If your data is delimited, change and/or confirm the delimiters and click Next.
    NOTE: The Text Import Wizard automatically selects the delimiter that it thinks is being used (usually Tab). However, you can specify a different delimiter such as, Semicolon, Comma, or Space.

  8. Click Finish.
    The Import Data dialog box appears.
    import data

  9. To place the data in a new worksheet, select New worksheet.
    To place the data in the existing worksheet,
    1. Select Existing worksheet.
    2. Click Collapse Dialog. collapse dialog
    3. Select the cell where the imported data will begin.
    4. Click Restore Dialog. restore dialog

  10. Click OK.
    The data appears in the designated location.