简体   繁体   English

如何根据公式在Excel中突出显示行

[英]How to Highlight Rows in excel based on a Formula

I'm trying to highlight all rows that have been returned True by the following formula in excel: =$G131=$G132 我想强调的是已返回所有行True在Excel以下公式: =$G131=$G132

In the above, if the details of G131 are equal to G132 , then return True and Highlight entire row. 在上面,如果G131的详细信息等于G132 ,则返回True并突出显示整行。

  • Select the row to be formatted; 选择要格式化的行;
  • On the ribbon select Home > Conditional Formatting > New Rule; 在功能区上,选择“主页”>“条件格式”>“新规则”;
  • In the new formatting rule, click Use a formula to determine which cells to format; 在新的格式设置规则中,单击“使用公式来确定要格式化的单元格”。
  • Under Format values where this formula is true, type the formula: =G131=G132 ; 在“此公式为真的格式值”下,键入公式: =G131=G132 ;
  • Select the format color; 选择格式颜色;
  • Click OK ; 点击确定

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM