To begin the process of comparing data, you need to have two sets of data to compare against. For simplicity, bring both data sets into a single Excel workbook.
You need to decide what data (INDEX) do you want returned if a MATCH is found.
Of the two data sets, I suggest adding the formula below on the sheet you will use for reporting. This may require some thinking. I'll call these ReportSheet and ReferenceSheet.
Once you have choosen the primary data set, you need to insert a new column at the beginning/end (or where appropriate).
Give this new column a Heading, for example, MATCH?. This column will be filtered in Excel.
Now you're ready to craft the formula.
Writing the Formula
= INDEX( ReferenceSheet!column of data you want, MATCH( ReportSheet!ROW IDENTIFIER, ReferenceSheet!column of identifiers, 0))
Reporting Table (Preferred Color of Active Employees)