=SUMPRODUCT(--(Sheet1!N5:N9=A11),Sheet1!D5:D9)+SUMPRODUCT(--(Sheet1!N22:N26=
A11),Sheet1!D22:D26)+SUMPRODUCT(--(Sheet1!N39:N43=A11),Sheet1!D39:D43)
--
HTH
RP
(remove nothere from the email address if mailing direct)
"Pete" wrote in message
oups.com...
When I enter the formula below, the result I get is 0, when it should
be 490
If Cells N5:N9,N22:N26,N39:N43 = A11
THEN SUM
D5:D9,D22:D26,D39:D43
=SUMPRODUCT(--(Sheet1!N5:N9=A11)--(Sheet1!D5:D9),--(Sheet1!N22:N26=A11),--(S
heet1!D22:D26),--(Sheet1!N39:N43=A11),--(Sheet1!D39:D43))
Any ideas?
Pete
|