Automation in excel

yes im trying to match both id in the 2 excel . and when 2 id match i will write something in other column and if not match the id from output excel will write something too.