Summing values in a range against specific text

S

starguy

i have two columns. col A has customer name and col B has amount o
sales.

A B
aa 10
bb 15
aa 12
ff 08
bb 12
aa 10

i want to have total of sales for each customer. col A has man
customers which appear many time in col A.
how can i have individual totals.

thank
 
V

via135

hi!
=sumif(A:A,"aa",B:B)

or

=sumif(A:A,C1,B:B)

assuming that the customer name is in C1

-via135
 

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