summing mulitple lookup values revisited, catchy

G

Guest

hello, i am not too bright, so this'll probably be obvious to most of you
I now need to add up 2 columns, and stick that in the total, i.
Fruit No. in Europe no. in America Total in europe and americ
Apples 1 2
Apples 2
Bananas 3 3 2
Bananas 3
Bananas 4

any ideas
ps. these numbers are just made up, don't rush out and buy the last bananas.
 
F

Frank Kabel

Hi
you should stay in the same thread. Makes it easier to understand your
problem :)
Try the following formula
=IF($A2<>$A1,SUMPRODUCT(--($A2:$A$999=$A2),($B2:$B$999)+($C2:$C$999)),"
")
and copy down

Frank
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top