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.

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
add comment

1 Answer

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
add comment

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.