Hi Friends,
I am using pivot table to manipulate data. I want to sort the data by date range & month/year. Somehow I am unable to sort the data in either way. Can you please help me to sort this out?
Thanks in advance.
Hi Friends,
I am using pivot table to manipulate data. I want to sort the data by date range & month/year. Somehow I am unable to sort the data in either way. Can you please help me to sort this out?
Thanks in advance.
Please attach a sample workbook so we can work with your own data to work out possible solutions. Remember to remove or replace any sensitive data before uploading your file.
Trish in Oz
-------------
A problem well defined is a puzzle half solved
If you attach a sample of your workbook it will be easier to find a solution.Remember to remove/replace sensitive data before uploading the file. Look here if you need help with attachments:
http://www.excelforum.com/faq.php?fa...b3_attachments
Hi
Please find the attached. PIVOT1 & PIVOT2 worksheet. I want the data to be sorted in order by month.
Thanks heaps.
It's because the Month column in your data sheet is not formatted as dates. Once you change this format and refresh the pivot table it will sort correctly. You will need to change the format of the date cells in the data sheet and pivot tables to your preferred format of mmm-yy.
To sort, in the pivot table right click on the "Month" cell, select Sort, A-Z or Z-A whichever you prefer.
Thanks..It works as expected. But How do I change the formate. I have tried copying your format but somehow it doesn't work. I have got Jul-14, Aug-14 etc. But your cell says Jul-14 but it is actually 1/07/2014. How did you change mmm-yy to date?
Thanks again.
Select the date cells then right click. Select Format Cells and click on Date in the left column. In the right hand column you will see the various date formats. Scroll down and click on the one that looks like "14-Mar-01". Now click on Custom in the left column and you will see the formula Excel uses to format the date. Delete dd- and click OK. The format of your daets should now be Jul-14.
Hi
For some reason, Its not working in my data. Can you please try in the attached & see whether it works. I have done exactly the same thing as you have mentioned but not working.
Thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks