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

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

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

Well-known Member
Joined
Nov 17, 2011
Messages
1,961
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,127,444
Messages
5,624,811
Members
416,056
Latest member
VARSHA V VASWANI

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