24

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

30

comment it using the single quote

e.g.

'-A10

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

  • 3
    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
  • 4
    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
2

Use the 'find and replace' tool in excel. Find '=' and replace with nothing, i.e. an empty space. Then click on 'replace all.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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