Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default SumIf ( range, criteria, sum_range )

Hi,

i'm using 3 columns in excel 2007

"dates" - "code" - "money"

I use sumIF to get the total of money for each code. This works great.

But I would like to do so between two dates from column "dates".

To sumIF the table between two dates...

How could I do this ?


Thanks,

Andy
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default SumIf ( range, criteria, sum_range )

You need to do something like this

=SUMPRODUCT(--(A2:A12DATE(2009,2,1)),--(A2:A12<=DATE(2009,3,1)),--(B2:B12="Code"),(C2:C12))

Assume Dates are in A2:A12, Codes are in B2:B12 and $$ is in C2:C12.

HTH,
Barb Reinhardt

"andré C." wrote:

Hi,

i'm using 3 columns in excel 2007

"dates" - "code" - "money"

I use sumIF to get the total of money for each code. This works great.

But I would like to do so between two dates from column "dates".

To sumIF the table between two dates...

How could I do this ?


Thanks,

Andy

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
SumIf( range, criteria, sum_range ) andré C. Excel Discussion (Misc queries) 3 March 2nd 09 01:51 AM
sumif with multiple critera range and sum_range DocBrown Excel Worksheet Functions 5 December 21st 08 06:54 AM
SUMIF - Sum_Range is misleading Epinn Excel Worksheet Functions 3 October 29th 06 08:53 AM
SUMIF with the Sum_range across several colums D Excel Worksheet Functions 7 September 25th 06 04:00 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 09:01 PM.

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"