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

Sum of week-Month-Quarter-Year

Faruk Hosen

Member
Hello expert,
Greetings from Faruk Hosen Raj!


I have tried different types of sum by searching google and finally looking for the simple and dynamic solution of sum of week-Month-Quarter-Year from sales data of 2 years.

Look forward for a expert advice on that.

Thanks & Regards
Faruk Hosen Raj
 

Attachments

  • SUM of week-month-quarter-year.xlsx
    11.6 KB · Views: 9
you can use SUMPRODUCT formula. I have filled up formula in few columns. you can continue exploring for remaining of your blank cells. please find the attached file.
 

Attachments

  • SUM of week-month-quarter-year.xlsx
    12.3 KB · Views: 7
Hi Faruk, welcome to the forum :awesome:

I have used 3 helper columns.

See if this is okay.
Thank you.

you have given me the complete solution. Just a question to clear. would you please explain the logic of 2nd column of helper section.
I don't understand it.

Mr. Jigar B answered a solution of Quarter total. I am sharing.
=SUMPRODUCT((YEAR(B$2:B$100)=2016)*(MONTH(B$2:B$100)={4,5,6})*C$2:C$100)

Let me know your comment.

Regards,
 
you can use SUMPRODUCT formula. I have filled up formula in few columns. you can continue exploring for remaining of your blank cells. please find the attached file.


Thank you.
You left me to learn. :)

=SUMPRODUCT((YEAR(B$2:B$100)=2016)*(MONTH(B$2:B$100)={4,5,6})*C$2:C$100)

What to do if i want to use cell reference instead of {4,5,6}


But i am impressed. It will certainly help me a lot.

Love for Chandoo.
 
Thank you.
You left me to learn. :)

=SUMPRODUCT((YEAR(B$2:B$100)=2016)*(MONTH(B$2:B$100)={4,5,6})*C$2:C$100)

What to do if i want to use cell reference instead of {4,5,6}


But i am impressed. It will certainly help me a lot.

Love for Chandoo.
Thank you.
You left me to learn. :)

=SUMPRODUCT((YEAR(B$2:B$100)=2016)*(MONTH(B$2:B$100)={4,5,6})*C$2:C$100)

What to do if i want to use cell reference instead of {4,5,6}


But i am impressed. It will certainly help me a lot.

Love for Chandoo.

You should have cell with these value to get reference, i.e. some other columns with quarter wise months, needs to be added in sheet (i feel it is unprofessional though). I have added formulas in few more of your blank cells and used more references. File is attached.
 

Attachments

  • SUM of week-month-quarter-year.xlsx
    12.4 KB · Views: 8
You should have cell with these value to get reference, i.e. some other columns with quarter wise months, needs to be added in sheet (i feel it is unprofessional though). I have added formulas in few more of your blank cells and used more references. File is attached.

You are right.
Thanks again.

Faruk Hosen Raj
 
You should have cell with these value to get reference, i.e. some other columns with quarter wise months, needs to be added in sheet (i feel it is unprofessional though). I have added formulas in few more of your blank cells and used more references. File is attached.

Hello,
Look at the following formula

=SUMPRODUCT((YEAR($B$2:$B$100)=2016)*(MONTH($B$2:$B$100)=I3)*$C$2:$C$100)

I want to use a cell I3 which is a date. but not working.
Can you help?

Thanks.
 
Back
Top