I am not understand what you want.
you want to compare both the sheet then use this formula
=VLOOKUP(A2,Sheet1!A:A,1,0) in second sheet.
or if you want any thing else then please explain.