Multiple Conditional Formatting.

SaiAtachi3000

New Member
Joined
Apr 16, 2022
Messages
1
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
I'm looking for multiple conditional formatting. What I'm trying to do is get cells to highlight if they are within a certain range of another cell. For ex: if A2 is 2% less than B2, I need it to highlight red. If it is less than 1% percent, equal to or greater than B2 then I need it to highlight yellow. The same for the rest as well. If C2 is less than or D2 by 2 minutes or equal to D2 then highlight yellow. If it's greater than D2 by 2 minutes then highlight red.
1650145192716.png
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Each format 'Condition' requires an excel formula that resolves to TRUE/FALSE to display/hide the conditional format. An example.

Book2
ABCDE
1ABYellow Red
27.768TRUETRUE
37.828TRUETRUE
47.888TRUEFALSE
57.98TRUEFALSE
688FALSEFALSE
78.18FALSEFALSE
88.28FALSEFALSE
9108FALSEFALSE
Sheet1 (2)
Cell Formulas
RangeFormula
D2:D9D2=($B2-$A2)>($B2/100)
E2:E9E2=($B2-$A2)>($B2/100)*2
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:A9Expression=($B2-$A2)>($B2/100)*2textNO
A2:A9Expression=($B2-$A2)>($B2/100)textNO
 
Upvote 0

Forum statistics

Threads
1,214,999
Messages
6,122,645
Members
449,093
Latest member
Ahmad123098

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