Re: monthly & quarterly Summery
- From: Narnimar <Narnimar@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 21 Jul 2008 06:54:01 -0700
This is Perfect! Thank you very much Mr. Bob.
"Bob Phillips" wrote:
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.
- References:
- Re: monthly & quarterly Summery
- From: Bob Phillips
- Re: monthly & quarterly Summery
- From: Bob Phillips
- Re: monthly & quarterly Summery
- From: Bob Phillips
- Re: monthly & quarterly Summery
- Prev by Date: Re: STANDARD DEVIATION AND GRAPH
- Next by Date: Re: Advanced 'SUMPRODUCT' formula - MAX or LARGE??
- Previous by thread: Re: monthly & quarterly Summery
- Next by thread: Can I sort horizontally?
- Index(es):
Relevant Pages
|