pivot table column order

S

sennr

I have a simple pivot table built from a single data table.

There are three columns, ABC, DEF, and GHI. They are not in the
order that I wish them to be, but I cannot determine how to change the
column order. I wish them to be in the order of GHI, ABC, DEF.

How do I change the column order?
 
D

DennisSunga

you can simply drag the column to where you want it to be (within the
pivot table of course). Drag the column heading.

good luck
 
S

sennr

Thanks, but it's not that simple. I guess my initial post lacked some
meaningful information.

The 3 columns come from codes in a single data column, so within the
pivot table layout I moved the heading for that one data column to the
pivot table column area. Because there are three codes, it generated 3
columns within the pivot table.

Whether by design or by happenstance, within the pivot table the 3
columns representing the codes appear in alphabetical order. That
might normally be fine, but alphabetical order is not the order of
importance in this case, and I'm trying to arrange them order of
importance.

Any further ideas?
 
D

Debra Dalgleish

To manually rearrange them, right-click on a cell that contains the
heading text, e.g. DEF.
In the context menu, choose Order
Select one of the options for moving the heading

Or, you can select the heading cell, e.g. DEF, and drag it to a
different position in the headings.

To automatically sort the headings in your preferred order, you can
create a custom list, and use it as the sort order.

To create a custom list:
Choose Tools>Options
Select the Custom Lists tab
Click in the List Entries box, and type your list, then click OK

When you create a new pivot table, items should be in the order of the
custom list.

To sort the items in an existing pivot table, select the field
button, and choose Data>Sort
Click the Options button, and choose your custom list
 

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