I'm at large here..
Must have spent more than a whole day searching the internet and trying all sorts of solutions.. to no result..
I try to make a spreadsheet that calculates what I've spent per yearly quarter, from a whole column of dates and spendings.
There are some blank cells in there as well. (Or cell's that contain a formula that returns a "blank" instead of a zero.)
This is the formulas I've tried:
=IF(SUMPRODUCT((ROUNDUP(MONTH(Expenses!B10:B305)/3;0)=1)*(Expenses!J10:J305))>0;SUMPRODUCT((ROUNDUP(MONTH(Expenses!B10:B305)/3;0)=1)*(Expenses!J10:J305));"")
B10:B305 contain the dates (from which I determine the year quarters).
J10:F305 are the actual expenses on those corresponding dates (which I want to sum up per quarter).
And it works, as long as there are no earlier mentioned blank cells in B10:B305 and J10:J305.
Other formulas I've tried, without result (they just return a "0") are:
=SUMIFS(Expenses!J10:J305;Expenses!B10:B305;ROUNDUP(MONTH(Expenses!B10:B305)/3;0)=1)
and
=SUMIF(Expenses!B10:B305;ROUNDUP(MONTH/3;0)=1;Expenses!J10:J305)
How can I make the first formula work with blanks in cells cells in B10:B305 and J10:J305?
Or.. what other way or formula can I use to get this done?
Any help is much appreciated!
Thanks
Must have spent more than a whole day searching the internet and trying all sorts of solutions.. to no result..

I try to make a spreadsheet that calculates what I've spent per yearly quarter, from a whole column of dates and spendings.
There are some blank cells in there as well. (Or cell's that contain a formula that returns a "blank" instead of a zero.)
This is the formulas I've tried:
=IF(SUMPRODUCT((ROUNDUP(MONTH(Expenses!B10:B305)/3;0)=1)*(Expenses!J10:J305))>0;SUMPRODUCT((ROUNDUP(MONTH(Expenses!B10:B305)/3;0)=1)*(Expenses!J10:J305));"")
B10:B305 contain the dates (from which I determine the year quarters).
J10:F305 are the actual expenses on those corresponding dates (which I want to sum up per quarter).
And it works, as long as there are no earlier mentioned blank cells in B10:B305 and J10:J305.
Other formulas I've tried, without result (they just return a "0") are:
=SUMIFS(Expenses!J10:J305;Expenses!B10:B305;ROUNDUP(MONTH(Expenses!B10:B305)/3;0)=1)
and
=SUMIF(Expenses!B10:B305;ROUNDUP(MONTH/3;0)=1;Expenses!J10:J305)
How can I make the first formula work with blanks in cells cells in B10:B305 and J10:J305?
Or.. what other way or formula can I use to get this done?
Any help is much appreciated!
Thanks