Compare 2 lists in Excel and List the Differences

AngleseyExcel

New Member
Joined
Feb 4, 2021
Messages
39
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I'm a little stuck on a project.

Sheet 1 has a list of people
Sheet 2 has a list of people

Sheet 3 needs to compare the lists in Sheets 1 and 2 and list the differences between them.

I'm not sure of the syntax, and how to write the indirect formula to do this ?

Any help would be greatly appreciated.

p.s. i'd rather not use conditional formatting for this.
 
Yes the rest look ok. :)
I've tried changing the quotes, but getting an error, any idea what i'm doing wrong ?

Excel Formula:
=FILTER(INDIRECT("’"&B2&"’"!D10:D61),(COUNTIFS(INDIRECT("’"&B2&"’"!A10:A61),INDIRECT("’"&B2&"’"!D10:D61))=0)*(INDIRECT("’"&B2&"’"!A2:A100<>"")),"")
 
Upvote 0

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Yes the rest look ok. :)
I've tried it, and still getting an error. Any idea where i'm going wrong ?

Excel Formula:
=FILTER(INDIRECT("’"&B2&"’"!D10:D61),(COUNTIFS(INDIRECT("’"&B2&"’"!A10:A61),INDIRECT("’"&B2&"’"!D10:D61))=0)*(INDIRECT("’"&B2&"’"!A2:A100<>"")),"")
 
Upvote 0
Why do you need to use INDIRECT when the previously posted example (post #4) seemed to work if adjusted for the specific rows and columns?
 
Upvote 0
Try it like
Excel Formula:
=FILTER(INDIRECT("’"&B2&"'!D10:D61"),(COUNTIFS(INDIRECT("’"&B2&"’!A10:A61"),INDIRECT("’"&B2&"’!D10:D61"))=0)*(INDIRECT("’"&B2&"’!A2:A100")<>""),"")
 
Upvote 0
Why do you need to use INDIRECT when the previously posted example (post #4) seemed to work if adjusted for the specific rows and columns?
Because the sheet name in B2 will change, so i want it to compare the lists in the same positions on other sheets. I know what i want to do, just not how to write the formula for it.
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,213
Members
452,618
Latest member
Tam84

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