简体   繁体   English

Excel 中的条件格式比较多行单元格中的值

[英]Conditional Formatting in Excel comparing values in cell over multiple rows

I have two columns Marks and Expected Marks, using conditional formatting i want to highlight all cells where marks are greater than expected marks in the same row.我有两列标记和预期标记,使用条件格式我想突出显示标记大于同一行中预期标记的所有单元格。 How to apply such conditional formatting over multiple rows.如何在多行上应用这种条件格式。

在此处输入图像描述

Select marks cells, in conditional formatting choose "Format only cells that contains", then choose "Greater than" and choose first cell from expected marks column. Select 标记单元格,在条件格式中选择“仅格式化包含的单元格”,然后选择“大于”并从预期标记列中选择第一个单元格。

Result:结果:

在此处输入图像描述

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

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