Quick Excel Question

NakaNaka

Diamond Member
Aug 29, 2000
6,304
1
0
In excel, I want a box to read "+50" or "-50" or some variation of + and - a number. But when I try to do +75 it automatically just turns it in to 75. I need that plus sign. How can I get excel to stop changing that?

Thanks
-Phil
 

statik213

Golden Member
Oct 31, 2004
1,654
0
0
There's a way you can do conditional formatting.... if you put a ' in front you might not be able to do arithmatic with those cells. I don't have excel in front of me, but look around for conditional formatting options...
 

Thyme

Platinum Member
Nov 30, 2000
2,330
0
0
I think Excel will figure out it's not supposed to ignore the symbol if you try to do math on it. If you do anything involving it as a string, it will treat the + as a character whether you want it or not. And obviously, if this is something that has to be inputted many times or is output, you'll need to format the cells.
 

WannaFly

Platinum Member
Jan 14, 2003
2,811
1
0
Right Click Cell(s) -> Format Cells -> Custom -> put this in as the Type:
+#;-#

edit:
above puts 0 as just a '+'
this puts +0:
+#0;-#0
 

Koenigsegg

Banned
Jun 29, 2005
2,267
1
0
Originally posted by: Thyme
I think Excel will figure out it's not supposed to ignore the symbol if you try to do math on it. If you do anything involving it as a string, it will treat the + as a character whether you want it or not. And obviously, if this is something that has to be inputted many times or is output, you'll need to format the cells.

I tried that, it won't sum it..
 

Thyme

Platinum Member
Nov 30, 2000
2,330
0
0
You can use simple arithmetic. If you needed formulas for multiple rows, then you'd want to use the method WannaFly posted. The poster said it was a "Quick Excel Question," so I gave the answer for putting in a few numerical cells at text.