I have a dashboard that specifies this month's income from various stores and also the previous month's income, each store having its own row. I want to include a traffic light in the cell for this month that turns green if this month's income is equal to or greater than the previous months * growth factor, else it is red.
In my example, this month's income from my first store is in cell B9, last month's in cell C9 and the growth factor for all stores (as a percentage) in C4.
On an individual line (taking row 9 as an example), the following Conditional Formatting works:
Green if B9>=$C$9*(1+$C$4)
But I have about 200 stores I want to compare so I tried to copy and paste the formatting, but the $ around C9 meant that all the subsequent stores were referencing C9 rather than their own prior month's data.
If I try to remove the $ from C9, I get the following message:
You cannot use relative references in Conditional Formatting criteria for color scales, data bars and icon sets.
I don't want to go through it line by line and manually change the Conditional Formatting for each store - is there an easy way to achieve what I am trying to do?
Thanks.
In my example, this month's income from my first store is in cell B9, last month's in cell C9 and the growth factor for all stores (as a percentage) in C4.
On an individual line (taking row 9 as an example), the following Conditional Formatting works:
Green if B9>=$C$9*(1+$C$4)
But I have about 200 stores I want to compare so I tried to copy and paste the formatting, but the $ around C9 meant that all the subsequent stores were referencing C9 rather than their own prior month's data.
If I try to remove the $ from C9, I get the following message:
You cannot use relative references in Conditional Formatting criteria for color scales, data bars and icon sets.
I don't want to go through it line by line and manually change the Conditional Formatting for each store - is there an easy way to achieve what I am trying to do?
Thanks.