Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorting within subtotals

Status
Not open for further replies.

rvmams

Technical User
Jan 28, 2003
22
0
0
GB
Hi,

I subtotaled a list of values, but within the "category" I would like the items sorted within the list. Here is an example of what it is now:

Al cars 2
Al hotels 5
Al planes 3
Sub total 10

This is what I would like it to be:

Al hotels 5
Al planes 3
Al cars 2
Sub total 10

Is there anyway to do this besides manually sorting them?

Thnx,

Roger
 
Roger,

Can't do it in SUBTOTAL.

However, using the PivotTable Wizard you can use Sum Of [whatever you were subtotaling] and then RIGHT CLICK the ROW field and select Field Setting - Advanced - Auto Sort Options Descending by Sum of whatever

Skip,

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Why don't you sort by Category and item, then add the subtotals?

Just an idea.
Glenn.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top