Forum Discussion
Conditional Formatting on whole column with variable reference cells
Thanks Riny_van_Eekelen
I've applied your suggestion and it has worked majoritably, however there are a few that are inaccurate, i.e. same value or higher value any ideas why this is please see attached photo:
Any ideas why this is happening, please?
Thankyou 🙂
Since you apply CF to entire column D, your formula shall be for the first cell of the range, other words for D1, otherwise the logic will be shifted. I'd suggest
=$D1<OFFSET($D1,-1,1)
and
- LazyBeeNov 14, 2019Copper Contributor
SergeiBaklan Hmm, this seems to have complicated things slightly. I applied the example given to cell D5 "=$D5<OFFSET($D5,-1,1)" and now the 1st cell is filled red.
This is understandable as E4 has letters not numbers, but it hasn't resolved the original problem. Infact it seems to have delivered a new one:
When I change the value (highlighted Yellow) to trigger the formatting it actually changes D3!?
Did I miss something?
Thanks for your help
- SergeiBaklanNov 14, 2019Diamond Contributor
First, in this variant we apply conditional formatting to entire column D, not to concrete cell or range.
To exclude headers we may modify rule formula as
=($D1<OFFSET($D1,-1,1))*(ROW()>5)
When it'll be like
Please check in attached file.
- LazyBeeNov 14, 2019Copper Contributor
SergeiBaklanPERFECT! Thankyou so much, really appreciate the additional time spent on helping me clarify my oversight, Thanks! 😄