Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Formula yields State, not Numbers!
Why does my formula =OR(O8<"";H9<"";1;0) display "TRUE" when cell O8 or
H9 is empty? It should yield 0 (Zero). It also displays and "TRUE" when these cells are not empty; it should yield 1... -- Felix |
#2
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Formula yields State, not Numbers!
The OR returns a Logical. You must enclose it in an IF.
=IF(OR(O8<"";H9<"");1;0) The assumes that ; is a valid replacement for , -- Gary''s Student - gsnu200755 "Felix" wrote: Why does my formula =OR(O8<"";H9<"";1;0) display "TRUE" when cell O8 or H9 is empty? It should yield 0 (Zero). It also displays and "TRUE" when these cells are not empty; it should yield 1... -- Felix |
#3
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Formula yields State, not Numbers!
Hi Felix,
=IF(OR(O8<"";H9<"");1;0) -- Kind regards, Niek Otten Microsoft MVP - Excel "Felix" wrote in message ... | Why does my formula =OR(O8<"";H9<"";1;0) display "TRUE" when cell O8 or | H9 is empty? It should yield 0 (Zero). | | It also displays and "TRUE" when these cells are not empty; it should yield | 1... | | | | -- | Felix |
#4
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Formula yields State, not Numbers!
How about this:
=--OR(O8<"",H9<"") -- HTH, RD ================================================== === Please keep all correspondence within the Group, so all may benefit! ================================================== === "Felix" wrote in message ... Why does my formula =OR(O8<"";H9<"";1;0) display "TRUE" when cell O8 or H9 is empty? It should yield 0 (Zero). It also displays and "TRUE" when these cells are not empty; it should yield 1... -- Felix |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How can I show state-by-state data (as silos) on a map of NA | Charts and Charting in Excel | |||
Need help with bond yields | Excel Discussion (Misc queries) | |||
Need help with bond yields | Excel Worksheet Functions | |||
Converting State Names to State Abbreviations | Excel Discussion (Misc queries) | |||
ACCRINT formula yields incorrect result | Excel Worksheet Functions |