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: 19
Default Subtotal duplicate

I have a list of amounts that are attached to 3 separate elements. I need to
have a subtotal on a single line (no levels like in the 'subtotal' function)
for each change in the 3 columns as a whole, then delete the lines that are
not total lines. I need to work this into an existing macro, but I record all
of them & the subtotal function with 3 levels got way too messy. The list is
always a variable length & all 3 columns will have different values. Any
suggestions?

Original list:
A B C D
GL ST RL AMT
602600 01 KC 30.00
602600 01 KC 4.50
602600 00 GA 10.00
602600 00 GA 2.25
602600 04 KB 15.00
602600 04 KB 3.75
702600 04 KB 6.00
602600 04 KE 24.00
602600 04 KE 4.50
602600 04 KM 7.50


List as I would like it to be:
GL ST RL AMT
602600 01 KC 34.50
602600 00 GA 12.25
602600 04 KB 18.75
702600 04 KB 6.00
602600 04 KE 28.50
602600 04 KM 7.50

Any help would be appreciated!
--
DanaK
 
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
Subtotal To Include Item Description On Subtotal Line Tickfarmer Excel Discussion (Misc queries) 2 February 23rd 10 07:56 PM
subtotal by week with duplicate dates? Beth Excel Discussion (Misc queries) 2 April 5th 08 03:37 AM
pasting to subtotal lines without replacing hidden -non-subtotal l harleydiva67 Excel Discussion (Misc queries) 1 October 12th 06 06:02 PM
subtotal of identical data and deleting its duplicate PaolaAndrea Excel Discussion (Misc queries) 2 February 17th 06 06:10 PM
Subtotal of Subtotal displays Grand Total in wrong row Thomas Born Excel Worksheet Functions 5 January 6th 05 01:46 PM


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

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"