+ Reply to Thread
Results 1 to 3 of 3

Pivot table is sorting values with text first then dates?!?!?

  1. #1
    Registered User
    Join Date
    02-19-2013
    Location
    Shanghai, China
    MS-Off Ver
    Excel 2010
    Posts
    8

    Pivot table is sorting values with text first then dates?!?!?

    Hi all,

    I'm currently trying to get my pivot table to sort the main list of values in date order but in the list are also some text items, and i want the text items to apprear after the dates. When i click sort ascending (A to Z), the list currently displays text items first in alphabetical order, followed by the dates in ascending order. I thought this was supposed to be vice versa as standard?!?!? It's a standard ascending order sort (no custom sort options), and the dates are being recognised as dates (when i change the type of date format, the formatting of the dates adjusts in line), so i'm baffled. Is there anything i'm doing wrong, or anything i can do to correct this, aside from creating a custom sort list with the dates for every day for the 4 years, followed by A to Z? I've searched and searched Google, and i find similar issues, but nothing exactly the same that addresses my problem, mostly the opposite problem.

    I've attached the example file, with a lot of the date removed, but it highlights my problem
    Dont know if it makes much difference, but I'm running excel 2010 on windows 7.
    Attached Files Attached Files

  2. #2
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Pivot table is sorting values with text first then dates?!?!?

    I do not understand why it should be but if you select 'More sort options' when sorting the field then select 'More Options...' and uncheck the automatically sort option then change the First key sort order to something apart from "No calculation", the sort is correct.

  3. #3
    Registered User
    Join Date
    02-19-2013
    Location
    Shanghai, China
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Pivot table is sorting values with text first then dates?!?!?

    That works, not sure why it's doing it like this, but it's fixed now anyway. Thanks very much!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sorting Dates in a Pivot Table is not working
    By Excel_vba in forum Excel General
    Replies: 1
    Last Post: 10-09-2012, 02:31 PM
  2. Sorting dates in Pivot table
    By scuba2x2 in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 09-13-2012, 07:45 PM
  3. Sorting Dates in a Pivot Table
    By johncassell in forum Excel General
    Replies: 1
    Last Post: 07-11-2011, 06:31 AM
  4. Sorting range of dates in Pivot Table
    By ErikaJC in forum Excel General
    Replies: 1
    Last Post: 11-19-2006, 06:59 AM
  5. [SOLVED] Sorting Numbers as Text in Pivot Table
    By Tod in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-17-2006, 05:10 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1