Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 102
Default 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?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 367
Default 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?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 102
Default 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?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dups and Conditional Formating wal50 Excel Discussion (Misc queries) 2 October 3rd 07 07:29 PM
Comparing two columns for dups Stephanie Excel Discussion (Misc queries) 1 July 28th 07 07:44 PM
database - looking for dups sos-DC[_2_] Excel Discussion (Misc queries) 3 July 25th 07 03:22 PM
Dups from 2 worksheets Dan @BCBS Excel Worksheet Functions 1 April 16th 07 08:27 PM
Identifying Dups in different ranges nrage21 Excel Worksheet Functions 1 September 6th 05 11:38 PM


All times are GMT +1. The time now is 10:59 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"