[英]Apply conditional formatting to many rows
I have a data validation set up for a list to choose from (B7:B1000), only two words can be selected: PP
or SW
. 我设置了数据验证列表,以供选择(B7:B1000),只能选择两个单词:
PP
或SW
。 I have figured out a conditional format to fill the row if PP
is selected but I need to apply this to the whole spreadsheet. 如果选择了
PP
我想出了一种条件格式来填充行,但是我需要将此条件应用于整个电子表格。 I am having to apply conditional formatting for every row and it's time consuming if I need to do this for 1,000 rows. 我必须为每行应用条件格式,如果我需要对1000行执行此操作,则很费时间。
I selected Use a formula to determine which cells to format . 我选择了使用公式来确定要格式化的单元格 。 This is what I currently have it set up as:
这是我目前设置为的内容:
=B7="PP" conditional formatting to be applied to =$F$7:$N$7
I now need to do this for all rows in the spreadsheet: 现在,我需要对电子表格中的所有行执行此操作:
=B8="PP" conditional formatting to be applied to =$F$8:$N$8
=B9="PP" conditional formatting to be applied to =$F$9:$N$9
=B10="PP" conditional formatting to be applied to =$F$10:$N$10
and so on. 等等。
Is there a quicker way rather than manually doing this for 1,000 rows? 有没有比手动处理1000行更快的方法?
I have tried the format painter but its just copies the previous formula. 我已经尝试过格式画家,但它只是复制了以前的公式。 Tried removing the
$
symbols but when I click Apply
they are re-inserted. 尝试删除
$
符号,但是当我单击“ Apply
时, Apply
其重新插入。
Your Title makes me wonder whether you would like some formatting for SW
as well as PP
but guessing you don't then in Row7 please try: 您的头衔让我想知道您是否想要
SW
和PP
某种格式,但是如果您不希望在Row7中使用,请尝试:
=$B7="PP"
for the CF formula and make sure Applies to
shows =$A$7:$Z$1000
- or whatever column reference you choose in place of Z. CF公式,并确保“
Applies to
显示” =$A$7:$Z$1000
或您选择代替Z的任何列引用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.