Dynamic conditional formatting

Jacko1307

Board Regular
Joined
Sep 4, 2012
Messages
92
Office Version
  1. 2016
Platform
  1. Windows
I have a live workbook which, is updated weekly with information.

Is there a way to apply a conditional format to the worksheet based on criterion in Column i which has a drop down list of 3 options.

Option 1 - COPF, Option 2 - EOPF, Option 3 - LIG.

The worksheet uses the columns A - to - N

I am trying to find a way to add different colors against each of the 3 criteria ( Amber - COPF, Light Blue to EOPF & Light Green to LIG)
I only want the background color to be applied to each Row in cells A-N. Conditional.JPG
Conditional.JPG
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
In your picture it appears that column A is empty and that COPF, EOPF and LIF are in column I
- if that is not the case, amend the formulas

Example uses 3 CF rules as in image
3 CF rules.jpg


Result
3 CF rules - OUTPUT.jpg


To create CF rules per above example
1. Select cells A2:N2000 (amend to match required range)
2. Conditional formatting \ New Rule \ Use formula to determine which cells to format
3. the formula (see NOTES)
=$I2="COPF"
4. Select amber background colour from formatting options
5. Confirm with OK
6 Repeat for EOPF and LIF

NOTES
The formula used must be correct for the FIRST CELL in range (in above example that cell is A2)
The value being tested is in cell I2
The column is locked with $I because the value tested is always in column I
The 2 is NOT locked because the value tested is in the same row as the cell
 
Upvote 0
Brilliant, thank you works fine.

Thank you so much for your help.

I was trying to over complicate things in the formula :(

Regards,

Martin
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,031
Members
448,940
Latest member
mdusw

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