+ Reply to Thread
Results 1 to 4 of 4

Sumproduct Count multiple criteria with range over multiple rows and columns

  1. #1
    Registered User
    Join Date
    10-15-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    75

    Sumproduct Count multiple criteria with range over multiple rows and columns

    Hey everyone,

    Any help would be greatly appreciated...

    Struglling to figure out a formula to count multiple criteria with range over multiple rows and columns... assuming I need a SUMPRODUCT but cant workit out.

    I have attached an example workbook with further explanation, but I'll also have a go at describing below:

    Values are within C8:K17
    Dates in C7:K7
    Asset ID in B8:B17

    I need a forumla in N8 that looks at a start date in N7 and end date in O7 and asset ID in M8. With the below logic

    Count how many values in C8:K17 if:
    C8:K17 > 100
    C7:K7 >= N7
    C7:K7 < O7
    B8:B17 = M8

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Sumproduct Count multiple criteria with range over multiple rows and columns

    Maybe:

    =IFERROR(INDEX($C$8:$K$17,MATCH($M8,$B$8:$B$17,0),MATCH(N$7,$C$7:$K$7,0)),"")

  3. #3
    Registered User
    Join Date
    10-15-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    75

    Re: Sumproduct Count multiple criteria with range over multiple rows and columns

    Unfortunately that just returns the value from the INDEX MATCH MATCH criteria. I need something the counts the amount of values that meet all criteria.

  4. #4
    Registered User
    Join Date
    10-15-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    75

    Re: Sumproduct Count multiple criteria with range over multiple rows and columns

    Managed to figure it out...

    =SUMPRODUCT(($B$8:$B$17=$M$8)*($C$7:$K$7>=N7)*(C7:K7<O7)*(C8:K17>100))

+ 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] Sumproduct across multiple rows/columns/criteria
    By jrashton92 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-28-2020, 01:21 PM
  2. [SOLVED] Sumproduct Across Columns and Rows with multiple criteria
    By NainaH in forum Excel General
    Replies: 7
    Last Post: 01-31-2019, 11:26 AM
  3. Replies: 1
    Last Post: 02-09-2017, 05:55 PM
  4. Replies: 1
    Last Post: 08-16-2015, 08:59 AM
  5. [SOLVED] Sumproduct for multiple criteria across columns and rows
    By yacatac in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-12-2015, 07:46 AM
  6. Count w/multiple criteria across multiple columns - SUMPRODUCT, MATCH?
    By MrHoohah in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-23-2015, 05:23 PM
  7. [SOLVED] Need to use either COUNTIFS or SUMPRODUCT to count rows based on multiple criteria
    By erabinov in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-15-2013, 03:15 PM

Tags for this Thread

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