Excel and Tab Delimited Files Question

16,258

Solution 1

Save your file as .txt

Now open the file in excel using Drag and Drop (rather than double clicking your hookey .xls)

Slightly more work to open the file, but your tab text formatting will now be respected.

Solution 2

When you open the tab-delimited file, you are shown an import mapping dialog that lets you pick each columns' data type (date, text, currency, etc.). For the columns that have HTML data present, choose text. This will tell it basically to import as-is and not try to automatically parse the data into a derived format.

Share:
16,258
OneNerd
Author by

OneNerd

Updated on June 11, 2022

Comments

  • OneNerd
    OneNerd almost 2 years

    I am encountering what I believe to be a strange issue with Excel (in this case, Excel 2007, but maybe also Excel 2003, but don't have access to it as I write this).

    I can reliably convert some server data over into a tab-delimited format (been doing this for years) and then open it using Excel - no issue.

    However, what seems to be happening is if I have an html <table> inside one of the fields, it looks like Excel 2007 thinks it should be converting the table into rows and columns inside Excel (not what I want). As you might imagine, this throws off the entire spreadsheet.

    So question is, is there any way to set up excel to NOT do this (perhaps some setting in Excel that pertains to reading tab delimited files), or am I missing something?

    Thanks.