Compare lists and generate new list with what is different from the first list

bh24524

Active Member
Joined
Dec 11, 2008
Messages
365
Office Version
  1. 365
  2. 2007
Hello, as I mentioned last week I would be posting this. This is very similar to my post last week about comparing two lists and generating a third list of items that were missing. Well this time, I am looking to compare two lists and generate a third list of what is different from List 1. Periodically, we do audits on employee information between two systems to make sure they match. There are actually two different audits that we do but if I can get a solution for this one, then I can apply that the second one which has different fields, but the same number of comparisons.

SCENARIO
ABCD
1List 1
2Employee NameEmployee IDPosition CodeRate of Pay
3John Smith 1
1234567​
10305275​
$ 20.00
4John Smith 2
2345678​
10305276​
$ 20.00
5John Smith 3
3456789​
10305276​
$ 20.00
6John Smith 4
4567890​
10305275​
$ 20.00
7John Smith 5
5678901​
10305276​
$ 21.00

FGHI
1List 2
2Employee NameEmployee IDPosition CodeRate of Pay
3John Smith 1
1234567​
10305276​
$ 21.00
4John Smith 2
2345678​
10305275​
$ 20.00
5John Smith 3
3456789​
10305276​
$ 20.00
6John Smith 4
4567890​
10305275​
$ 20.50
7John Smith 5
5678901​
10305276​
$ 21.00

KLMN
1List 3
2Employee NameEmployee IDPosition CodeRate of Pay
3John Smith 1
1234567​
10305276
$ 21.00
4John Smith 2
2345678​
10305275
$ 20.00
5John Smith 4
4567890​
10305275​
$ 20.50

We are doing an audit between List 1 and 2 and looking for differences in position codes and/or pay rates. List 3 has the info of those who have something different between the two lists and lists them accordingly. John Smith1 has a different position code and a different pay rate. John Smith2 has a different position code but his pay rate is the same. John Smith4 has the same position code between the two lists but a different pay rate. So their names would be generated because one or BOTH of those fields has something different from the first list.

I'm pretty sure the formula here would utilize Aggregate but that is a function I am not at all familiar with so I definitely need help on that.
 
Yeah I've been looking into that aspect of it (only showing the disconnects). Do you have excel 365? If so, there's a new FILTER formula that only displays list info if criteria is met:

Unfortunately no. I only have 2013. We are supposed to get an upgrade, but it might not be until next year.
 
Upvote 0

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Attachments

  • demo.jpg
    demo.jpg
    217 KB · Views: 13
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,633
Latest member
DougMo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top