View Single Post
  #1  
Old November 14th, 2009, 02:45 PM posted to microsoft.public.excel.misc
wilson[_3_]
external usenet poster
 
Posts: 2
Default SumProduct question

Dear all,

A B
1 Item Number
2 x 1
3 y 2
4 x 3

SumProduct(--(A1:A4="x"),(B1:B4)) gives the correct answer 4.

However, SumProduct((A1:A4="x"),(B1:B4)) gives the incorrect answer,
it incorrectly gives 0.

Any idea why?


Thanks,

Wing