Hello,
I am in need of a formula that will allow me to compare two datasets with repeating employee IDs. The Task: I have to audit payments to employees. There is one sheet with a list of employee IDs and the payment they should receive, and another sheet from a system report listing the payments entered for the same employees. I have tried to use VLookup but it does not work when an employee is listed multiple times in either sheet. For example, John Smith may receive three payments of 500, 300, 1000. In both reports this will show as three rows with the different payments. However, when I use Vlookup to compare the two sheets, it shows John Smith with three rows but all payments show as 500. It seems to take the first value for John Smith and plugs it in the other two rows. See sample pic. Also, the rows in either sheets do not align row for row and not all employees may show in the system generated report sheet. The formula has to be able to use the employee's ID and the money value from one sheet and match it in the other sheet.
Thank you in advance for any help.
I am in need of a formula that will allow me to compare two datasets with repeating employee IDs. The Task: I have to audit payments to employees. There is one sheet with a list of employee IDs and the payment they should receive, and another sheet from a system report listing the payments entered for the same employees. I have tried to use VLookup but it does not work when an employee is listed multiple times in either sheet. For example, John Smith may receive three payments of 500, 300, 1000. In both reports this will show as three rows with the different payments. However, when I use Vlookup to compare the two sheets, it shows John Smith with three rows but all payments show as 500. It seems to take the first value for John Smith and plugs it in the other two rows. See sample pic. Also, the rows in either sheets do not align row for row and not all employees may show in the system generated report sheet. The formula has to be able to use the employee's ID and the money value from one sheet and match it in the other sheet.
Thank you in advance for any help.