+ Reply to Thread
Results 1 to 2 of 2

Thread: Crosschecking three lists of data.

  1. #1
    Registered User
    Join Date
    01-25-2011
    Location
    Delaware
    MS-Off Ver
    Excel 2003
    Posts
    2

    Crosschecking three lists of data.

    I have a range of numbers which is a master list including 5000 numbers. We will call this master list "X".

    I also have two more worksheets, each worksheet has another range of numbers, but it's a much smaller list. Keep in mind, I know these smaller lists are included in the master list.

    We will call these two ranges "Y" and "Z". What I need to do is categorize which list it's coming from. I need to create a formula that will take the number from X, check Y, and if it's in Y it will produce a text of my choice. After I do that, I need to take the number from X, and check Z, if it's in Z it will produce another text of my choice.

    X1 "Y"
    X2 "Y"
    X3 "X"
    X4 "Y"

    Appreciate any help,

    Regards
    Ghostcode

  2. #2
    Forum Guru JBeaucaire's Avatar
    Join Date
    03-21-2008
    Location
    Bakersfield, CA
    MS-Off Ver
    2010
    Posts
    19,224

    Re: Crosschecking three lists of data.

    Something like:

    =IF(ISNUMBER(MATCH(A1, ListX, 0)), "From List X", IF(ISNUMBER(MATCH(A1, ListY, 0)), "From List Y", IF(ISNUMBER(MATCH(A1, ListZ, 0)), "From List Z", "No Match")))
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    “None of us is as good as all of us” - Ray Kroc
    “Actually, I *am* a rocket scientist.” - JB (little ones count!)

+ 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