How to handle a minus sign "-" as text not as part of a formula?
When I enter something into a cell beginning with a minus sign "-" then the content
is automatically interpreted as a formula. How can I prevent this and let Excel treat the cell content (only for this cell) as text? Claudia |
Answer: How to handle a minus sign "-" as text not as part of a formula?
Hi Claudia,
I understand your frustration with Excel automatically interpreting a cell content beginning with a minus sign as a formula. Fortunately, there is a simple solution to this problem. To prevent Excel from treating the cell content as a formula, you can add an apostrophe (') before the minus sign. This tells Excel to treat the content as text. For example, if you want to enter Code:
"-100" Code:
"'-100" Alternatively, you can format the cell as text before entering the content. To do this,
|
How to handle a minus sign "-" as text not as part of a formula?
You can start your entry with an apostrophe: '-1234 qwer
or you could preformat the cell(s) as Text, then do the data entry. Claudia d'Amato wrote: When I enter something into a cell beginning with a minus sign "-" then the content is automatically interpreted as a formula. How can I prevent this and let Excel treat the cell content (only for this cell) as text? Claudia -- Dave Peterson |
How to handle a minus sign "-" as text not as part of a formula?
Claudia -
You can precede the minus sign with a single quote ('). The single quote won't show in the cell (it will show in the formula bar), and it tells Excel this is text, not a number. -- Daryl S "Claudia d'Amato" wrote: When I enter something into a cell beginning with a minus sign "-" then the content is automatically interpreted as a formula. How can I prevent this and let Excel treat the cell content (only for this cell) as text? Claudia . |
All times are GMT +1. The time now is 09:20 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com