[Black]$#,##0.00;[Red]($#,##0.00);[Blue]$0.00 (CUSTOM FORMAT)

N

Neon520

Hi everyone,

As you can see in the subject line that I would like to custom my cell
formatting so that
if the number is greater than zero, it's BLACK
if the number is less than zero, it's RED
and if it's zero, it's BLUE

I have a problem with the BLUE one, for some reason, when there is a
deduction in which the result is ZERO, Excel recognize it as LESS than zero,
and it shows in RED instead of BLUE. But in normal case without and
deduction, the above Custom Formatting works just fine.

Any tips you want to share about this?

Thanks alot!
Neon520
 
J

Jim Cone

Both -0.000001 and 0.000001 will display as 0.00 but neither are zero.
You probably need to round the cell value.
--
Jim Cone
Portland, Oregon USA



"Neon520"
wrote in message
Hi everyone,
As you can see in the subject line that I would like to custom my cell
formatting so that
if the number is greater than zero, it's BLACK
if the number is less than zero, it's RED
and if it's zero, it's BLUE
I have a problem with the BLUE one, for some reason, when there is a
deduction in which the result is ZERO, Excel recognize it as LESS than zero,
and it shows in RED instead of BLUE. But in normal case without and
deduction, the above Custom Formatting works just fine.
Any tips you want to share about this?
Thanks alot!
Neon520
 
J

Jim Cone

Or use a custom number format similar to this...

[Black][>0.001]$#,##0.00;[Red][<-0.001]($#,##0.00);[Blue]$0.00;[Green]"(CHECK DATA)"
--
Jim Cone
Portland, Oregon USA



"Jim Cone"
wrote in message
Both -0.000001 and 0.000001 will display as 0.00 but neither are zero.
You probably need to round the cell value.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top