+ Reply to Thread
Results 1 to 2 of 2

Thread: Does X appear in Y? List

  1. #1
    Registered User
    Join Date
    03-10-2010
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    8

    Does X appear in Y? List

    Hi, I have a very simple problem.

    Basically i want a formula where it says if a value appears in another list on a different tab

    IE:

    I have 2 tabs both with part number lists on. Rather than check manually if a part appears on both i want it to check for me

    EG

    IF A1 (contains) 12345 Say "Y", If not say "N"

    I dont think an IF is the right thing here.

    I also need to copy and past the two lists each week so the formula will have to be generif to whatever code appears in that week, IE< A1 could be 12345 in week 1, but 98765 in week 2.


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

    Re: Does X appear in Y? List

    Maybe something like:

    =ISNUMBER(MATCH(A1,'Sheet2'!A:A,0))

    where Sheet2!A:A is the list you want to match against...

    this returns TRUE if a match is found and FALSE if not.

    Does that work?
    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.

+ 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.2.0