Jump to content


Photo

Pivot table

sorting

  • Please log in to reply
1 reply to this topic

#1 Nishan

Nishan

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 13 April 2016 - 02:56 PM

I do have 24 hour data I need to sort the data to count loads each hour shift are from 11:35pm to  7:34 am 3rd, 7:35am to 3:34 pm 1st and 3:35 pm to 11:34 pm 2nd see attach.

 

I want to pivot table charting by shift per day.

Attached Files



#2 Jonathan

Jonathan

    Forums Administrator

  • Administrators
  • 845 posts

Posted 14 April 2016 - 12:32 PM

Hi Nishan,

 

It seems like you almost had this correct, you just need to rearrange the fields in the PivotTable Fields dialog.

 

You can see how to correctly set up pivot table rows and columns in the video lesson: Expert Skills Lesson 5-3 Understand pivot table rows and columns.

 

I have attached a copy of your workbook with the fields rearranged to show the values by shift for each date:

 

Attached File  Shift sorting test.xlsx   92.5KB   90 downloads

Shift sorting test.png

 

You might prefer to show the shift numbers along the top instead of grouped under each date. If so, you can do this by moving the Shift field into the Columns list instead of Rows.

 

I hope this is what you were looking for, but please feel free to reply if you need any more help with this.


Jonathan is part of the professional team who answer Excel-related questions posted on the ExcelCentral.com forums.
Jonathan also tests our courses prior to publication and has worked on all of our ten world bestselling Excel books for Excel 2007, Excel 2010, Excel 2013, Excel 2016 for Windows and Excel 2016 for Apple Mac. Jonathan has also worked on over 850 video lessons for or video courses covering Excel 2007, Excel 2010 and Excel 2013.
As well as extensive Excel knowledge, Jonathan has worked in the IT world for over thirteen years as a programmer, database designer and analyst for some of the world's largest companies.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users