Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default Sort in Subtotals

Hello,
is it possible to sort in excel when you have group
subtotals? I can select by range and sort but dont' want
to do it manually. Plus since the rows might change a
macro that specified range will not work.
Example,
Cust name should be
AZX ABC
BBC AZX
ABC BBC
Total PROD 1
TEST2 CATR
CATR TEST2
Total Prod 2
Manually I could do it, but if I have ten groups too much
to do. So please advise any help, would appreciate.
thanks,
Juan

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default Sort in Subtotals

Would it be less work to remove the subtotals, do your sort (on product, then
customer), then reapply the subtotals?


On Wed, 4 Aug 2004 12:08:15 -0700, "JUAN" wrote:

Hello,
is it possible to sort in excel when you have group
subtotals? I can select by range and sort but dont' want
to do it manually. Plus since the rows might change a
macro that specified range will not work.
Example,
Cust name should be
AZX ABC
BBC AZX
ABC BBC
Total PROD 1
TEST2 CATR
CATR TEST2
Total Prod 2
Manually I could do it, but if I have ten groups too much
to do. So please advise any help, would appreciate.
thanks,
Juan


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Sort in Subtotals

Hello myrna,
The thing is that the subtotals are already there. Which
this was created unsing a program that kicks the data in
excel. But I'll see what else I can do, was just hoping
that there was a way to sort between each group total.
Thanks,
Juan
-----Original Message-----
Would it be less work to remove the subtotals, do your

sort (on product, then
customer), then reapply the subtotals?


On Wed, 4 Aug 2004 12:08:15 -0700, "JUAN"

wrote:

Hello,
is it possible to sort in excel when you have group
subtotals? I can select by range and sort but dont' want
to do it manually. Plus since the rows might change a
macro that specified range will not work.
Example,
Cust name should be
AZX ABC
BBC AZX
ABC BBC
Total PROD 1
TEST2 CATR
CATR TEST2
Total Prod 2
Manually I could do it, but if I have ten groups too

much
to do. So please advise any help, would appreciate.
thanks,
Juan


.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Sort in Subtotals


I guess you are using Excel's "DATA SUBTOTALS". Try using Excel's
"SUMIF" function to calculate the group subtotals outside the data
range. You can then sort your data ranges without affecting the group
subtotals.

StephenS

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
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
How do I sort subtotals for groups in Excel ? rtwoi Excel Discussion (Misc queries) 6 April 22nd 23 08:09 AM
HOW CAN I SORT SUBTOTALS FROM HIGHEST TO LOWEST JGAVIGAN Excel Discussion (Misc queries) 2 April 9th 10 03:34 PM
Subtotal, then sort groups by their subtotals Lorenda Excel Worksheet Functions 1 August 15th 07 08:14 PM
sort subtotals? dlw Excel Discussion (Misc queries) 1 February 22nd 07 11:13 PM
Excel should let you sort by subtotals David Matsumoto Excel Worksheet Functions 2 May 24th 05 02:52 AM


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