Hi Ron,
Thanks for the suggestion!
When I fill out the formula I get #NUM! as a result.
I adjusted the formula as follows: =SUMPRODUCT((Flash_data!
A:A="PHILIPS FFC")*(Flash_data!D:D>0))
Am I forgetting something?
Thanks again
Rgds,
Robert
Bernard Liengme - 05 Apr 2007 14:39 GMT
SUMPRODUCT does not work with entire column (D:D)
Try something like D1:D6500
best wishes

Signature
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email
> Hi Ron,
>
[quoted text clipped - 11 lines]
> Rgds,
> Robert
Ron Coderre - 05 Apr 2007 14:46 GMT
SUMPRODUCT cannot reference entire columns; it must refer to ranges.
Try this:
=SUMPRODUCT((Flash_data!A1:A65535="PHILIPS FFC")*(Flash_data!D1:D65535>0))
NOTE: the formula refers to the next-to-the-last row....NOT the last row
(65536)
Alternatively, you could skip the first row, instead:
=SUMPRODUCT((Flash_data!A2:A65536="PHILIPS FFC")*(Flash_data!D2:D65536>0))
Does that help?
***********
Regards,
Ron
XL2002, WinXP
> Hi Ron,
>
[quoted text clipped - 11 lines]
> Rgds,
> Robert
Robert - 10 Apr 2007 08:12 GMT
Hi Ron and Bernard,
Thanks, that does the trick!
Rgds,
Robert