11-13-2019 06:47 AM
11-13-2019 06:47 AM
I'd like to format the colour fill of multiple cells within one particular column, when it's value is less than a cell in the row above of the next column. how should I do this please?
eg. when the value of D93 is smaller than the value of E92 format fill red. Apply to all D's.
So far I have established that if I type =($D$93<$E$92) then I can make the rule work for cell D93. But how can I replicate this formula throughout the whole of the D column, without typing for each individual cell. Is this even possible? Is there a short cut to copying the rules over?
11-13-2019 07:01 AM
Remove the dollar signs and then Copy, Paste Formats down the range you need the format to be applied to .
11-13-2019 09:11 AM
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?
11-13-2019 12:02 PM
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
11-14-2019 05:35 AM
@Sergei Baklan 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
11-14-2019 12:35 PM
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
When it'll be like
Please check in attached file.
11-14-2019 02:22 PM
@Sergei BaklanPERFECT! Thankyou so much, really appreciate the additional time spent on helping me clarify my oversight, Thanks!