View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
drose drose is offline
external usenet poster
 
Posts: 18
Default Why formula isn't working?

I tried it with 1/1/2009 and still doesn't work. Any ideas?

"drose" wrote:

The error i'm getting is (A vlaue used in the formula is the wrong data type.

{=MAX(IF(MONTH(D2:D232)=MONTH(TODAY())-1,H2:H232))}

d2:d232 is either blank or month ex. January
h2:h232 is either blank or a whole number ex.2, 5, 8, 12
Thanks,
Paul