I have two worksheets in a workbook, one with employee ID and Pay Code for 2016 and one with employee ID and Pay Code from 2017. Some employees that were here in 2016 are not still in company in 2017, and likewise 2017 contains new employees. I would like to do a Vlookup in the 2017 worksheet for the employee using their employee ID and compare their Pay Code to that of 2016...basically i want to look for differences. Those that are the same are ok but those that are different to 2016 I would like to highlight. See the attachedĀ for an example of the spreadsheet, plus my attempt at the formula. It was giving me back what was in the 2016 sheet for all and N/A for those in 2017 that were not present in 2016. I would like it to display just the employees that have a different code in 2017 to 2016. Help would be much appreciated as i am not great with excel!
=VLOOKUP(A3,'2016'!A2:B17,2,FALSE)