Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I stop my text cells which start with a dash from turning into cells where Excel expects a formula?

share|improve this question

1 Answer 1

up vote 11 down vote accepted

comment it using the single quote

e.g.

'-A10

will display -A10 in excel instead of it being misinterpreted as formula.

share|improve this answer
    
Thanks! Is there any option to turn it off though so I don't have to keep using a single quote? –  Sean McRaghty Dec 22 '10 at 20:13
3  
Maybe you can set the cell formatting to text/string before entering text. –  Martin Dec 22 '10 at 20:21
    
Preceding it by a space seems to be the easiest solution for me. Thanks everyone.... –  Sean McRaghty Dec 22 '10 at 20:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.