Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm subtracting figures and I need to show whether the result is negative or positive.

Stumped as to how to make the '+' or '-' sign appear using cell formatting. Minus is automatic, I presume, but the positive I'm struggling with.

share|improve this question
up vote 3 down vote accepted

Use a custom number format for your cells, such as:

"+"0;"-"0;0

displays -1, 0, 1 as

-1, 0, +1

or

"+"0.00;"-"0.00;"No change"

displays -1, 0, 1 as

-1.00, No change, +1.00
share|improve this answer
3  
Actually the "" marks around the + - are not needed. Just use +0;-0;0 – chris neilsen Jun 28 '11 at 8:47
    
Therefore could you use +??.??;-??.??;??.??. Which I hope would allow for alignment and show the +/- symbols? – RocketGoal Jun 28 '11 at 10:59
    
As mentioned here, you could use +General;-General;General to keep original decimal settings – acatalept Apr 3 '13 at 16:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .