See
http://www.xldynamic.com/source/xld.SUMPRODUCT.html for a detailed
explanation.
--
---
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
"DavidK" <(E-Mail Removed)> wrote in message
news:6fd729fe-3ead-4d5e-95b5-(E-Mail Removed)...
Biff,
Thanks and Happy New Year! This does the job ... now the qwuestion:
what are the -- in the formula? never saw those before.
On Dec 31 2007, 1:35 pm, "T. Valko" <biffinp...@comcast.net> wrote:
> Try this non-array version:
>
> =SUMPRODUCT(--(ISNUMBER('2008'!B$2:B$746)),--(MONTH('2008'!B$2:B$746)=$I4))
>
> --
> Biff
> Microsoft Excel MVP
>
> "DavidK" <kellermanda...@netscape.net> wrote in message
>
> news:a29df558-8ec2-41fb-ae4a-(E-Mail Removed)...
>
>
>
> >I have the following array formula:
>
> > {=SUM(IF(MONTH('2008'!B$2:B$746)=$I4,1,0))}
>
> > In col I I have values 1 to 12. I would expect this to give me a
> > summary of monthly occurences based on column B which contains dates.
>
> > The problem is in the first month. It seems that if the cell is
> > blank, the ligical retuirns 1, so with nothing in column B the formula
> > returns a value of 45.
>
> > I have tried ISBLANK with no success, since the values in column B are
> > continually being added to.
>
> > All other months work except 01. Any suggestions?
>
> > David M. Kellerman- Hide quoted text -
>
> - Show quoted text -