Conditional Formatting using Formula Option

Hazeyt

New Member
Joined
Jan 23, 2023
Messages
29
Office Version
  1. 365
I have a list of Departments with Headcount figures (B8 to B19) then percentages from April to November in other columns (G8 to S19).

I have already added conditional formatting to show all departments with 9% or more and only departments who have a headcount greater than 20.

The formula I am using is =AND(G8>=9%,$B8>20) this fills the cells Red.

I now want to add another rule to change any percentages between 6 and 9 to fill the cell Amber. Still only for departments that have a headcount greater than 20.

Does anyone know the formula to add to this?

Thank you
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
"Between" inclusive, or "between" exclusive"? Here is exclusive, change to suit.
Excel Formula:
=AND($G8>6%,$G8<9%, $B8>20)
 
Upvote 0
Please show sample data and expected results. Here are the results for your original formula for red plus my new formula for amber.

$scratch.xlsm
BCDEFG
8348%
9404%
10338%
112112%
122411%
13158%
142011%
15283%
16403%
17506%
18438%
19223%
Departments
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B8:G19Expression=AND($G8>6%,$G8<9%, $B8>20)textNO
B8:G19Expression=AND($G8>=9%,$B8>20)textNO
 
Upvote 0
Solution

Forum statistics

Threads
1,223,268
Messages
6,171,100
Members
452,379
Latest member
IainTru

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