Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default help calculated total for each month

i am trying to calulate the total intake for each month
ie january = 10
february = 6
march = 10

column a column b
date intake
01/01/09 10
01/03/09 2
11/02/09 6
12/03/09 7
12/03/09 1

please help
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default help calculated total for each month

The below will return the sum for the month of May

=SUM(IF(MONTH(A2:A100)=5,B2:B100))

Suppose in C2 you have date entered formated to display January, the below
should return the total for January
=SUM(IF(MONTH(A2:A100)=Month(c2),B2:B100))

If this post helps click Yes
---------------
Jacob Skaria


"jengy1" wrote:

i am trying to calulate the total intake for each month
ie january = 10
february = 6
march = 10

column a column b
date intake
01/01/09 10
01/03/09 2
11/02/09 6
12/03/09 7
12/03/09 1

please help

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default help calculated total for each month

Oops, please ignore the previous post

C1 = date
=SUMPRODUCT(--(MONTH(A2:A10)=MONTH(C2)),--(B2:B10))


If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

The below will return the sum for the month of May

=SUM(IF(MONTH(A2:A100)=5,B2:B100))

Suppose in C2 you have date entered formated to display January, the below
should return the total for January
=SUM(IF(MONTH(A2:A100)=Month(c2),B2:B100))

If this post helps click Yes
---------------
Jacob Skaria


"jengy1" wrote:

i am trying to calulate the total intake for each month
ie january = 10
february = 6
march = 10

column a column b
date intake
01/01/09 10
01/03/09 2
11/02/09 6
12/03/09 7
12/03/09 1

please help

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default help calculated total for each month

=SUMPRODUCT(--(MONTH($E$11:$E$21)="1"*(F11:F21)))


"1" = January, adjust your range as need

hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"jengy1" escreveu:

i am trying to calulate the total intake for each month
ie january = 10
february = 6
march = 10

column a column b
date intake
01/01/09 10
01/03/09 2
11/02/09 6
12/03/09 7
12/03/09 1

please help

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default help calculated total for each month

Jacob, the previous formula runs, as an array, he should enter with
Ctrl+Shif+enter, not just enter

chers
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Jacob Skaria" escreveu:

Oops, please ignore the previous post

C1 = date
=SUMPRODUCT(--(MONTH(A2:A10)=MONTH(C2)),--(B2:B10))


If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

The below will return the sum for the month of May

=SUM(IF(MONTH(A2:A100)=5,B2:B100))

Suppose in C2 you have date entered formated to display January, the below
should return the total for January
=SUM(IF(MONTH(A2:A100)=Month(c2),B2:B100))

If this post helps click Yes
---------------
Jacob Skaria


"jengy1" wrote:

i am trying to calulate the total intake for each month
ie january = 10
february = 6
march = 10

column a column b
date intake
01/01/09 10
01/03/09 2
11/02/09 6
12/03/09 7
12/03/09 1

please help

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
Calculated Field Total in Pivot Table Arleen Excel Discussion (Misc queries) 5 January 21st 09 06:09 PM
Calculated Field Total formula not working snigam Excel Worksheet Functions 0 June 13th 07 03:42 PM
Using '% of Total' in calculated field in Pivot Table goofy11 Excel Discussion (Misc queries) 2 May 9th 06 11:32 PM
Calculated Pivot table field on YTD £(subract Mar-feb)=month John Excel Worksheet Functions 1 January 6th 06 12:02 AM
How do I calculated total hours per week FrankF Excel Worksheet Functions 1 August 21st 05 08:06 PM


All times are GMT +1. The time now is 11:52 AM.

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

About Us

"It's about Microsoft Excel"