+ Reply to Thread
Results 1 to 5 of 5

SUMIFS Using months

  1. #1
    Registered User
    Join Date
    03-28-2016
    Location
    Coventry
    MS-Off Ver
    Microsoft 365
    Posts
    65

    SUMIFS Using months

    Hi all,


    Like always, this is probably a nice easy one and yet again I am struggling to see "the wood for the trees" as it were. I have attached a test book which outlines what I am looking for but basically I have data that I need to count based on the type of test but also based on the month. I am sure it is a simple SUMIFS function but I just cant seem to get it to work.

    Have a look, see what you think, I am happy to assist where I can if you need any more info.

    Thanks again.
    Attached Files Attached Files

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: SUMIFS Using months

    Try this:
    =SUM(--(MONTH($B$11:$Q$11)=B$3),--($B$12:$Q$12=$A4)*$B$13:$Q$13)
    Click the * to say thanks.

  3. #3
    Registered User
    Join Date
    03-28-2016
    Location
    Coventry
    MS-Off Ver
    Microsoft 365
    Posts
    65

    Re: SUMIFS Using months

    Hi Paul, many thanks for the response. It appears to work on the test book but when I try and use the formula in my official workbook Im getting an error but cant seem to put my finger on why?
    Unfortunately I cant share that workbook due to data protection.

    I dont suppose you, or anyone else has an alternative formula I can perhaps try?

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

    Re: SUMIFS Using months

    Please try at B4 copy across and down

    =SUMIFS($13:$13,$12:$12,$A4,$11:$11,">=1"&B$3,$11:$11,"<="&EOMONTH(1&B$3,0))

    or
    =SUMIFS($B$13:$Q$13,$B$12:$Q$12,$A4,$B$11:$Q$11,">=1"&B$3,$B$11:$Q$11,"<="&EOMONTH(1&B$3,0))

    If you have specific year , please add &year after B$3
    Eg B$3&2019
    Last edited by Bo_Ry; 01-31-2019 at 12:49 PM.

  5. #5
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,781

    Re: SUMIFS Using months

    B4=IF(B$3<>"",SUMPRODUCT(($B$12:$Q$12=$A4)*(MONTH($B$11:$Q$11)=MONTH(B$3&0))*($B$13:$Q$13)),"") copy across and down

+ 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. Total Sum for months amounts using sumifs formula?
    By prakash24 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-04-2017, 08:40 AM
  2. SUMIFS with months, names, values Multiple Criteria Based on Months and Names
    By Aaron R Bauer in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-25-2016, 12:07 PM
  3. SUMIFS with months, names, values Multiple Criteria Based on Months and Names
    By Aaron R Bauer in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-14-2016, 06:51 PM
  4. Sumifs with only months
    By hudson andrew in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-01-2016, 02:04 PM
  5. Replies: 10
    Last Post: 02-25-2015, 05:08 PM
  6. [SOLVED] Sumifs adding together all the months of a fiscal year
    By laliparker in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-13-2014, 10:38 AM
  7. SUMIFS with lint for only the last 6 months to show
    By Jp4Real in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-29-2013, 06:22 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