Sorting in PivotTable

A

Aaron Howe

Is there a way to sort the grand total *row* of a three-column PivotTable in
Excel? I have a month-by-month analysis to do on client spending, and have
consolidated the three months into a PivotTable using the wizard. Now I need
to sort this list by total spend but when I try to sort I get the error:

"Cannot determine which PivotTable field to sort by". I have tried using
the Advanced options for sorting but these are no good as they don't work on
the Grand Total column itself. Has anyone managed to make a PivotTable sort
without using VB? I'm sure there must be a simple answer (it's one of those
Excel functions that you expect it to do without any effort)!
 
G

Gary's Student

If nobody has a proper solution, you can fall back on:

1. Select the entire pivot table
2. Copy it and paste it Value elsewhere.
3. The copy is a simple table and can be sorted using normal approaches
 
O

OM

Have the same problem, there must be an easy way. Looking hering from anyone
who know the way
 
D

Debra Dalgleish

Double-click the first Row field button
Click the Advanced button
For AutoSort, choose Descending
From the Using Field dropdown, select the data field,
e.g. "Sum of Units"
Click OK, click OK.
 
A

Aaron Howe

Thank you Debra. That is actually the method from the help file and I really
can't understand why I couldn't make it work before. However, it works now!
It might be because I'm doing this on consolidation now rather than from the
same data area. In any event, thank you very very much!
 
J

jesterhs

I have a similar problem. I have a pivot table that I update on a
monthly basis. It has company name and region followed by units and
volume in the data area. within each region, the companies are listed.
I then sort the companies descending by volume to see who is the
highest in each region. My problem is that whenever I refresh the pivot
table I loose that formatting and have to re-sort each region again. Is
there a way to make the sort "stick".

Hope that all made sense.

Thanks in advance for any help provided.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top