Avatar of pdvsa
pdvsa
Flag for United States of America asked on

Sum Per Month

Experts,

How can I sum the attached per month?

thank you
screenprintSum-Per-Month.xlsx
Microsoft Excel

Avatar of undefined
Last Comment
Professor J

8/22/2022 - Mon
Professor J

put this and drag right

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

see attached.
Sum-Per-Month.xlsx
ASKER CERTIFIED SOLUTION
Rgonzo1971

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Professor J

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
pdvsa

ASKER
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.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Professor J

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

ASKER
Thank you for your follow up.  Much appreciated
Professor J

you are welcome.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.