+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    02-12-2009
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2000
    Posts
    52

    Match formula...

    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

  2. #2
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,131

    Re: Masterlist help....

    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.

  3. #3
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,131

    Re: Match formula...

    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.

  4. #4
    Registered User
    Join Date
    02-12-2009
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2000
    Posts
    52

    Re: Match formula...

    would these formulas work if the array were two columns, eg A:B?

    i'm just thinking if this causes the problem?

  5. #5
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,379

    Re: Match formula...

    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...)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0