Conditional Formatting - find in a list and if

JLH

New Member
Joined
Jul 28, 2010
Messages
1
I need to conditionally format column U which contains a % value.

Column P and column R contain values which can appear in only one of three lists: hi, med, lo.

What I would like to achieve is (using row 3 as an example but to work on the entire column):
If U3 is blank then no format

If R3 appears in hi then colour U3 red

If R3 appears in med and if P3 appears in hi, and U3<75% then colour U3 red
If R3 appears in med and if P3 appears in hi, and U3>=75% then colour U3 yellow

If R3 appears in lo and if P3 appears in hi, and U3<75% then colour U3 red
If R3 appears in lo and if P3 appears in hi, and U3>=75% then colour U3 yellow

If R3 appears in lo and if P3 appears in med, and U3<75% then colour U3 yellow
If R3 appears in lo and if P3 appears in med, and U3>=75% then colour U3 green

If R3 appears in lo and if P3 appears in lo, then colour U3 green

It sounded simple till I came to write it down. Grateful for any help
- cheers!
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Watch MrExcel Video

Forum statistics

Threads
1,133,321
Messages
5,658,140
Members
418,429
Latest member
Regila

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