+ Reply to Thread
Results 1 to 5 of 5

SUMIFS/SUMPRODUCT for a list of criteria

  1. #1
    Registered User
    Join Date
    01-15-2019
    Location
    Atlanta
    MS-Off Ver
    2016
    Posts
    13

    SUMIFS/SUMPRODUCT for a list of criteria

    Hey guys,

    Been trying for an hour or so to figure this out with no luck. I'm guessing it will be a combo sumifs/sumproduct but I always struggle with sumproduct. Could anybody lend a hand? Thoroughly stumped.

    test.PNG
    Attached Files Attached Files

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: SUMIFS/SUMPRODUCT for a list of criteria

    I think your expected results are incorrect as 2021 is not valid, per your lease agreement > 0 requirement

    =SUMPRODUCT(SIGN(SUMIF(E8:E20,A8:A26,F8:F20)),B8:B26)

    =A2/SUMPRODUCT(SIGN(SUMIF(E2:E20,A8:A26,F2:F20)))

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: SUMIFS/SUMPRODUCT for a list of criteria

    Please try at
    A2
    =SUMPRODUCT(SUMIFS(B8:B26,A8:A26,E8:E20/(F8:F20>0)))
    A3
    =A2/SUMPRODUCT(COUNTIF(A8:A26,E8:E20/(F8:F20>0)))

    Unit 2021 shouldn't be include.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    01-15-2019
    Location
    Atlanta
    MS-Off Ver
    2016
    Posts
    13

    Re: SUMIFS/SUMPRODUCT for a list of criteria

    That's awesome, thanks! Never used the sign function before

  5. #5
    Registered User
    Join Date
    01-15-2019
    Location
    Atlanta
    MS-Off Ver
    2016
    Posts
    13

    Re: SUMIFS/SUMPRODUCT for a list of criteria

    Perfect, thanks!

+ 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. SUMIFS / SUMPRODUCT with multiple criteria
    By walduxas in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-23-2018, 08:07 AM
  2. SUMIFS using SUMPRODUCT based on multiple criteria
    By PaulGMD in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-05-2017, 12:13 PM
  3. [SOLVED] sumproduct Or sumifs on multiple criteria matching day & time
    By tabkaz in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-16-2015, 05:45 AM
  4. [SOLVED] Using Name Arrays as Criteria in SumProduct/SumIfs
    By stepscot in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-16-2014, 10:24 AM
  5. SUMIFS or SUMPRODUCT Between Criteria
    By Trig79 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-09-2013, 09:52 AM
  6. [SOLVED] Sumifs or sumproduct with complex criteria
    By Alexander_Golinsky in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-08-2013, 03:03 AM
  7. [SOLVED] sumproduct and sumifs using multiple criteria across worksheets
    By mick86 in forum Excel General
    Replies: 4
    Last Post: 08-29-2012, 02:51 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