Lookup and SUM

len3121

New Member
Joined
Mar 29, 2011
Messages
14
Hi,

I'm looking for some help on creating a formula. I'm guessing there is a way to do what I want using Lookup and SUM, but I am at a loss as to how to actually accomplish it.

I have a product spreadsheet. Column A has the handle (unique identifier) of each product. The handle will appear in as many rows as there are sizes so if for example there was a S, M, L in a particular product the same handle would appear in A1, A2 and A3. Column L (L1,L2,L3) has the quantity of each size.

Is there a way to write a formula that will add all the quantities for each handle up and end up with a sheet that just lists each handle once with the total quantity available?

So instead of:
handle1 - 1
handle1 - 2
handle1 - 1
handle2 - 4
handle2 - 3

I would get something like
handle1 - 4
handle2 - 7

The other columns in the sheet are not absolutely necessary for this task and can be deleted if required.

Any help would be appreciated.

Thanks!
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Sounds like you need SUMIF

=SUMIF(A:A,"handle1",L:L)

Just swap out "Handle1" for whatever cell contains that text.
 
Upvote 0
Yup, that did the trick. Thank you so much for your help! You saved me hours of going through thousands of rows and adding things up manually.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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