View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jerry Rogers Jerry Rogers is offline
external usenet poster
 
Posts: 8
Default Help with Dates in a Formula

Hi Mike,

Thanks for the response.

I plugged in the formula you provided and received a #VALUE message. I do
have data with dates in 2007. Is the 2007 data the cause of the error? How
can I differentiate between years?
--
Jerry


"Mike" wrote:

Try this im assuming that there is no data for 2007
9 is for the month of Sept
=SUMPRODUCT((MONTH($A$12:$A$399)=9)*($B$12:$B$399= "PI")*($E$12:$E$399))

"Jerry Rogers" wrote:

Hi,

I need to change the reference (=B474) in this formula to something that
will select all entries in the range A12:A399 that fall within the month of
SEP 06 then sum the numbers found in Column E. The cells in range A12:A39
are formatted as dates. I don't know how to enter this. Please help.

=SUMPRODUCT(($B$12:$B$399="PI")*($A$12:$A$399=B474 )*($E$12:$E$399))

Thanks

--
Jerry