Home > Back-end >  Conditional Formatting in Excel comparing values in cell over multiple rows
Conditional Formatting in Excel comparing values in cell over multiple rows

Time:01-27

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.

enter image description here

CodePudding user response:

Select marks cells, in conditional formatting choose "Format only cells that contains", then choose "Greater than" and choose first cell from expected marks column.

Result:

enter image description here

  • Related