Conditional Formatting Formula Help

Lazarus416

Board Regular
Joined
Feb 20, 2013
Messages
103
I'm having some trouble puzzling out a Conditional Formatting formula...it uses AND, NOT & OR functions. I want to highlight the cell under the following conditions..(this is not the actual formula I tried)

(B3 NOT "A" OR "B" OR "C") AND (F3 - H1 >= 7)

B3 is text
F3 is a manually input date and H1 is =TODAY

(I could also make B3 = "A" OR "B" OR "C")

Any ideas on how to make it work? Thanks in advance.
 
Sorry, I don't think so.
Let me ask again:
1. If B3="A" do you want the conditional formatting to be triggered?
2. If B3="B" do you want the conditional formatting to be triggered?
3. If B3="C" do you want the conditional formatting to be triggered?
4. If, say, B3="X" do you want the conditional formatting to be triggered?

M.

1. No
2. No
3. No
4. Yes
 
Upvote 0

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
So you should use this formula (see my answer in post 3)
=AND(B3<>"A",B3<>"B",B3<>"C",F3-H1>=7)

M.

Ah yes, I'm tracking now. The OR statement is unnecessary because the AND covers them all anyway. My brain was stuck on needing the OR to include them all. Thank you for the explanation.
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,210
Members
453,023
Latest member
alabaz

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