Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default How do I Subtotal, then Sort by Subtotal Amounts?

I have a few thousand row of part numbers with their costs (many part numbers
appear on multiple rows) and I have sorted them by part number, then I
subtotalled the cost column. Now I want to sort them by the subtotal amount,
so the part number group with the highest cost subtotal is first, but I want
to keep the detail in tact. How do I do this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 477
Default How do I Subtotal, then Sort by Subtotal Amounts?

With your existing data in sheet1, Sub-totaled (level2-being currentlyselected)
I Highlight the full range - Edit, Goto, Special Cells button...
Visible-Cells Only select
then Copy
then go to or add sheet2 (Should be Blank)
and Paste
Then on sheet2 Datat, Sort., Cost << Desending
Your Sheet1 data is INTACT
HTH

"dnamertz" wrote:

I have a few thousand row of part numbers with their costs (many part numbers
appear on multiple rows) and I have sorted them by part number, then I
subtotalled the cost column. Now I want to sort them by the subtotal amount,
so the part number group with the highest cost subtotal is first, but I want
to keep the detail in tact. How do I do this?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default How do I Subtotal, then Sort by Subtotal Amounts?

If you collapse the outline to only display the subtotals,
you can select the entire outlined range (excluding the grand total)
and peform the sort. The detail data within the collapsed subtotals will
move with the subtotal and those details will remain in the same order.

(at least that's how XL2002 worked when I just tested it)

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"dnamertz" wrote:

I have a few thousand row of part numbers with their costs (many part numbers
appear on multiple rows) and I have sorted them by part number, then I
subtotalled the cost column. Now I want to sort them by the subtotal amount,
so the part number group with the highest cost subtotal is first, but I want
to keep the detail in tact. How do I do this?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default How do I Subtotal, then Sort by Subtotal Amounts?

Thanks, that helped.

"Ron Coderre" wrote:

If you collapse the outline to only display the subtotals,
you can select the entire outlined range (excluding the grand total)
and peform the sort. The detail data within the collapsed subtotals will
move with the subtotal and those details will remain in the same order.

(at least that's how XL2002 worked when I just tested it)

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"dnamertz" wrote:

I have a few thousand row of part numbers with their costs (many part numbers
appear on multiple rows) and I have sorted them by part number, then I
subtotalled the cost column. Now I want to sort them by the subtotal amount,
so the part number group with the highest cost subtotal is first, but I want
to keep the detail in tact. How do I do this?

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
sorting data on protected worksheet Sue Excel Discussion (Misc queries) 20 November 7th 06 07:31 PM
Nested subtotal display error phil Excel Discussion (Misc queries) 3 October 24th 06 09:16 AM
How can I sort multiple times Sorting data Excel Worksheet Functions 2 February 9th 06 05:22 PM
Using more than one subtotal with same data set AuthorizedUserPF Excel Worksheet Functions 3 February 28th 05 02:05 PM
HELP! How do you--> Lock a set of rows but also link worksheets to FRUSTRATED Excel Discussion (Misc queries) 6 December 29th 04 10:05 PM


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