View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
via135
 
Posts: n/a
Default Summing values in a range against specific text


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

or

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

assuming that the customer name is in C1

-via135


starguy Wrote:
i have two columns. col A has customer name and col B has amount of
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 many
customers which appear many time in col A.
how can i have individual totals.

thanks



--
via135
------------------------------------------------------------------------
via135's Profile: http://www.excelforum.com/member.php...o&userid=26725
View this thread: http://www.excelforum.com/showthread...hreadid=527438