+ Reply to Thread
Results 1 to 5 of 5

look up multiple values both in rows and columns

  1. #1
    Registered User
    Join Date
    12-29-2011
    Location
    San Francisco
    MS-Off Ver
    Excel 2007
    Posts
    2

    look up multiple values both in rows and columns

    Hi,

    I have a grid arranged across rows and columns with total 54 values. I want to extract all the values from the grid and display them in a column against appropriate parameters. I need to use look up feature and have tried index & match but it just hasn't worked. I have attached a file with sample data; it will be great if you can show me a formula that I can use to resolve it.

    Thanks,

    Nil
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: look up multiple values both in rows and columns

    If as implied you're using XL2007 and your result is always numeric I would suggest you opt for SUMIFS:

    Please Login or Register  to view this content.

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,482

    Re: look up multiple values both in rows and columns

    You can use a SUMPRODUCT formula in O3 and then copy down

    =SUMPRODUCT(($A$3:$A$11=K3)*($B$3:$B$11=L3)*($C$2:$H$2=M3)*($C$1:$H$1=N3)*($C$3:$H$11))
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    12-29-2011
    Location
    San Francisco
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: look up multiple values both in rows and columns

    Ote, thank you so much. I am new to Excel 2007 and to sumifs, it didn't work first time but I guess I would be able to figure out my error.

    Andy, thanks for your reply, it was perfect. I did try using sumproduct but was made a mistake.

    Thank you guys!

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: look up multiple values both in rows and columns

    xcl, I misread the question so my suggestion is not valid at all - no error on your part !

+ 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