Conditional Formatting based on relative column

*爱你&永不变心* 提交于 2020-01-07 09:35:17

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!