+ Reply to Thread
Results 1 to 3 of 3

Lookup with multiple rows.

  1. #1
    Registered User
    Join Date
    09-22-2009
    Location
    Los Angeles, United States
    MS-Off Ver
    Excel 2003
    Posts
    8

    Lookup with multiple rows.

    Hi everyone,

    I have been trying to auto update a table by looking up information from a table on top. However, for the top table there are multiple entries in the same column, and my look up only checks the first row and ignores the rest. My formula at this point is: =IF(ISERROR(INDEX($C$3:$H$33, MATCH("X", I$3:I$33, FALSE), 4))=TRUE, "", IF(INDEX($C$3:$H$33, MATCH("X", I$3:I$33, FALSE), 4)=0, "", INDEX($C$3:$H$33, MATCH("X", I$3:I$33, FALSE), 4))). If you can take a look at my attachment, this formula is in the cells I40:W40. Eventually, I will want to populate the entire bottom table with the same formula. Sorry if I haven't explained my problem better, but this is my first post. Please let me know if you have any questions.
    Attached Files Attached Files
    Last edited by danl8619; 09-28-2009 at 12:47 PM.

  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 with multiple rows.

    In I38, try:

    =IF(SUMPRODUCT(($C$3:$H$33=$H38)*(I$3:I$33="X")),"X","")

    copied down and across.
    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
    Registered User
    Join Date
    09-22-2009
    Location
    Los Angeles, United States
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Lookup with multiple rows.

    This worked perfectly! 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)

Tags for this Thread

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