+ Reply to Thread
Results 1 to 9 of 9

SUMPRODUCT with Multiple criteria and slicers

  1. #1
    Registered User
    Join Date
    10-28-2020
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ProPlus
    Posts
    5

    SUMPRODUCT with Multiple criteria and slicers

    Hello, I'm trying to consolidate workplace injury data into one place. I've used SUMPRODUCT with some success, but if the month I select from my slicers has more than one injury, the formula can only pull data from one of them. Do I need to CONCATENATE or insert a date function into the formula? Any advice is appreciated.

  2. #2
    Registered User
    Join Date
    10-28-2020
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ProPlus
    Posts
    5

    Re: SUMPRODUCT with Multiple criteria and slicers

    Example file attached.
    Attached Files Attached Files

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,960

    Re: SUMPRODUCT with Multiple criteria and slicers

    The following seems to yield the correct values for the OSHA Recordable? table:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that changes to the original formula are highlighted in red.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  4. #4
    Registered User
    Join Date
    10-28-2020
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ProPlus
    Posts
    5

    Re: SUMPRODUCT with Multiple criteria and slicers

    Wow! Thanks for the help. One little +1 in the formula was all it took.

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,960

    Re: SUMPRODUCT with Multiple criteria and slicers

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

  6. #6
    Registered User
    Join Date
    10-28-2020
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ProPlus
    Posts
    5

    Re: SUMPRODUCT with Multiple criteria and slicers

    Hi JeteMc. One last question: how do I duplicate the formula in the other sections of that same worksheet (Injury Type, Shift, etc.)? Does the +1 you added represent a column or row? Adding +1 to the other criteria doesn't seem to work. Thanks!

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,960

    Re: SUMPRODUCT with Multiple criteria and slicers

    The one is added to the rows argument of the OFFSET function.
    Remember to also set the row reference of the OFFSET function to 22, as in:
    For Shift:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    For Area Affected:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.

  8. #8
    Registered User
    Join Date
    10-28-2020
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ProPlus
    Posts
    5

    Re: SUMPRODUCT with Multiple criteria and slicers

    That worked! Thank you so much!

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,960

    Re: SUMPRODUCT with Multiple criteria and slicers

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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. Combine sumif/sumproduct or sumproduct with multiple criteria
    By sab128 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-16-2018, 08:25 AM
  2. [SOLVED] Sum based on multiple criteria using sumproduct: One criteria is 'cell contains'.....
    By jeroenv in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-04-2018, 08:18 AM
  3. [SOLVED] SUMPRODUCT of multiple columns with multiple criteria over multiple sheets
    By BellyGas in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-16-2015, 08:27 AM
  4. [SOLVED] Multiple criteria SUMPRODUCT (3 criteria) Excel 2003
    By lelrich in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-10-2014, 01:58 PM
  5. Replies: 1
    Last Post: 02-21-2014, 09:09 PM
  6. Replies: 6
    Last Post: 08-04-2013, 11:53 AM
  7. Replies: 5
    Last Post: 04-20-2012, 08:54 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