#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default Merge /Join data

i have a worksheet that has 17 rows with the following columns:
Customer, Product, Qty, and a few more....
In each of the 17 rows customer name is the same, but Product and Qty will
vary.
I would like create a macro or use some built in excel tool to Merege the 17
rows to 2 rows based on the Product Name and sum up the qty.

IN other words based on the Product column merge/join a selection set to a
single row for each customer, product, with QTY totaled?

any thoughts?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 791
Default Merge /Join data

Hi Kevin. Take a look at the Subtotal function on the Data menu. First,
sort your table, product, customer. Then use subtotals - for each change in
product sum qty. Then, don't replace those subtotals, but do it again based
on customer. HTH
--
Sincerely, Michael Colvin


"Kevin R" wrote:

i have a worksheet that has 17 rows with the following columns:
Customer, Product, Qty, and a few more....
In each of the 17 rows customer name is the same, but Product and Qty will
vary.
I would like create a macro or use some built in excel tool to Merege the 17
rows to 2 rows based on the Product Name and sum up the qty.

IN other words based on the Product column merge/join a selection set to a
single row for each customer, product, with QTY totaled?

any thoughts?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default Merge /Join data

this helps a ton......but i canot figure how to get these 17 rows to 3 rows
based on product with summed qty....?

AutoCAD 1 CONCRETE TECHNOLOGY
AutoCAD 1 CONCRETE TECHNOLOGY
AutoCAD 1 CONCRETE TECHNOLOGY
AutoCAD 3 CONCRETE TECHNOLOGY
AutoCAD 1 CONCRETE TECHNOLOGY
AutoCAD 5 CONCRETE TECHNOLOGY
AutoCAD 1 CONCRETE TECHNOLOGY
AutoCAD 1 CONCRETE TECHNOLOGY
AutoCAD 1 CONCRETE TECHNOLOGY
AutoCAD 1 CONCRETE TECHNOLOGY
AutoCAD 1 CONCRETE TECHNOLOGY
AutoCAD 1 CONCRETE TECHNOLOGY
AutoCAD 1 CONCRETE TECHNOLOGY
AutoCAD 1 CONCRETE TECHNOLOGY
AutoCAD LT 1 CONCRETE TECHNOLOGY
AutoCAD LT 13 CONCRETE TECHNOLOGY
AutoCAD Mechanical 1 CONCRETE TECHNOLOGY

"Michael" wrote:

Hi Kevin. Take a look at the Subtotal function on the Data menu. First,
sort your table, product, customer. Then use subtotals - for each change in
product sum qty. Then, don't replace those subtotals, but do it again based
on customer. HTH
--
Sincerely, Michael Colvin


"Kevin R" wrote:

i have a worksheet that has 17 rows with the following columns:
Customer, Product, Qty, and a few more....
In each of the 17 rows customer name is the same, but Product and Qty will
vary.
I would like create a macro or use some built in excel tool to Merege the 17
rows to 2 rows based on the Product Name and sum up the qty.

IN other words based on the Product column merge/join a selection set to a
single row for each customer, product, with QTY totaled?

any thoughts?

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
Can I merge data in 2 sheets matching rows of data by last name? Corb Excel Discussion (Misc queries) 1 March 18th 07 05:32 PM
join rows? SusanK New Users to Excel 3 April 22nd 06 03:47 AM
mail merge excludes my headers and critical data in Word merge Nix Excel Discussion (Misc queries) 0 April 21st 06 08:35 PM
how do i get my mail merge to update the data source at each merge Steel_Monkey Excel Discussion (Misc queries) 0 November 30th 05 08:41 AM
join 2 spreadsheets Raya Excel Discussion (Misc queries) 2 July 13th 05 11:16 AM


All times are GMT +1. The time now is 12:45 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"