ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Macro - find dups & add (https://www.excelbanter.com/excel-discussion-misc-queries/184880-macro-find-dups-add.html)

Benjamin

Macro - find dups & add
 
I have a worksheet with columns Part and Qty. Some Parts have multiple
entries. I need a macro to find the multiple entires and sum the Qty,
creating only one entry per Part. This data will then pass through a macro
being copied and pasted into another table.
Any help?

Jason

Macro - find dups & add
 
You could use a pivot table rather than writing a macro to do it. Set it up
with part for your rows and Qty for your data.

"Benjamin" wrote:

I have a worksheet with columns Part and Qty. Some Parts have multiple
entries. I need a macro to find the multiple entires and sum the Qty,
creating only one entry per Part. This data will then pass through a macro
being copied and pasted into another table.
Any help?


Benjamin

Macro - find dups & add
 
This works fine, but I would like to find a way to automate the process. I
have many worksheets to do this to.

"Jason" wrote:

You could use a pivot table rather than writing a macro to do it. Set it up
with part for your rows and Qty for your data.

"Benjamin" wrote:

I have a worksheet with columns Part and Qty. Some Parts have multiple
entries. I need a macro to find the multiple entires and sum the Qty,
creating only one entry per Part. This data will then pass through a macro
being copied and pasted into another table.
Any help?



All times are GMT +1. The time now is 08:34 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com