Conditional Format

markkevin29

New Member
Joined
Feb 3, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Need help to set the RAG format of the cell
Conditions as follow: 0 = green, > 0 is yellow, > 0 for last 3 months = red
Sample 1​
Sample 2​
Sample 3​
Sample 4​
Sample 5​
Sample 6​
Current Month​
1​
0​
1​
1​
0​
0​
Month-1​
0​
1​
1​
1​
0​
0​
Month-2​
0​
1​
1​
0​
0​
1​
RAG​
Amber​
Green​
Red​
Amber​
Green​
Green​

Cant seem to apply formula using icons
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Is this what you want?

1644214392999.png


If so, formula in B5, copied across
Excel Formula:
=IF(B2=0,3,IF(MIN(B2:B4)>0,1,2))

This icon set Conditional Formatting used

1644214490384.png


If that is not what you wanted, more explanation please.
 
Upvote 0

Forum statistics

Threads
1,215,548
Messages
6,125,472
Members
449,231
Latest member
Sham Yousaf

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