IF Formula / Conditional Formatting

rbahbah

Board Regular
Joined
Oct 23, 2008
Messages
63
Hi -I am having trouble figuring out the below.

If a dollar amount is entered in cell F3, I'd like this cell highlighted in red UNLESS cell H3 contains EITHER "Michael" or "John".

I am trying to create a spreadsheet that will force the user to select a user once he or she enters an amount in cell F3. If they enter an amount in cell F3 without a name (either John or Michael) in cell H3, I'd like F3 to be highlighted in red until a name is selected. If no amount is entered, no harm and no highlighting.

Thanks!
 

Some videos you may like

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

fredlo2008

Active Member
Joined
Jan 12, 2012
Messages
254
Ok this is what you need.

1. Select Column "F" and then go to conditional formatting based on formula. select the settings you want there. Under the formula input this:

=IF(AND(F1<>"",H1=""),TRUE(),FALSE())

2. Create a list under validation to make the drop down options for "Michael" and "John"

Hope it helps
 

BenMiller

Board RegularThe ONLY cool kid on the block
Joined
Nov 17, 2011
Messages
1,959
Office Version
  1. 365
Platform
  1. Windows
For the conditional format formula in F3:
=((H3<>"Michael")+(H3<>"John"))*(ISNUMBER(F3))
 

Watch MrExcel Video

Forum statistics

Threads
1,122,536
Messages
5,596,748
Members
414,095
Latest member
George53

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
Top