Names in Column A,
Numbers in Column B,
Enter this in C1, and copy down as needed:
=IF(A1<A2,SUMIF($A$1:A1,A1,$B$1:B1),"")
This places total at *end* of group !
--
HTH,
RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===
"Mark J" wrote in
message ...
I have a table like this (original cotains a row a 4000 cells)
CAR NUMBER TOTAL
Mazda 1
Mazda 7
Mazda 8
Volvo 4
Volvo 5
Skoda 5
Skoda 4
Skoda 7
How do i get a sum of cells with the same name, so you get something
like this.
CAR NUMBER TOTAL
Mazda 1 16
Mazda 7
Mazda 8
Volvo 4 9
Volvo 5
Skoda 5 16
Skoda 4
Skoda 7
--
Mark J
------------------------------------------------------------------------
Mark J's Profile:
http://www.excelforum.com/member.php...o&userid=30738
View this thread:
http://www.excelforum.com/showthread...hreadid=504042