View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default Can I put a cell reference in a sumproduct formula

Like:

=SUMPRODUCT(--(YEAR($L$5:$L$102)=2009),--(MONTH($L$5:$L$102)=MONTH(Z100)),$B$5:$B$102)

--
Gary''s Student - gsnu200840


"soconfused" wrote:

I have the following formula and I would like to automate it a bit more. I
want to be able to have the month automatically pick up from another cell.

SUMPRODUCT(--(YEAR($L$5:$L$102)=2009),--(MONTH($L$5:$L$102)=2),$B$5:$B$102)
--
DMM