View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
ExcelNovice ExcelNovice is offline
external usenet poster
 
Posts: 12
Default Subtotal macro and delete original data

I am trying to subtotal the following data:

Location ProductID Qty
1 2a 5
1 2a 2
1 2a 10
32 4bc 1
32 4bc 4
32 r3s 8


I want the end result to look like this (I do not want the word "subtotal"
anywhere on my worksheet):
Location ProductID Qty
1 2a 17
32 4bc 5
32 r3s 8

and delete the original data rows so the subtotaled rows are the only rows
in the worksheet.
(I am using Excel 2003 and need all the rows I can get)

Any help is greatly appreciated.