Filter and Sum Similar Items

helpexcel

Well-known Member
Joined
Oct 21, 2009
Messages
656
I have a spreadsheet with data in columns A:L. All of the data is the same expect for columns H & L. Is there a macro (vlookup and sumproduct take to long to calc) I can use that would basically take the 1st entry and and copy it to a new sheet with the value in column L the sum of all the rows that have the same data in columns A:K (excluding Column H which is irrelevant)?

ABCDEFGHIJKL
OrangeABCDEFGHIJKLMNOPQRCaliforniaSTUVWXYZ100
OrangeABCDEFGHIJKLMNOPQRFloridaSTUVWXYZ150
OrangeABCDEFGHIJKLMNOPQRSTUVWXYZ250

<colgroup><col><col><col><col><col><col><col span="6"></colgroup><tbody>
</tbody>
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Have you tried a Pivot Table or Power Pivot ?
 
Upvote 0
A pivot table will count an item as many times as it appears in the list. I only want it counted once, even if it appears 100 times.
 
Upvote 0

Forum statistics

Threads
1,215,159
Messages
6,123,348
Members
449,097
Latest member
thnirmitha

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