Filter Differences between 2 Tables

uk747

Well-known Member
Joined
Jul 20, 2011
Messages
832
Office Version
  1. 365
Platform
  1. Windows
Have 2 Tables. One on Sheet1 and Sheet2

Some people may appear in a Table but not in the other that's fine. What I need is to Filter and Just show where a person appears in both Tables but there Salary is different in one of the Tables

e.g. in Eg Below Result should be

Alan because he is 24000 in Table 1 and 24500 in Table 2 and Mike as he is 23550 in Table 1 but 23560 in Table 2

and would like result as below:-
Name Salary1 Salary2
Alan 24000 24500
Mike 23550 23560


Sheet1 Table
NameRandom StuffRandom StuffRandom StuffSalary
Fredxxx
20250​
Bobxxx
30000​
Alanxxx
24000​
Davexxx
27000​
Gemmaxxx
26000​
Mikexxx
23550​
Benxxx
28750​
Arthurxxx
54500​

Sheet2 Table

NameRandom StuffRandom StuffRandom StuffSalary
Fredxxx
20250​
Bobxxx
30000​
Alanxxx
24500​
Davexxx
27000​
Gemmaxxx
26000​
Mikexxx
23560​
Benxxx
28750​
Maryxxx
32400​
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
How about
Fluff.xlsm
ABCDEFGHIJ
1NameRandom StuffRandom StuffRandom StuffSalary
2Fredxxx20250
3Bobxxx30000
4Alanxxx24000
5Benxxx27000Alan2400024500
6Gemmaxxx26000Mike2355023560
7Mikexxx23550Dave2875027000
8Davexxx28750
9Arthurxxx54500
10
11
12
13
14
15
16
17
18
19
20NameRandom StuffRandom StuffRandom StuffSalary
21Fredxxx20250
22Bobxxx30000
23Alanxxx24500
24Davexxx27000
25Gemmaxxx26000
26Mikexxx23560
27Benxxx27000
28Maryxxx32400
29
Sheet4
Cell Formulas
RangeFormula
H5:J7H5=LET(x,XLOOKUP(A2:A9,A21:A28,E21:E28,""),FILTER(HSTACK(CHOOSECOLS(A2:E9,1,5),x),(COUNTIFS(A21:A28,A2:A9))*(x<>E2:E9)))
Dynamic array formulas.
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,340
Messages
6,124,386
Members
449,155
Latest member
ravioli44

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