Hi, I'm struggling with matching one set of email addresses to another.
So I have a list and a masterlist, I want to know if an email address appears in the master list, Yes or No, then count the yes and nos.
However the 3 formulas i've used are not consistant when I thought they would be!
Any ideas?
=IF(ISNUMBER(MATCH(B2,A:A,0)),"YES","NO")
=IF(ISNA(VLOOKUP(B2,A:A,1,FALSE)),"NO","YES")
=IF(ISNA(MATCH(B2,A:A,0)),"NO","YES")
Thanks,
Last edited by superspurs; 06-12-2009 at 12:34 PM. Reason: told to
Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Thanks for taking the time to read and comply with the rule.
Can you post a sample showing the inconsistency?
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
would these formulas work if the array were two columns, eg A:B?
i'm just thinking if this causes the problem?
Your MATCH formulae should work ok - if they're failing to pick up what you believe to be matches then that would imply you perhaps have formatting issues (ie trailing spaces in one set and not the other) ...
If that's the case find values you "think" are a match in both columns and conduct an EXACT test... ie if you think A10 should match B1 then try:
=A10=B1
if the result is FALSE further investigation is required as to why... eg
=LEN(A10)
=LEN(B1)
are they the same, if not looking for leading/trailing spaces in either string etc...
Posting a sample may be difficult given confidentiality so try the above first and post back.
Last edited by DonkeyOte; 06-15-2009 at 07:33 AM. Reason: (removed EXACT statement incase of misleading Case issues...)
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks