your title says remove duplicates, but your post, supported by the example file, suggests you want columns G and H to show items that are in columns A and B, but not in columns D and E.
here is an array formula for cell G2 (control + Shift + enter):
=IFERROR(INDEX($A$2:$A$27,MATCH(0,IFERROR(MATCH($A$2:$A$27,$D$2:$D$14,0),COUNTIF($G$1:$G1,$A$2:$A$27)),0)),"")
then drag down
here is an array formula for cell H2 (control + Shift + enter):
=IFERROR(INDEX($B$2:$B$27,MATCH(0,IFERROR(MATCH($B$2:$B$27,$E$2:$E$14,0),COUNTIF($H$1:$H1,$B$2:$B$27)),0)),"")
then drag down
Bookmarks