how to find and add multiple entries

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a matrix with two columns. The first column contains names while the
second contains values. I would like to sum all values that matche the string
in the first column, so for example
A B
1 Mike 200
2 Alex 100
3 Frank 110
4 Alex 180

and the matching string is Alex, the returning valus is 280

thanks
 
Try...

=SUMIF(A1:A4,"Alex",B1:B4)

or

=SUMIF(A1:A4,D1,B1:B4)

....where D1 contains your criterion, such as 'Alex'.

Hope this helps!
 

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

Back
Top