Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.
  1. On the File menu, click Import.

  2. In the Import dialog box, click the option for the type of file that you want to import, and then click Import.

  3. In the Choose a File dialog box, locate and click the CSV, HTML, or text file that you want to use as an external data range, and then click Get Data.

  4. Follow the steps in the Text Import Wizard, where you can specify how you want to divide the text into columns and other formatting options. When you have completed step 3 of the wizard, click Finish.

  5. In the Import Data dialog box, click Properties to set query definition, refresh control, and data layout options for the external data that you are importing. When you have finished, click OK to return to the Import Data dialog box.

  6. Do one of the following:

To

Do this

Import the data to the current sheet

Click Existing sheet, and then click OK.

Import the data to a new sheet

Click New sheet, and then click OK.

Excel adds a new sheet to your workbook, and automatically pastes the external data range at the upper-left corner of the new sheet.

Note: You can change the layout or properties for the imported data at any time. On the Data menu, point to Get External Data, and then click either Edit Text Import or Data Range Properties. If you select Edit Text Import, select the file that you imported originally, and then make changes to the external data in the Text Import Wizard. By selecting Data Range Properties, you can set query definition, refresh control, and data layout options for the external data.

See also

Import data from a database

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×