• 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.

Using SUMIFS with a criteria to extract a month name from date

Good Day Team

I am trying to use SUMIFS to sum up values in worksheet "Data" by matching 2 criteria.

1. IF column A in Sheet "Data" matches to A3 in the "Monthly Sales Per Site" sheet.

AND

2. IF the month in column be B of sheet "Data" extracted to a name matches to months in row 2 of sheet "Monthly Sales Per Site"

Here is the formaula I tried but not working:
=SUMIFS(Data!$C:$C,Data!$A:$A,'Monthly Sales Per Site'!A3,TEXT(Data!$B:$B,"mmm"),'Monthly Sales Per Site'!B2)
 

Attachments

  • Monthly Sales using SUMIFS- Help.xlsx
    25.1 KB · Views: 12
You have a mixture of 2017 and 2018 dates - which year do the month headings relate to???
 
Hi Check the attached sheet.

I too have same doubt raised by AliGW, but i tried with your requirement shown in the sheet
 

Attachments

  • Monthly Sales using SUMIFS.xlsx
    26.2 KB · Views: 22
Perfect Hareesh Your are a star.

MONTH(1*(1&'Monthly Sales Per Site'!$B$2)) kindly explain what 1*(1&..... mean. Sorry I am still a learner.

Once again many thanks.
 
Back
Top