View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
SteveG SteveG is offline
external usenet poster
 
Posts: 1
Default Need help on countif and sumif function with dates and wildcard characters


Did you change the range in the formula to mathc yours?

=SUMPRODUCT((B1:B6="Open")*(MONTH(C1:C6)=8))


If you are concerned with the year as well as the month then,

=SUMPRODUCT((B1:B6="Open")*(MONTH(C1:C6)=8)*(YEAR( C1:C6)=2005))

HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=562912