#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default DATE

I am having three columns
DATE, DESC, AMOUNT

I want sum the amount based on month of the date-column ( Not sorted).

Thanks & Regards
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default DATE

Hi,

Try this

=SUMPRODUCT((MONTH(A2:A17)=1)*(B2:B17="Whatever")* (C2:C17))

Where the 1 is january so change to suit. Note that this could be a cell
reference where you could put the month to sum.

Mike

"Jamal A M" wrote:

I am having three columns
DATE, DESC, AMOUNT

I want sum the amount based on month of the date-column ( Not sorted).

Thanks & Regards

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

=SUMPRODUCT(--(month(a2:a100)=7),c2:c100)

will sum month of July (all years)

=SUMPRODUCT(--(month(a2:a100)=7),--(Year(a2:a100)=2007),c2:c100)

July 2007

It's better to put your comparator values in cells:

=SUMPRODUCT(--(month(a2:a100)=X1),--(Year(a2:a100)=X2),c2:c100)

X1=7, X2=2007

HTH

"Jamal A M" wrote:

I am having three columns
DATE, DESC, AMOUNT

I want sum the amount based on month of the date-column ( Not sorted).

Thanks & Regards

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
Create a formula in a date range to locate a specific date - ecel util Excel Discussion (Misc queries) 0 February 19th 07 03:03 PM
Report Date - Date Recv = Days Late, but how to rid completed date MS Questionnairess Excel Worksheet Functions 1 January 24th 07 11:05 PM
Excel Formula to calulate number of days passed from date to date K. Mack Excel Discussion (Misc queries) 8 January 4th 07 11:27 PM
Formula for determining if two date columns fall within specific date range Igottabeme Excel Discussion (Misc queries) 1 April 20th 06 10:03 PM
Date updates from worksheet to chart & changes date to a date series! Help!! Jayjg Charts and Charting in Excel 2 January 22nd 05 03:00 PM


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