Search code examples
excelexcel-formulaexcel-2013

Excel Highlight one row based on another


I am trying to compare one row with another: IF the cells in Row 1 is equal to Row 2, THEN I must have highlighting. I've tried 100 methods for over an hour now. The problem is that Excel keeps the formula the same across the row!! the formula needs to change, meaning: I am NOT trying to highlight the whole row based on just the first cell, the cell needs to dynamically change. First cell to first cell, 2nd to 2nd, etc. enter image description here

The circled words need to be highlighted.


Sorry to ensure everyone is clear on the requirement, here is my requirement: enter image description here The solution, as a brilliant guy below mentioned, was a stupid $ sign.


Solution

  • change the Formula to = A10 = A9 (or just remove the $'s in yours) and Applies To =$A$10:$E$10