Sumproduct problem
Hi,
The other syntax will work just as well and there are times when, with a
slight modification, it would prevent a problem that the * syntax would
generate. So this is equivalent:
=SUMPRODUCT(I$2:I$4139="",D$2:D$4139=Y34,K$2:K$413 9=Y$6,N$2:N$4139<=Y$7,S$2:S$4139)
as is this, which is slightly safer in some cases:
=SUMPRODUCT(--(I$2:I$4139=""),--(D$2:D$4139=Y34),--(K$2:K$4139=Y$6),--(N$2:N$4139<=Y$7),S$2:S$4139)
Minor points, in both syntaxes you can drop the final ()'s as shown above.
If you are copying downward you only need absolutes ($) in front of the row
numbers.
--
If this helps, please click the Yes button
Cheers,
Shane Devenshire
"burl_h" wrote:
Mike H,
Thanks it worked a treat.
But why is the "*" working in this case, I've always used "," to
separate the statements?
Thanks
burl_h
|