在Excel中的pivot-table中排序时间/数字

时间:2014-01-21 14:06:19

标签: excel sorting pivot-table

我使用@xlm在Reduce number of cells in Excel给我的答案来制作下面的数据透视表。

1

我如何按顺序获得时间?当我使用sort时,会发生这种情况:

2

以下是用于创建数据透视表的数据集:

start,  end,    name,
830,    845,    ppa,
845,    900,    ppa,
900,    915,    Bob Hoskins liam Table,         
915,    930,    Bob Hoskins liam Table,        
930,    945,    Bob Hoskins liam Table,         
945,    1000,   Jack Door,          
1000,   1015,   Jack Door,          
1015,   1030,   Jack Door,          
1030,   1045,   Sara Car Tanya Coffee,      
1045,   1100,   Sara Car Tanya Coffee,      
1100,   1115,   Sara Car Tanya Coffee,      
1115,   1130,   Sara Car Tanya Coffee,      
1130,   1145,   Sara Car Tanya Coffee,      
1145,   1200,   Sara Car Tanya Coffee,      
1200,   1215,   Sara Car Tanya Coffee,      
1215,   1230,                  
1230,   1245,                  
1245,   1300,                  
1300,   1315,                  
1315,   1330,                  
1330,   1345,                  
1345,   1400,                  
1400,   1415,   Jack Whiskey,     
1415,   1430,   Jack Whiskey,     
1430,   1445,   Jack Whiskey,     
1445,   1500,   Jack Whiskey,     
1500,   1515,   Jack Whiskey,     
1515,   1530,                  

1 个答案:

答案 0 :(得分:1)

选择没有标题的表格数据,然后点击排序。它将提示选项,选择Ascending,然后选择要重新排序的列名。