+ Reply to Thread
Results 1 to 2 of 2

lookup/vlookup to find if match is located

Hybrid View

burlywood66 lookup/vlookup to find if... 05-19-2010, 12:29 PM
NBVC Re: lookup/vlookup help 05-19-2010, 01:11 PM
  1. #1
    Registered User
    Join Date
    01-28-2010
    Location
    earth, milky way
    MS-Off Ver
    Excel 2010
    Posts
    47

    lookup/vlookup to find if match is located

    I'm trying to do a lookup or vlookup (not sure which I should use) for the following scenario:

    sheet 1:
    Identifiers:
    A
    B
    C

    sheet 2 (Columns A / B)
    A - 1
    A - 2
    A - 3
    B - 1
    B - 2
    C - 1
    C - 3

    For sheet 1, I want to be able to return a "yes" or "no" if sheet 2 has a corresponding value of 3. In this example, A and C would return "yes" with B returning "no".

    Thanks in advance.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: lookup/vlookup help

    Try:

    =IF(SUMPRODUCT(--('Sheet 2'!$A$1:$A$7=A2),--('Sheet 2'!$B$1:$B$7=3)),"Yes","No")

    where data starts in A2 of Sheet 1 and database is in Sheet 2, A1:B7

    adjust as necessary
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

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