Compare Two Columns

New Contributor

I have a list of employees who submitted their daily reports.  I need to compare this list with the complete employee roster to determine which employees did not submit their daily report.  How can I do that?

7 Replies



you forgot to mention which worksheet you would like the result


It depends on which version of Excel you are, how your data is organized and in which form you'd like to see the result.

That could be helper COUNTIF() column with filtering on it, could be dynamic arrays formulae, could be conditional formatting, could be Power Query, whatever.

Okay. Here are the details. Each day my employees submit a daily report to the cloud. A summary report is run automatically and emailed to me by the software company. I need to create a list at the bottom of the report of names of employees who did not submit a report. I was trying to compare this report with a master file of names. How should I do this?


Thank you, but still better to have sample file.

If these are two different file you may use Power Query to compare data an return the table with records which don't meet condition.

I will give Power Query a try.


@pbexpresss Hi. Assuming Excel 365, this is a way

XMATCH looks for all names among those reported.

ISERROR becomes true if they are not in the list of reported hours

FILTER shows all names that have not reported






Change G2:G6 to range in your workbook with all names.


Using the function LET makes it easier to read and test the different parts.

Last line is what the cell outputs and changing "output" to eg haveReport shows that part of the calculation.

I prefer to have the definitions indented.



@bosinander The combination of functions worked perfectly.  I created a file that maintains my master employee list.  When I retrieve the file summarizing my employees' daily report submissions, the macro I created uses your suggestions to compare the list from one file with the other file. Then it gives me a list of employees who did not work that day at the bottom of the daily report submission report.