+ Reply to Thread
Results 1 to 8 of 8

Sumproduct formula help to total numbers per month

  1. #1
    Forum Contributor
    Join Date
    09-19-2018
    Location
    England
    MS-Off Ver
    O365
    Posts
    266

    Smile Sumproduct formula help to total numbers per month

    Hi all

    I have a dashboard I am trying to complete but stuck on sumproduct formula

    I have put in a data validation month drop down in that works and then have used sumproduct formula to the count number of entries for selected month from the second tab and used column B with the dates to work out the figures which I think has worked.

    What I am trying to do is the following:

    1. Need to count per month the number of pairings from tab 2 which has names in column D
    2. Count per month the number of blanks in tab 2 per month for column D
    3. Count the number per month in tab 2 in column F of the number of times yes is used

    I'm just not great at sumproduct as you will see in my attempt of working out the contact made formula in the example attached.

    Hopefully this is a really easy one to solve.

    Cheers all

    Attached Files Attached Files
    Last edited by MattExcelLearner; 07-22-2020 at 04:36 AM.

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,902

    Re: Sumproduct formula help to total numbers per month

    Something like below?
    Using structured table reference, rather than fixed range...

    1. =SUMPRODUCT(--(TEXT(Table_owssvr__1[Available Week Commencing],"mmm")=$E$4)*(Table_owssvr__1[Buddy Selected Name]<>""))

    2. =SUMPRODUCT(--(TEXT(Table_owssvr__1[Available Week Commencing],"mmm")=$E$4)*(Table_owssvr__1[Buddy Selected Name]=""))

    3. =SUMPRODUCT(--(TEXT(Table_owssvr__1[Available Week Commencing],"mmm")=$E$4)*(Table_owssvr__1[Contact Made]="Yes"))
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Forum Contributor
    Join Date
    09-19-2018
    Location
    England
    MS-Off Ver
    O365
    Posts
    266

    Re: Sumproduct formula help to total numbers per month

    Couldn't get the formula to work unfortunately

    =SUMPRODUCT(--(TEXT('owssvr (1)'![Available Week Commencing],"mmm")=$E$4)*('owssvr (1)'![Buddy Selected Name]<>""))

  4. #4
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,902

    Re: Sumproduct formula help to total numbers per month

    See my formula. Reference should be to table name and NOT the sheet name.

  5. #5
    Forum Contributor
    Join Date
    09-19-2018
    Location
    England
    MS-Off Ver
    O365
    Posts
    266

    Re: Sumproduct formula help to total numbers per month

    Hi

    I tried that way first but those forumlas just gave me an error message in Excel
    Attached Images Attached Images

  6. #6
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,902

    Re: Sumproduct formula help to total numbers per month

    That usually means one of following.

    1. You have "," set as decimal separator. In that case, replace "," in my formula with ";".
    2. You are missing parenthesis somewhere in the formula.
    3. Table name/column name wasn't exact match. In this case you can just edit the formula and reselect table column.

    See attached sample with formulas applied.

    EDIT: See link below for how to use structured table reference.
    https://support.microsoft.com/en-us/...3-c8ae6d2b276e
    Attached Files Attached Files

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

    Re: Sumproduct formula help to total numbers per month

    Please try at
    E8
    =COUNTIFS(Table_owssvr__1[Available Week Commencing],">="&E4&2020,Table_owssvr__1[Available Week Commencing],"<"&EDATE(E4&2020,1),Table_owssvr__1[Buddy Selected Name],"*")

    I6
    =COUNTIFS(Table_owssvr__1[Available Week Commencing],">="&E4&2020,Table_owssvr__1[Available Week Commencing],"<"&EDATE(E4&2020,1),Table_owssvr__1[Buddy Selected Name],"")

    I8
    =COUNTIFS(Table_owssvr__1[Available Week Commencing],">="&E4&2020,Table_owssvr__1[Available Week Commencing],"<"&EDATE(E4&2020,1),Table_owssvr__1[Contact Made],"Yes")
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    09-19-2018
    Location
    England
    MS-Off Ver
    O365
    Posts
    266

    Re: Sumproduct formula help to total numbers per month

    Awesome guys

    Thanks CK76 & Bo_Ry I lost connection yesterday so sorry for late reply.

    Last edited by MattExcelLearner; 07-22-2020 at 04:35 AM.

+ 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] Formula to sum up total for the month
    By rizmomin in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-10-2018, 02:50 PM
  2. Replies: 5
    Last Post: 12-08-2016, 04:24 AM
  3. [SOLVED] Total of Years and Month Formula Needed, Please
    By LrngExcel in forum Excel Formulas & Functions
    Replies: 31
    Last Post: 07-19-2015, 08:27 PM
  4. Replies: 3
    Last Post: 07-16-2014, 02:53 PM
  5. Total entries per month formula
    By danfullwood in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-21-2013, 08:54 AM
  6. [SOLVED] Formula which includes total days in the month, 30 or 31?
    By essee in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-21-2012, 06:44 AM
  7. List of rows that add up the total of sumproduct formula
    By amberj32 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-06-2012, 05:45 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