Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 132
Default monthly & quarterly Summery

What is the formula for getting the monthly & quarerly sum for the below?
A2 B2
01/01/2008 43
02/02/2008 32
03/03/2008 43
04/03/2008 54
05/04/2008 5
06/05/2008 32
07/06/2008 75
08/07/2008 3
09/08/2008 23
10/08/2008 64
11/09/2008 76
12/09/2008 43

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default monthly & quarterly Summery

=SUMPRODUCT(--(INT((MONTH($A$2:$A$13)+2)/3)=1),$B$2:$B$13)

--
__________________________________
HTH

Bob

"Narnimar" wrote in message
...
What is the formula for getting the monthly & quarerly sum for the below?
A2 B2
01/01/2008 43
02/02/2008 32
03/03/2008 43
04/03/2008 54
05/04/2008 5
06/05/2008 32
07/06/2008 75
08/07/2008 3
09/08/2008 23
10/08/2008 64
11/09/2008 76
12/09/2008 43



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 132
Default monthly & quarterly Summery

Thanks. I get 1st quarter Sum using this formula. Now my question is -
1. how to get sum for 2nd 3rd and 4th Quarter?
2. how to get sum for each month?

"Bob Phillips" wrote:

=SUMPRODUCT(--(INT((MONTH($A$2:$A$13)+2)/3)=1),$B$2:$B$13)

--
__________________________________
HTH

Bob

"Narnimar" wrote in message
...
What is the formula for getting the monthly & quarerly sum for the below?
A2 B2
01/01/2008 43
02/02/2008 32
03/03/2008 43
04/03/2008 54
05/04/2008 5
06/05/2008 32
07/06/2008 75
08/07/2008 3
09/08/2008 23
10/08/2008 64
11/09/2008 76
12/09/2008 43




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default monthly & quarterly Summery



"narnimar" wrote in message
...
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.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 132
Default monthly & quarterly Summery

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" wrote in message
...
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.





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default monthly & quarterly Summery

One bracket too many

=SUMPRODUCT(--($A$2:$A$13<""),--(MONTH($A$2:$A$13)=H1),$B$2:$B$13)

--
__________________________________
HTH

Bob

"narnimar" wrote in message
...
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" wrote in message
...
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.





  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 132
Default monthly & quarterly Summery

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" wrote in message
...
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" wrote in message
...
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.






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Monthly, Quarterly formulas BobbyVZW Excel Worksheet Functions 2 September 13th 07 10:32 PM
Chart with Quarterly and Monthly Results Greg A Charts and Charting in Excel 0 May 14th 07 10:24 PM
Monthly Data, need quarterly Stdev J@Y Excel Discussion (Misc queries) 7 January 13th 07 03:50 AM
monthly quarterly splitting Trintrin Excel Discussion (Misc queries) 0 May 4th 06 05:53 PM
From Monthly to Quarterly Numbers jgorman Excel Discussion (Misc queries) 1 April 2nd 06 01:37 PM


All times are GMT +1. The time now is 01:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"