[英]Excel reference current cell for conditional formatting
So here's my problem.所以这是我的问题。 I have a table of the numbers 1 through 100, and another cell (we'll call it A1) that will contain a number between 1 and 100. I would like to use conditional formatting to fill these cells, so if A1 contains the number 20, all of the cells from 1 to 20 will be filled.
我有一个数字 1 到 100 的表格,以及另一个包含 1 到 100 之间的数字的单元格(我们称之为 A1)。我想使用条件格式来填充这些单元格,所以如果 A1 包含数字20,从 1 到 20 的所有单元格都将被填充。 I am trying to use conditional formatting in order to achieve this, and would like to use the format painter if possible to make this easier (instead of making a new rule each time).
我正在尝试使用条件格式来实现这一点,并且如果可能的话,我想使用格式刷来使这更容易(而不是每次都制定新规则)。 I feel that the best way to accomplish this is to reference the current cell, ie format if
CURRENT_CELL <= A1
.我觉得实现这一点的最佳方法是引用当前单元格,即格式 if
CURRENT_CELL <= A1
。 I am struggling to reference the current cell.我正在努力引用当前单元格。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.