+ Reply to Thread
Results 1 to 4 of 4

To find if vlookup matches multiple values

  1. #1
    Registered User
    Join Date
    05-29-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    1

    To find if vlookup matches multiple values

    I need to know how to find out if there are multiple matches when i'm using vlookup.
    ActiveCell.FormulaR1C1 = "=IFERROR(VLOOKUP(RC[-2],Sheet2!C6:C8,3,FALSE),"""")" --- this is the formula im using.
    When I use this formula, it returns the first match. But I want to find out if there is multiple matches. Neither do I want the number of matches nor do I want to return the multiple matches. All i want is if there are multiple matches in 0(for no) and 1(for yes) format. Please help. Thanks in advance

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: To find if vlookup matches multiple values

    Why not simply countif like this?

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    02-20-2004
    Posts
    70

    Re: To find if vlookup matches multiple values

    Sixthsense, how about if I want to bring the 'value' instead of the count??
    ~Sachin Attri~

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: To find if vlookup matches multiple values

    Please attach a sample workbook with expected output for better understanding

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.6.0 RC 1