PC Review


Reply
Thread Tools Rate Thread

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

 
 
Neon520
Guest
Posts: n/a
 
      24th Dec 2008
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
 
Reply With Quote
 
 
 
 
Rick Rothstein
Guest
Posts: n/a
 
      24th Dec 2008
Your custom format works fine for me in my XL2003 (SP3) workbooks.

--
Rick (MVP - Excel)


"Neon520" <(E-Mail Removed)> wrote in message
news:F2B6DC17-1235-4729-B9EB-(E-Mail Removed)...
> 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


 
Reply With Quote
 
Jim Cone
Guest
Posts: n/a
 
      24th Dec 2008

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
 
Reply With Quote
 
Jim Cone
Guest
Posts: n/a
 
      24th Dec 2008
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.
--
Jim Cone
Portland, Oregon USA

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Black n blue captain zed General Discussion 3 2nd Jul 2009 12:50 AM
Blue is the new black? =?Utf-8?B?RW1tYSBIb3Bl?= Microsoft Access Forms 4 25th Oct 2007 01:41 PM
Black and Blue =?Utf-8?B?TWFyaw==?= Windows XP General 4 26th May 2007 02:06 PM
Blue on black Al. Ozzie Windows XP New Users 5 21st Dec 2004 12:03 PM
Windows loads the black screen with the blue bar scrolling then goes to a blank off-black screen and stops =?Utf-8?B?UG90YXRvY2F0?= Windows XP Help 0 5th Mar 2004 07:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:05 AM.