View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Brian Matlack
 
Posts: n/a
Default Function-Date Problems


Ron Coderre Wrote:
Hi, Brian

Try this....

For dates in A1:A20 and Amounts in B1:B20

C1: =SUMPRODUCT((TEXT(A1:A20,"MMM-YY")="Jan-06")*B1:B20)

That formula returns the sum of the Col_B values where the Col_A date
is in the month of January 2006.

Does that help?

Regards,
Ron


Thanks Ron! This will help in another area of my spreadsheet as well!


--
Brian Matlack
------------------------------------------------------------------------
Brian Matlack's Profile: http://www.excelforum.com/member.php...fo&userid=3508
View this thread: http://www.excelforum.com/showthread...hreadid=543470