Excel Conditional Formatting with Icon Sets using relative reference

sersan

New Member
Joined
Jun 1, 2018
Messages
2
Hi all,

I'm trying to create a conditional formatting in a column that will look to the value in the previous column to apply the traffic lights icons: green, yellow, and red.
The idea is, if value equals or higher than reference value then green, if greater than 75% of that value then yellow, otherwise red.
However, icon sets don't allow the usage of relative reference, it has to be an absolute value. The "easy" option would be to create a different rule for each cell, but that would take forever.

I'm trying to use OFFSET as a way to trick Excel, but for some reason it doesn't work...
As an example, please consider the following example:


In the conditional formating, I'm using the formula "=OFFSET($C$3,ROW()-3,0,1,1)" for the "green" and "=OFFSET($C$3,ROW()-3,0,1,1)*0.75" for yellow, with the results observed in the picture.
As you can see, cell D5 should be green!

Hope someone can find the problem, or suggest another way to make this conditional formatting work!

Many thanks to all for the help!
Regards
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Sorry, figure not available...
It should be something like this:
ABCDE
1
2
3A100%79%(yellow)
4B80%46%(red)
5C85%90%(yellow)
6D100%70%(red)
7E50%15%(red)
8F50%78%(yellow)
9G30%15%(red)
10H50%40%(red)
11I100%83%(yellow)
12J100%52%(red)
13K90%15%(red)
14L90%52%(red)
15M70%75%(yellow)
16N100%64%(red)
17O100%79%(yellow)
18P90%62%(red)

<colgroup><col span="4"><col><col></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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