Closed Thread
Results 1 to 3 of 3

vLookup the sum of multiple values from multiple criterias

  1. #1
    Registered User
    Join Date
    07-21-2017
    Location
    NY
    MS-Off Ver
    16.0
    Posts
    25

    Unhappy vLookup the sum of multiple values from multiple criterias

    Please see attached. If anyone could solve this, it would be greatly appreciated!

    The highlighted cells in Summary tab should show the total training hours spent per person per activity pulled from the Data tab.
    i.e. for Adam/Basketball, the cell should show 9 (from 4+5); David/Tennis = 3 (from just 3); Michael/Swimming = 16 (from 4+3+1+8), etc.

    For those that don't appear i.e. Sherry/Swimming, it should show a sum of 0 instead of N/A if possible.

    Not sure how to use the combination of vLookup or lookup, with "sum", "if" or "and" statements.

    Spent quite a lot of time trying to crack this but couldn't... there are two tables I need help with.

    Thank you for any resolutions! And if you could do it in the attachment and upload it so I can see what was done and edit it, that would be even better!
    Attached Files Attached Files
    Last edited by jos283; 04-15-2019 at 08:04 PM.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: vLookup the sum of multiple values from multiple criterias

    In B4 copied across and down >> =SUMIFS(Data!$C$2:$C$15,Data!$A$2:$A$15,B$3,Data!$B$2:$B$15,$A4)

    But, have you considered a Pivot Table?

    B10 copied down >> =SUM(SUMIFS(Data!$C$2:$C$15,Data!$A$2:$A$15,$A10,Data!$B$2:$B$15,{"Basketball","Tennis"}))

    C10 copied down >> =SUM(SUMIFS(Data!$C$2:$C$15,Data!$A$2:$A$15,$A10,Data!$B$2:$B$15,{"Basketball","Swimming","Soccer"}))
    HTH
    Regards, Jeff

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: vLookup the sum of multiple values from multiple criterias

    Administrative Note:

    Welcome to the forum.

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here. I am, therefore, closing this thread, but you may continue here in the original thread: https://www.excelforum.com/excel-for...ml#post5103453
    Dave

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. vLookup the sum of multiple values from multiple criterias
    By jos283 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-17-2019, 05:20 AM
  2. [SOLVED] Index-Match-(or Vlookup) for Multiple criterias.
    By Anatawan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-10-2014, 02:38 AM
  3. [SOLVED] Populate Values in Multiple List Boxes based on Multiple Criterias
    By s2jrchoi in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 09-09-2013, 11:39 AM
  4. [SOLVED] VLOOKUP with multiple criterias
    By GWhaA in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-22-2013, 11:26 PM
  5. =IF(AND with VLOOKUP with multiple criterias
    By btrescot in forum Excel General
    Replies: 3
    Last Post: 01-24-2011, 07:36 PM
  6. Vlookup Multiple search criterias
    By Rage in forum Excel General
    Replies: 8
    Last Post: 12-01-2010, 12:04 AM
  7. Replies: 2
    Last Post: 07-12-2010, 01:17 PM

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