View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
joel joel is offline
external usenet poster
 
Posts: 9,101
Default SumIf( range, criteria, sum_range )

It is better to use SUMPRODUCT

=SUMPRODUCT(--(A1:A100=DATEVALUE("1/1/09")),--(A1:A100<DATEVALUE("3/1/09")),C1:C100)

"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