Sub Compare2Lists()
' Get the last row of your lists - assuming in Column A and B - Change accordingly
L1LR = ActiveSheet.Cells(Rows.Count, "A").End(xlUp).Row
L2LR = ActiveSheet.Cells(Rows.Count, "B").End(xlUp).Row
' Set Named Ranges firstList and secondList
ActiveWorkbook.Names.Add Name:="firstList", RefersTo:="=Sheet1!$A$1:$A$" & L1LR
ActiveWorkbook.Names.Add Name:="secondList", RefersTo:="=Sheet1!$B$1:$B$" & L1LR
' Add Conditional Formatting on firstList
Range("A1:A" & L1LR).FormatConditions.Add Type:=xlExpression, Formula1:= "=COUNTIF(secondList,A1)=0"
Range("A1:A" & L1LR).Select
Selection.FormatConditions(Selection.FormatConditions.Count).SetFirstPriority
' Set Color 1
With Selection.FormatConditions(1).Interior
.PatternColorIndex = xlAutomatic
.Color = 15773696
.TintAndShade = 0
End With
Selection.FormatConditions(1).StopIfTrue = False
' Add Conditional Formatting on secondList
Range("B1:B" & L2LR).FormatConditions.Add Type:=xlExpression, Formula1:= "=COUNTIF(firstList,B1)=0"
Range("B1:B" & L2LR).Select
Selection.FormatConditions(Selection.FormatConditions.Count).SetFirstPriority
' Set Color 2
With Selection.FormatConditions(1).Interior
.PatternColorIndex = xlAutomatic
.Color = 255
.TintAndShade = 0
End With
Selection.FormatConditions(1).StopIfTrue = False
End Sub