+ Reply to Thread
Results 1 to 7 of 7

lookup multiple cells with corresponding multiple criteria based on one table

  1. #1
    Registered User
    Join Date
    12-12-2018
    Location
    israel
    MS-Off Ver
    2010
    Posts
    3

    lookup multiple cells with corresponding multiple criteria based on one table

    Hello,
    I've been trying to find an answer to this question online - so far no success.
    I have a table of several types, where each type has two values (Z1,Z2)
    I have another table, with 6 rows, in each row several instances of the types from the first table, with no specific order.
    I'm trying to calculate the TOTAL Z1 and Z2 values of all the instances in each row.

    Any idea?

    Thank you alllookup table.jpg
    Attached Files Attached Files
    Last edited by eligt; 12-12-2018 at 04:51 AM.

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: lookup multiple cells with corresponding multiple criteria based on one table

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    12-12-2018
    Location
    israel
    MS-Off Ver
    2010
    Posts
    3

    Re: lookup multiple cells with corresponding multiple criteria based on one table

    Thanks
    Just uploaded the xlsx file, with the desired result using a long and repetitive formula (which I would like to simplify)
    Thanks

  4. #4
    Registered User
    Join Date
    12-12-2018
    Location
    Barcelona
    MS-Off Ver
    Excel/Power BI
    Posts
    3

    Re: lookup multiple cells with corresponding multiple criteria based on one table

    Buena respuesta!

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: lookup multiple cells with corresponding multiple criteria based on one table

    In H22, copied across and down:

    =SUMPRODUCT(($C22:$G22=$B$12:$B$17)*C$12:C$17)
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  6. #6
    Registered User
    Join Date
    12-12-2018
    Location
    israel
    MS-Off Ver
    2010
    Posts
    3

    Re: lookup multiple cells with corresponding multiple criteria based on one table

    Amazing!
    thank you

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: lookup multiple cells with corresponding multiple criteria based on one table

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Lookup based on Multiple Criteria on Multiple Table
    By oktovan in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-05-2017, 04:04 PM
  2. SUM multiple cells based on multiple cell criteria,not a range
    By georgiepod in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-01-2015, 01:10 PM
  3. Replies: 9
    Last Post: 08-20-2014, 04:43 PM
  4. Populating fields in multiple cells based on criteria in multiple columns
    By excelalways in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2014, 08:17 AM
  5. [SOLVED] Lookup and sum multiple values based on a single criteria in multiple sheets.
    By paulsanett in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2014, 12:18 PM
  6. [SOLVED] VBA fill in cells in a new column in table based on multiple criteria from other columns
    By HRA in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-14-2013, 06:48 AM
  7. Replies: 1
    Last Post: 11-20-2010, 05:38 AM

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