Office & Productivity Software forum

General discussion

Excel 2007: Pivot Table - Date Field Sorting

by msinghanand / November 4, 2009 12:21 AM PST

Hi,

I have data dumped from a database into my main sheet. Each row is timestamped in the DD-MON-YY format. For ex: 02-OCT-09 or 11-AUG-09.

I am trying to arrive at a simple list of how many entries are there per date, sorted by date.

SO a list such as:

02-OCT-09 2
03-OCT-09 4
04-OCT-09 3

I created a Pivottable with the Date field as the Row Label and Values as the count of the Row Label. THe counts come out fine but I cant seem to find a way to sort the dates in increasing order. The only sort options are A-Z and Z-A.

Any clues?

Thanks!

Discussion is locked
You are posting a reply to: Excel 2007: Pivot Table - Date Field Sorting
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Excel 2007: Pivot Table - Date Field Sorting
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Did you try
by wil_peter / November 5, 2009 7:44 AM PST

putting one of the Data columns as the Data. It becomes "count of dataX" and the result of the Date column should be sortable.

Collapse -
Alternatively
by wil_peter / November 5, 2009 8:00 AM PST

use the Data Subtotals feature. First, sort in the order you want by the Date. At each change in Date, Count the Date. Display the 2 level for a simple count of dates.

Collapse -
Do a right click on the field you want to SORT and
by VAPCMD / November 7, 2009 9:07 AM PST

select on SORT 'Sort A to Z', 'Sort Z to A' or 'More Sort Options'

VAPCMD

Collapse -
(NT) Did it work ??
by VAPCMD / November 10, 2009 11:11 AM PST
Popular Forums
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

CNET FORUMS TOP DISCUSSION

Help, my PC with Windows 10 won't shut down properly

Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?