View Single Post
  #3  
Old January 9th, 2010, 08:29 AM posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_]
external usenet poster
 
Posts: 1,764
Default SumProduct not right

=SUMPRODUCT((Data!$E$3:$E$5000=$A$3)*(Data!$R$3:$R $5000=E2)*(Data!$N$3:$N$5000))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Steve" wrote in message
...
This formula is summing ALL the incidences in the N column of what's in
E2. I
want it to sum ONLY those that are in E2 but also also matching what's in
A3.

=SUMPRODUCT(--(Data!$E$3:$E$5000=$A$3)--(Data!$R$3:$R$5000=E2),Data!$N$3:$N$5000)

I can't figure out why it's not working, because a similiar formula works
for other situations.

Thanks,

Steve