LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 82
Default Macro to combine (sum) like items

Looking to clean up product order list of items with a macro. Idea would be
that if the part number is the same sum all lines into one and then delete
each line other than the sum line.

There are presorted by the part number so the like values would be in
adjacent rows.

Thanks so much!

Scott

Here is an example of what I have:
Qty Part #
4 SG400R
1 TK4V1200R
1 TK4V1200R
6 TNG3
8 TNG3
6 TNG3
2 SKLB36BC1200
1 SKLB36BC1200
1 TCAL125
12 TCAL125

Here is what I'd like to end up with:
Qty Part #
4 SG400R
2 TK4V1200R
20 TNG3
3 SKLB36BC1200
13 TCAL125

 
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
Data Validation in Excel 2000 - Can 2 items from a list be combine RShaw Excel Discussion (Misc queries) 0 January 20th 09 08:40 PM
Like items will not combine in a pivot table. markh Excel Worksheet Functions 4 April 1st 07 06:06 PM
How do I combine quantities of similar line items Joshua Hullender Excel Discussion (Misc queries) 2 January 3rd 06 11:42 PM
How do I combine four data items into one in a Pivot Table? robjworsley Excel Discussion (Misc queries) 3 September 19th 05 06:19 PM
how to combine items in 3 columns and produce all combinations usi Kumar_KP Excel Programming 4 October 17th 04 05:08 AM


All times are GMT +1. The time now is 11:37 PM.

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

About Us

"It's about Microsoft Excel"