I am trying to write some code that will compare two cells on a row and if they match then it will highlight another cell on the same row.
Column U-has Y, N entered
Column V-has Y, N entered
Column G-has a name entered
I need the macro to look at Column U and Column V and for example if the cell U2 has a N, and V2 has a N then the macro would highlight the cell G2 yellow.
The spreadsheet will vary on how many rows it contains. It can contain up to 5,000 rows and the macro would need to go through all the rows.
Any help would be greatly appreciated.
Bookmarks