Sorting Issue in Pivot Table

SDBoca

Board Regular
Joined
Nov 14, 2011
Messages
88
I created a custom sort order to handle text values: 7AM, 8AM, 9AM, 10 AM, 11 AM, 12 PM, 1PM, etc. These are text values in the data list that I create with this formula (assume G2 as 7:08 AM) = Text(G2, "H AM/PM") which results in 7 AM as text. I thenk create a pivot table to list entries for each teller by hour. The labels show up as 7 AM,... 11 AM, 1 PM, 2 PM, 12 PM. How do I get the 12 PM to appear after 11 AM? I found a post that said it will be in the order as the data source if I do not set the pivot field options. See below. In Excel 2010, where do I find the pivot field options for PivotField.IsAutoSort?

Thanks,

Sharon



Please simply create the pivot table directly, the order of the pivot items will be same as the data source if you do not set the pivot field options i.e.., PivotField.IsAutoSort, PivotField,IsAscendSort
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,215,770
Messages
6,126,794
Members
449,337
Latest member
BBV123

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top