Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Using all three conditions for green/yellow/red background formats. I the red condition I need a formula returning a true condition for a zero, and false when the cell is blank. (Excel treats the blank as zero and returns true). For example, if cell H21 holds a zero, the condition would be true and the cell would have a re background; if H21 was blank, a false condition would exist and no conditional formatting would be applied - in other words, whatever th default cell background is, would prevail. What would this formula be -- Phil H ----------------------------------------------------------------------- Phil H.'s Profile: http://www.hightechtalks.com/m22 View this thread: http://www.hightechtalks.com/t228056 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=if(len(trim(H21))=0,False,if(H21=0,True,False))
-- Regards, Tom Ogilvy "Phil H." wrote in message ... Using all three conditions for green/yellow/red background formats. In the red condition I need a formula returning a true condition for a zero, and false when the cell is blank. (Excel treats the blank as a zero and returns true). For example, if cell H21 holds a zero, the condition would be true and the cell would have a red background; if H21 was blank, a false condition would exist and no conditional formatting would be applied - in other words, whatever the default cell background is, would prevail. What would this formula be? -- Phil H. ------------------------------------------------------------------------ Phil H.'s Profile: http://www.hightechtalks.com/m229 View this thread: http://www.hightechtalks.com/t2280567 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formatting TRUE/FALSE to 1/0 | Excel Discussion (Misc queries) | |||
What's the best way to toggle between true and false in Excel? Hiall, My excel work involves a lot of toggling between true and false (booleantypes) ... and it's very repetitive... Is there a way to select a bunch ofcells, and press a key short-cu | Excel Discussion (Misc queries) | |||
Formatting TRUE as 1 and FALSE as 0 | Excel Discussion (Misc queries) | |||
Function to return True/False if all are validated as True by ISNU | Excel Worksheet Functions | |||
how: if, conditional test, true (do nothing if false) | Excel Discussion (Misc queries) |