I have a google spreadsheet in which I enter daily income and expenses:
On another sheet, I am trying to calculate the monthly income and expenses for every month:
I am using this formula to calculate the monthly income ('s1' is the daily sheet):
=ARRAYFORMULA(SUM(FILTER(s1!B2:B; MONTH(s1!A2:A)=MONTH(INDIRECT("A" & ROW())))))
but it does work for the whole column.
Is there any way to make the arrayformula work with the indirect and row functions?