Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
Solved

# Sum Per Month

Posted on 2016-10-13
Medium Priority
62 Views
Experts,

How can I sum the attached per month?

thank you
Sum-Per-Month.xlsx
0
Question by:pdvsa
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• 4
• 2

LVL 26

Expert Comment

ID: 41841757
put this and drag right

=SUMPRODUCT((MONTH(\$B\$3:\$KV\$3)=MONTH(B\$1))*(\$B\$4:\$KV\$4))

see attached.
Sum-Per-Month.xlsx
0

LVL 52

Accepted Solution

Rgonzo1971 earned 2000 total points
ID: 41841765
Hi,

pls try
``````=SUMPRODUCT(--(DATE(YEAR(\$B\$3:\$KV\$3),MONTH(\$B3:\$KV\$3),1)=B1),\$B\$4:\$KV\$4)
``````
Regards
Sum-Per-MonthV1.xlsx
0

LVL 26

Expert Comment

ID: 41841768
correction to my formula above

=SUMPRODUCT((MONTH(\$B\$3:\$KV\$3)=MONTH(B\$1))*((YEAR(\$B\$3:\$KV\$3)=YEAR(B\$1))*(\$B\$4:\$KV\$4)))
Sum-Per-Month.xlsx
0

Author Closing Comment

ID: 41841771
Thank you.  Rgonzo's accounted for the years which is what I was after.  August 2016 and August 2017 were the same answer under Professor's.  I might have not made that so clear though.
0

LVL 26

Expert Comment

ID: 41841773
glad Rgonzo's solution worked for you. i did not notice at first glace your data had multiple years, so i posted a modified formula which is =SUMPRODUCT((MONTH(\$B\$3:\$KV\$3)=MONTH(B\$1))*((YEAR(\$B\$3:\$KV\$3)=YEAR(B\$1))*(\$B\$4:\$KV\$4))) which works too.
0

Author Comment

ID: 41842037
0

LVL 26

Expert Comment

ID: 41842244
you are welcome.
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are â€¦
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calculâ€¦
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
###### Suggested Courses
Course of the Month10 days, 1 hour left to enroll