[英]Is there a way to conditional format both row and column based on another cell?
I am trying to conditional format both row and column based on the data in C2.我正在尝试根据 C2 中的数据条件格式化行和列。
For example, if C2=1 then I want Row 1 and Column G to be highlighted because G contains "X".例如,如果 C2=1,那么我希望突出显示第 1 行和第 G 列,因为 G 包含“X”。 I know how to conditional format for the horizontal data (=$B5=$C$2), but is there a way to highlight the vertical data?我知道如何对水平数据进行条件格式 (=$B5=$C$2),但是有没有办法突出显示垂直数据?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.