Problem When Opening Tab Delimited Files in Excel with Formula

kdaniel86

New Member
Joined
Aug 1, 2014
Messages
35
Hi all,

I have a question regarding opening of files containing a mathematical expression such as -, +, = etc.

Before opening it in excel, the orig file is a text file which looks like this.

1178x8i.png



When I open this file in excel, the result is:

2hzl9ad.png



My question is, why does some text with formulas show normally and some don't?

As shown above, in the 3rd cell of the 2nd column, text "- Nose" shows normally but others don't.

How can I make it so that all text with "-" in front of the text show as text in excel when opened?


Any help would be appreciated.
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

mikerickson

MrExcel MVP
Joined
Jan 15, 2007
Messages
24,208
Excel is looking at -Eyes and thinks there is supposed to be a Named Value (or Named Range) with the name "Eyes" and you want the negative of that value in the cell.

Try formatting column B as text before importing the file.

(Because of the space, Nose 1 is an illegal name for a Named Value, thus Excel knows that - Nose 1 is a text string.)
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,088
Messages
5,835,321
Members
430,351
Latest member
ddalton

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top