问题
I have a sheet in which I created a conditional formatting rule:
if columnB > 50 then columnA fill color green.
The result is OK for the whole of columnA, based on columnB. The problem is that when I copy the format to columnX this should be based on columnY but remains based on columnB.
I need an automatic way to format the cells based on the neighbouring column and not a fixed column.
回答1:
Take the anchor ($
) off the front of your B
in the formula for the formatting being copied before copying.
回答2:
In conditional formatting is it listed the following:
$2$B>50
If this is the case then take away the $. Should look at this:
2B>50
BY doing this when you copy and paste it not stay on column B
来源:https://stackoverflow.com/questions/25547723/conditional-formatting-based-on-relative-column