On Google Sheets I'm trying to sum all the donations for each month and the current year. I have a donation table with date (1/2/2025) and an amount. On a separate sheet I have a list of the months. (January, February, etc.) Next to each month I would like to total all the donations for that month within the current year.
I can sumif for each month using =sumif(arrayformula(text(Donation[Date],"MMMM")),D2,Donation[Amount])
.
I can sumif for current year using =sumif(arrayformula(text(Donation[Date],"YYYY")),YEAR(TODAY()),Donation[Amount])
I've tried sumifs but I can't seem to combine these two parameters where there is a conversion in process for both criteria.
You may try:
=sumif(index(eomonth(Donation[Date],)),eomonth(D2&1,),Donation[Amount])