conditional sumproduct
need help:
i have three columns. one has a list of fruits which can occur several times (three times apples, two times pears, etc.), the second has a list of prices and the third a list of quantities. how do i get the total value of my apple, i.e. the sum of the products of my apples?
in excel i write the following formula:
=SUMPRODUCT(--(A2:A101="Apples");B2:B101;C2:C101)
in numbers it just fails.
thanx
philip
MacBook Pro, OS X Mountain Lion (10.8.2)