Adding up column based on value of different column??

tombe

New Member
Joined
Oct 27, 2008
Messages
29
Hi,

am pretty new to this and was wondering if someone can help me with this please. Basically i have i get a list of numbers, different everyday, and i must go through and match numbers i col A and adding with what it corresponds with in col B, for example:

AT006462 34
AT006461 32
AT006457 21
AT006463 6
AT006458 7
AT006463 4
AT006460 23
AT006457 234
AT006462 87
AT006459 213
AT006459 12
AT006460 56
AT006461 345
AT006458 78


So AT006462 appears twice and its total is (34+87) 121. Is there any way i can add up col B for each number in col A. If that makes sense.

It's really been bugging me and currently i can get upto 1000 numbers i have to add up manually.

Thanks

Tom
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Try the SUMIF function

=SUMIF(A1:A1000,"AT006462",B1:B1000)


You can use a cell reference for the "AT006462" part

=SUMIF(A1:A1000,C1,B1:B1000)

C1 = AT006462


Hope that helps.
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,561
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top