Re: monthly & quarterly Summery
- From: "Bob Phillips" <BobNGs@xxxxxxxxxxxxx>
- Date: Mon, 21 Jul 2008 12:08:27 +0100
One bracket too many
=SUMPRODUCT(--($A$2:$A$13<>""),--(MONTH($A$2:$A$13)=H1),$B$2:$B$13)
--
__________________________________
HTH
Bob
"narnimar" <narnimar@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4A5C5033-FB56-44BD-8478-7259F80377D0@xxxxxxxxxxxxxxxx
The answer for Question No. 1. is working perfect!
But your formula returns error message for my Question 2. The pop up with
mesage that "the formula you have entered has an error"
"Bob Phillips" wrote:
"narnimar" <narnimar@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:826E848C-A9F3-4459-994F-FF14F140D778@xxxxxxxxxxxxxxxx
Thanks. I get 1st quarter Sum using this formula. Now my question is -
1. how to get sum for 2nd 3rd and 4th Quarter?
=SUMPRODUCT(--(INT((MONTH($A$2:$A$13)+2)/3)=2),$B$2:$B$13)
or better, put the quarter number in a cell, say H1, and use
=SUMPRODUCT(--(INT((MONTH($A$2:$A$13)+2)/3)=H1),$B$2:$B$13)
etc.
2. how to get sum for each month?
put the month number in a acell and use
=SUMPRODUCT((--($A$2:$A$13<>""),--(MONTH($A$2:$A$13)=H1),$B$2:$B$13)
etc.
.
- Follow-Ups:
- Re: monthly & quarterly Summery
- From: Narnimar
- Re: monthly & quarterly Summery
- References:
- Re: monthly & quarterly Summery
- From: Bob Phillips
- Re: monthly & quarterly Summery
- From: Bob Phillips
- Re: monthly & quarterly Summery
- Prev by Date: Re: countif in a subtotal function
- Next by Date: Re: On exit from edit, Excel jumps to remote undesired cell.
- Previous by thread: Re: monthly & quarterly Summery
- Next by thread: Re: monthly & quarterly Summery
- Index(es):
Relevant Pages
|