+ Reply to Thread
Results 1 to 3 of 3

SUMPRODUCT and SUBTOTAL

  1. #1
    Forum Contributor
    Join Date
    08-04-2013
    Location
    Bucharest
    MS-Off Ver
    Office Professional Plus 2019
    Posts
    303

    SUMPRODUCT and SUBTOTAL

    I have been bumping my head against a formula for a few hours now, I can't seem to fully understand how it works.
    It's the formulas in Sheet2 that are used to determine the number of 2-0, 2-1, 0-2 1-2 set scores.

    So from what I saw, SUMPRODUCT will multiply the values in two(in this case) arrays and then sum the products. But in this case I can't understand what exactly is the second array

    I think that the first part of the formula says array1 = "only take into consideration the instances where in the arrays Sheet1!$O$1:$O$468 and Sheet1!$L$1:$L$468 both have the value "selected player and" "2-0" respectively, if true, value is 1 , if false value is 0
    But with array 2, I can't understand how the SUBTOTAL works in this case, especially in conjunction with the SUMPRODUCT
    So if anyone can help me "translate" or explain the second part of the formula into plain English, would be great. Hopefully I at least understood the first part.
    And also I hope my question isn't too confusing.
    Attached Files Attached Files

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: SUMPRODUCT and SUBTOTAL

    In this part

    SUBTOTAL(3;OFFSET(Sheet1!$A$1;ROW(A$1:A$468)-ROW(A$1);0))

    OFFSET creates an "array of ranges", one cell each in the range A1:A468 and then SUBTOTAL is applied to each, so a 1 is returned when the cell is populated and visible, otherwise you get a 0 - the technique is explained here
    Audere est facere

  3. #3
    Forum Contributor
    Join Date
    08-04-2013
    Location
    Bucharest
    MS-Off Ver
    Office Professional Plus 2019
    Posts
    303

    Re: SUMPRODUCT and SUBTOTAL

    Thanks, I'm sort of getting the point. So, this is an uncommon use for this function, no wonder I got stuck. the whole formula is beyond my current level of understanding of Excel, I'm barely getting the hang of nested IFs
    By the way is your nickname a reference to Fiona Apple's - The First Taste?

+ 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. Sumproduct and Subtotal Question
    By matt4003 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-25-2013, 07:00 AM
  2. Subtotal with sumproduct and quartile
    By tdcsi in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 11-19-2011, 02:19 PM
  3. sumproduct subtotal combo?
    By TechRetard in forum Excel General
    Replies: 4
    Last Post: 02-09-2011, 11:16 AM
  4. [SOLVED] SUMIF SUBTOTAL OR SUMPRODUCT?
    By CHRIS K in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-20-2005, 01:05 PM
  5. Subtotal - Can I use Sumproduct ?
    By guilbj2 in forum Excel General
    Replies: 4
    Last Post: 05-30-2005, 06:05 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