Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Conditional Formula help
=OR($F$1=5,$O$1=5000)This formula works fine if both conditions are met. How
would you rewrite it to show in red if only one or both conditions are met. Say there is only a 5 in F1 and no 5000 in O1 or 5000 in O1 and no 5 in F1. I need it to show in red if only one condition is met. Thanks in advance!!! |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Conditional Formula help
=IF(OR($F$1=5000,$O$1=5000),[THEN condition],[ELSE condition])
"IF F1 OR O1 = 5000, THEN [your condition], ELSE [other condition]" -- Brevity is the soul of wit. "Richard" wrote: =OR($F$1=5,$O$1=5000)This formula works fine if both conditions are met. How would you rewrite it to show in red if only one or both conditions are met. Say there is only a 5 in F1 and no 5000 in O1 or 5000 in O1 and no 5 in F1. I need it to show in red if only one condition is met. Thanks in advance!!! |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Conditional Formula help
I'd say try your conditions again.
=or() will return true if one or more of the conditions are satisfied. Richard wrote: =OR($F$1=5,$O$1=5000)This formula works fine if both conditions are met. How would you rewrite it to show in red if only one or both conditions are met. Say there is only a 5 in F1 and no 5000 in O1 or 5000 in O1 and no 5 in F1. I need it to show in red if only one condition is met. Thanks in advance!!! -- Dave Peterson |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Conditional Formula help
I have tried your conditional format formula and it works, the only
difference is i took out the $ that make the cell references absolute. If you are going to copy this format to another cell that is relaive, this is a must, otherwise the formula worked fine. "Dave Peterson" wrote: I'd say try your conditions again. =or() will return true if one or more of the conditions are satisfied. Richard wrote: =OR($F$1=5,$O$1=5000)This formula works fine if both conditions are met. How would you rewrite it to show in red if only one or both conditions are met. Say there is only a 5 in F1 and no 5000 in O1 or 5000 in O1 and no 5 in F1. I need it to show in red if only one condition is met. Thanks in advance!!! -- Dave Peterson |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Conditional Formula help
I kept the absolute references since the original poster had them in his first
post. REST wrote: I have tried your conditional format formula and it works, the only difference is i took out the $ that make the cell references absolute. If you are going to copy this format to another cell that is relaive, this is a must, otherwise the formula worked fine. "Dave Peterson" wrote: I'd say try your conditions again. =or() will return true if one or more of the conditions are satisfied. Richard wrote: =OR($F$1=5,$O$1=5000)This formula works fine if both conditions are met. How would you rewrite it to show in red if only one or both conditions are met. Say there is only a 5 in F1 and no 5000 in O1 or 5000 in O1 and no 5 in F1. I need it to show in red if only one condition is met. Thanks in advance!!! -- Dave Peterson -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Reusing formula | Excel Discussion (Misc queries) | |||
Conditional Formatting Against a Formula - not it's result | Excel Discussion (Misc queries) | |||
need a conditional formula to generate numbers divisible by 4 between a given starting no. & end No. | Excel Worksheet Functions | |||
Conditional formatting...cont. from 9/25 | Excel Discussion (Misc queries) | |||
Formula Dependant Conditional Formatting | Excel Discussion (Misc queries) |