+ Reply to Thread
Results 1 to 4 of 4

Look between two lists to find result, and another by ID.

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-11-2007
    Posts
    263

    Question Look between two lists to find result, and another by ID.

    It either seems that I am the only person that looks for these things, or no one seems to ask...I hate asking, but looking on the net has caused my head to implode.

    I am looking to use the original script on the sheet and pull information from two lists. I also need the ability to type in an ID, and find a name like shown on the sheet between the two lists and show the correct results.

    So it will show not only the ID of the name, but where it resides. Is this possible?

    Attached is the sheet... thanks again for the help.
    Attached Files Attached Files

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

    Re: Look between two lists to find result, and another by ID.

    In C3, try:

    =IFERROR(INDEX($I$10:$I$13,MATCH(1,INDEX(($G$10:$G$13=A3)*($H$10:$H$13=B3),0),0)),IFERROR(INDEX($M$10:$M$13,MATCH(1,INDEX(($K$10:$K$13=A3)*($L$10:$L$13=B3),0),0)),""))
    in D3, try:

    =IF(ISNUMBER(MATCH(C3,$I$10:$I$13,0)),$G$8,IF(ISNUMBER(MATCH(C3,$M$10:$M$13,0)),$K$8,""))
    copy both cells and paste to C7, C11, etc...
    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.

  3. #3
    Forum Contributor
    Join Date
    11-11-2007
    Posts
    263

    Re: Look between two lists to find result, and another by ID.

    Quote Originally Posted by NBVC View Post
    In C3, try:

    =IFERROR(INDEX($I$10:$I$13,MATCH(1,INDEX(($G$10:$G$13=A3)*($H$10:$H$13=B3),0),0)),IFERROR(INDEX($M$10:$M$13,MATCH(1,INDEX(($K$10:$K$13=A3)*($L$10:$L$13=B3),0),0)),""))
    in D3, try:

    =IF(ISNUMBER(MATCH(C3,$I$10:$I$13,0)),$G$8,IF(ISNUMBER(MATCH(C3,$M$10:$M$13,0)),$K$8,""))
    copy both cells and paste to C7, C11, etc...
    And to type in an ID and getting the correct number? Is that possible by one of the scripts you have here?

  4. #4
    Forum Contributor
    Join Date
    11-11-2007
    Posts
    263

    Re: Look between two lists to find result, and another by ID.

    Figured it out...

    [code]=IFERROR(INDEX($H$10:$H$13,MATCH(1,INDEX(($I$10:$I$13=$C$11)*($I$10:$I$13=$C$11),0),0)),IFERROR(INDEX($L$10:$L$13,MATCH(1,INDEX(($M$10:$M$13=$C$11)*($M$10:$M$13=$C$11),0),0)),""))/code]

    Thanks for the help

+ 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