Perhaps a macro like this?
Option Explicit
Sub ChkVal()
Dim cell As Range
Sheets("Sheet1").Range("A2:A" & Range("A" & Rows.Count).End(xlUp).Row).Name = "data1"
Sheets("Sheet2").Range("A2:A" & Range("A" & Rows.Count).End(xlUp).Row).Name = "data2"
Sheets("Sheet1").Activate
For Each cell In Range("data1")
If Not IsError(Application.VLookup(cell, Range("data2"), 1, False)) Then
Else
cell.Interior.Color = 15773696
End If
Next
Sheets("Sheet2").Activate
For Each cell In Range("data2")
If Not IsError(Application.VLookup(cell, Range("data1"), 1, False)) Then
Else
cell.Interior.Color = 65280
End If
Next
With ThisWorkbook
.Names("data1").Delete
.Names("data2").Delete
End With
End Sub
Alf
Bookmarks