Nested IF/AND/OR in Conditional Formatting

Neil R

New Member
Joined
Jul 17, 2009
Messages
2
Hi,

Does nested OR() work?

I need some help with a formula for conditional formatting which should satisfy three conditions. The hitch is two of those conditions should be clubbed as Condition 1 and the third should stand as Conditon 2. It goes something like this:

If [Today<=Date1 & (Condition A OR ConditionB)] is true, OR if Condition C is true, then Format X.

My efforts:

=OR((TODAY()<=$H$25, AND(OR($F$25="A", $F$25="B"))), $F$25="C")

=IF(OR((TODAY()<=$H$26, AND(OR($F$26="A", $F$26="B")))), $F$26="C")

Something is not just right in there. Some quick suggestions please?
Thanks!
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Hello and welcome to the board,

something like,

=OR(AND(TODAY() < =$H$25, OR($F$25="A", $F$25="B")), $F$25="C")
 
Upvote 0
Hey Sankar... that worked!! Thanks a ton!

Now that I look at the changes you made, it seems quite easy (it always is, when you know the solution ;)) but of course it did not strike me at all.

Regards,
Neil R
 
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,580
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top