Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Conditional Formatting Cells With Values 0 and Null

I want the background of a cell one color if it holds a value of 0, another
color if it is null or empty, and another color if the value is 0<11. It
seems that Excel treats 0 and an empty cell the same. Whatja think?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default Conditional Formatting Cells With Values 0 and Null

These rules worked for me
for the blanks: =ISBLANK(A1)
for the zeros: =AND(ISNUMBER(A1),A1=0)
for the 0<11= =AND(A10,A1<11)
The 'trick' was ISNUMBER in the zero check! Otherwise it captures the blanks
also.

best wishes


"Rookie Access User" wrote in
message ...
I want the background of a cell one color if it holds a value of 0, another
color if it is null or empty, and another color if the value is 0<11. It
seems that Excel treats 0 and an empty cell the same. Whatja think?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default Conditional Formatting Cells With Values 0 and Null

You can do what you want using these 3 Conditional Format formulas (assuming
A1 is the active cell when you create them)...

Empty (Null) Condition: =A1=""

Zero Condition: =A1=0

Range Condition: =AND(A10,A1<11)

--
Rick (MVP - Excel)


"Rookie Access User" wrote in
message ...
I want the background of a cell one color if it holds a value of 0, another
color if it is null or empty, and another color if the value is 0<11. It
seems that Excel treats 0 and an empty cell the same. Whatja think?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting for Values in 3 cells tvh Excel Worksheet Functions 4 July 10th 08 06:22 AM
Conditional Formatting of cells containing interger values tralbert Excel Discussion (Misc queries) 6 April 24th 08 08:22 PM
Conditional Formatting of Cells with Multiple Cell Values BDankas Excel Discussion (Misc queries) 4 September 6th 07 07:06 PM
Conditional Formatting on Null Value Ember Excel Worksheet Functions 4 July 24th 07 09:26 PM
cntrl + down arrow and null values in cells Craig Excel Discussion (Misc queries) 2 October 26th 05 10:23 PM


All times are GMT +1. The time now is 08:16 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"