Conditionally Format two Cells based on the % of another cell

Dougie1

Board Regular
Joined
Jul 27, 2007
Messages
212
Hi,

I wonder if anyone can help?

Am using Excel 2016

I want to conditionally format 2 columns of cells based on the % of another column

What I am trying to do is format cells A2 & B2 based on a % of C2 (which is hidden)

I would like cells A2 & B2:

To be filled Green if they are between 71% and 80% of C2

To be filled Orange if they are between 81% and 90% of C2

To be filled Red if they are 91% and over of C2

I would then like to do the same for A3 & B3 based on a % of C3 - and so on down the columns

Can anyone advise please?

Many thanks,

D
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
1. Select all the cells in cols A & B you want to format conditionally
2. Home>Conditional Formatting>New Rule>Use a formula
3. Formula for the green fill is: =AND(A2/$C2>=0.71,A2/$C2<=0.8)

choose the format and click OK. Repeat for orange and red using the appropriate limits for each.
 
Upvote 0
Thank you so much JoeMo - that works a treat!

Much appreciated

D
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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