#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 148
Default SUM IF, Month

Hi,

I searched on this NG but I can't find a solution to my simple problem.

On Column A are dates, e. i. 09/28/06 format. On column B are values. I'd
like to get the total on Column B if the dates on Column A are days in
September.

Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default SUM IF, Month

One way would be to use a helper column. Assuming your dates in column A and
values in column B, then in C2 put this and copy down
=MONTH(a1)
Then in D1 put this
=SUMIF(C:C,9,B:B)

Vaya con Dios,
Chuck, CABGx3



"Danny" wrote:

Hi,

I searched on this NG but I can't find a solution to my simple problem.

On Column A are dates, e. i. 09/28/06 format. On column B are values. I'd
like to get the total on Column B if the dates on Column A are days in
September.

Thank you.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default SUM IF, Month

=SUMPRODUCT(--(MONTH(A1:A100)=9),B1:B100)

"CLR" wrote:

One way would be to use a helper column. Assuming your dates in column A and
values in column B, then in C2 put this and copy down
=MONTH(a1)
Then in D1 put this
=SUMIF(C:C,9,B:B)

Vaya con Dios,
Chuck, CABGx3



"Danny" wrote:

Hi,

I searched on this NG but I can't find a solution to my simple problem.

On Column A are dates, e. i. 09/28/06 format. On column B are values. I'd
like to get the total on Column B if the dates on Column A are days in
September.

Thank you.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 148
Default SUM IF, Month

Thanks a lot.

"Toppers" wrote:

=SUMPRODUCT(--(MONTH(A1:A100)=9),B1:B100)

"CLR" wrote:

One way would be to use a helper column. Assuming your dates in column A and
values in column B, then in C2 put this and copy down
=MONTH(a1)
Then in D1 put this
=SUMIF(C:C,9,B:B)

Vaya con Dios,
Chuck, CABGx3



"Danny" wrote:

Hi,

I searched on this NG but I can't find a solution to my simple problem.

On Column A are dates, e. i. 09/28/06 format. On column B are values. I'd
like to get the total on Column B if the dates on Column A are days in
September.

Thank you.

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
How to create a rolling 6 month average? anley Excel Discussion (Misc queries) 3 August 14th 06 12:41 PM
Date arithmetic: adding 1 month to prior end of month date manxman Excel Worksheet Functions 2 July 14th 06 09:29 PM
Need cell formula to subtotal gross by month for a quarter mikeburg Excel Discussion (Misc queries) 4 November 7th 05 09:25 PM
Working days left in the month compared to previous months qwopzxnm Excel Worksheet Functions 8 October 24th 05 08:00 PM
Month Year Date Format Jamie Excel Worksheet Functions 2 February 7th 05 06:43 PM


All times are GMT +1. The time now is 12:24 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"