How To Display A Dash In Excel

To display a dash (-) as the first character in a cell in Microsoft Excel (so it isn’t interpreted as a mathematical symbol), prefix the dash with an apostrophe, like so:

'- This value begins with a dash.

I’ve been programming in VBA for Excel and other products since VBA first came out, but I’m not an expert at using them as they were intended; I’d rather create a function to do some manipulation than create a formula, though I know a formula is often more efficient.

Related posts:

About Jody

Family man, living in New Brunswick, Canada.
This entry was posted in internet & computers and tagged , .
Bookmark the permalink.

4 Responses to How To Display A Dash In Excel

  1. Pender says:

    What if you wanted to subtract “fart” from “butt”? You couldn’t do butt-fart anymore, since it’s now a string!

  2. J-Walk says:

    Jody, another way to do it is to format the cell as Text. Use Format * Cell. In the Number tab, choose Text from the Category list.

  3. Jody says:

    I knew that, gosh darn it.

    Thanks.

  4. ChrisO says:

    Excel is fun.

    unfortunately, i’ll never use it again.

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.