• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

SUMIFS with 2 Criterias

I have 3 columns with date, plant and quantity sold. Want to use SUMIFS and convert the date field to month names and sum quantity sold based on plant location.

=sumifs(quantity sold,TEXT(datecolumn,"mmm"),MonthColumn,plantcolumn,plantname)

not a working formula.
 

Attachments

  • test.xlsx
    20.6 KB · Views: 7
Try,

B29, copied across and down :

=SUMPRODUCT((MONTH(date)=MONTH(0+("1/"&$A29)))*(plant=B$28),yardage)

Or,

if you want to use SUMIFS, try this in B29 :

=SUMIFS(yardage,date,">="&0+("1/"&$A29),date,"<="&EOMONTH(0+("1/"&$A29),0),plant,B$28)

Regards
Bosco
 

Attachments

  • test(Sumproduct).xlsx
    21.1 KB · Views: 11
Last edited:
Back
Top