Search code examples
excelconditional-formatting

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.

enter image description here


Solution

  • 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