Re: Sorting Grouped Dates in Pivot Table
From: Debra Dalgleish (dsd_at_contexturesXSPAM.com)
Date: 05/05/04
- Next message: Debra Dalgleish: "Re: Cell validation!"
- Previous message: Julz: "Re: Using wildcards w/ sumproduct"
- In reply to: Gio Bacareza: "Sorting Grouped Dates in Pivot Table"
- Next in thread: Gio Bacareza: "Re: Sorting Grouped Dates in Pivot Table"
- Reply: Gio Bacareza: "Re: Sorting Grouped Dates in Pivot Table"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 05 May 2004 07:25:28 -0400
The date range is a text string, and 4/26 comes before 4/5 when sorted
alphabetically.
You could ungroup the dates, sort, then regroup them, and the order
should be correct.
Gio Bacareza wrote:
> Having problems sorting grouped dates in a pivot table report. I have a
> column filled with dates. I run pivot table and sort the dates in ascending
> order. Everything's fine. Then I group the dates by 7 days (since there's no
> automatic weekly grouping.) The resulting pivot table have a weird sorting:
>
> 3/29/2004 - 4/4/2004
> 4/12/2004 - 4/18/2004
> 4/19/2004 - 4/25/2004
> 4/26/2004 - 5/2/2004
> 4/5/2004 - 4/11/2004
> 5/3/2004 - 5/9/2004
>
> I have made sure that all the other visible fields (page and column) have no
> sorting order.
-- Debra Dalgleish Excel FAQ, Tips & Book List http://www.contextures.com/tiptech.html
- Next message: Debra Dalgleish: "Re: Cell validation!"
- Previous message: Julz: "Re: Using wildcards w/ sumproduct"
- In reply to: Gio Bacareza: "Sorting Grouped Dates in Pivot Table"
- Next in thread: Gio Bacareza: "Re: Sorting Grouped Dates in Pivot Table"
- Reply: Gio Bacareza: "Re: Sorting Grouped Dates in Pivot Table"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|