+ Reply to Thread
Results 1 to 2 of 2

search a list and return a value if in another list

  1. #1
    Registered User
    Join Date
    10-11-2012
    Location
    Alberta
    MS-Off Ver
    Excel 2007
    Posts
    1

    search a list and return a value if in another list

    Hard to explain, but should be easy for Excel pro's:

    Say I have a column of values in A, and a column of values in B.

    A B C
    1 4 yes
    2 1 yes
    3 2 yes
    4 3 yes
    5 11 no
    6 18 no
    7 28 no
    8 0 no
    9 56 no

    In column C, I would like a "yes" or "no" returned. The condition would be if the value in B1 is found in the list A1:A9, return yes, else no, as demonstrated above. And then carry on down the list.

    Thanks!

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: search a list and return a value if in another list

    In C1 try this:

    Please Login or Register  to view this content.
    Copy/autofill down.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

+ 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