Comparing Lists

tly0227

New Member
Joined
Oct 2, 2012
Messages
37
I've got 2 questions...

1) I have 2 sheets...1 of them is a list of organizations with their address and other info. The 2nd list is people with their contact info (name, title, organization, email). What I need to do is compare the organization names on sheet A, with the organization names on Sheet B. Essentially, I need to make sure that I have the contact info for at least 1 person at each of the organizations on Sheet A. There's thousands of rows on each of these...so I'm hoping there's an easy way I can compare those lists and then be able to quickly see which ones I still need to get contact info for.

2) On Sheet B, I need to know if there is a contact listed for an organization that isn't on Sheet A so that the org can be added to Sheet A.

I'm thinking maybe both of these can be done with if/then formula's, but not positive on that...
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
1.) Put this on sheet A
=COUNTIF('Sheet B'!C:C, A1)>0
A1 is the organization on sheet A
'Sheet B'!C:C is the organization column on Sheet B
The formula will return TRUE if there is any match for the organization or FALSE if not

2.)Do the opposite on Sheet B
=COUNTIF('Sheet A'!A:A, C1)>0
 
Upvote 0
Thanks! I knew the formula I needed had 'if' in it...I just could remember which one, lol. That worked though, so thanks!
 
Upvote 0

Forum statistics

Threads
1,214,923
Messages
6,122,286
Members
449,076
Latest member
kenyanscott

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