View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Luke M Luke M is offline
external usenet poster
 
Posts: 2,722
Default conditional formula question with multiple criteria

=SUMPRODUCT((MONTH(A2:A100)=1)*(B2:B1000)*(C2:C10 0))
Note that range sizes must be equal, and you can't callout entire column
(unless using XL 2007)

If you need more exact dates, could use:
=SUMPRODUCT((A2:A100=DATEVALUE("1/1/09")*(A2:A100<=DATEVALUE("1/31/09")*(B2:B1000)*(C2:C100))
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"joe@malvern" wrote:

I need to sum the rows in a column that meet certain criteria.
column A= date
column B= has $ values
column c= has the dollar values I want to sum if the folling conditions are
met:

Column A date = January (01/01/09-01/31/09)
column B "0"

resulting in sum of column c values

thanks!