+ Reply to Thread
Results 1 to 11 of 11

How to sort month and year into oldest to new (A-Z)

  1. #1
    Registered User
    Join Date
    05-27-2014
    Location
    Manchester
    MS-Off Ver
    2007, 2010
    Posts
    73

    How to sort month and year into oldest to new (A-Z)

    Hi,

    Looking for help to sort attached file data (Dates Month Year) by ascending order.

    Thanks for help
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    05-27-2014
    Location
    Manchester
    MS-Off Ver
    2007, 2010
    Posts
    73

    Re: How to sort month and year into oldest to new (A-Z)

    I cant see replies

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: How to sort month and year into oldest to new (A-Z)

    Your months and years shall be excel dates (at the moment they are texts, which only look like a date).

    HAve a look also here: http://office.microsoft.com/en-gb/ex...001162867.aspx
    Best Regards,

    Kaper

  4. #4
    Registered User
    Join Date
    05-27-2014
    Location
    Manchester
    MS-Off Ver
    2007, 2010
    Posts
    73

    Re: How to sort month and year into oldest to new (A-Z)

    its from pivot table, you can sort pivot table dates, I will appreciate that thanks.

  5. #5
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: How to sort month and year into oldest to new (A-Z)

    Quote Originally Posted by raysrains View Post
    I cant see replies
    1) Open your eyes wider
    2) This is free forum with volunteers answering in their spare time - have you tried Microsoft helpdesk? Or may be some other paid service? Nowhere you will get warranty of SLA equal to:
    Today, 03:27 PM - Today, 03:19 PM = 8 minutes !!!

  6. #6
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: How to sort month and year into oldest to new (A-Z)

    Hi,

    Please see the attached file, its SORTED now.
    Attached Files Attached Files

  7. #7
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: How to sort month and year into oldest to new (A-Z)

    Its pivot table, but data in "Month Year" are texts not dates (check it yourself and try to add 100 to Q3 in source sheet).
    If it were date, you can do that.
    As for me - EOT.

    edit: To note what cbatrody did - have a look into Q column in source. There are dates in his solution - exactly as I wrote above.

  8. #8
    Registered User
    Join Date
    05-27-2014
    Location
    Manchester
    MS-Off Ver
    2007, 2010
    Posts
    73

    Re: How to sort month and year into oldest to new (A-Z)

    Thanks CBATRODY, much appreciated, would you able to tell me how you did it (Sort Pivot table data Month Year in ascending order)

  9. #9
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: How to sort month and year into oldest to new (A-Z)

    As Kaper rightly pointed out Pivot table date field was not getting SORTED because of the following formula:
    =+TEXT(O3498,"mmm-yy")

  10. #10
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: How to sort month and year into oldest to new (A-Z)

    I would change the formula on the OBOOK sheet
    Column Q for the Month Year

    =O3-DAY(O3)+1

    This makes it a real date that the pivot table itself can sort on it's own.
    The date represents the first of the month.

    Then you can apply a custom format to the pivot table field as mmm-yy

  11. #11
    Registered User
    Join Date
    05-27-2014
    Location
    Manchester
    MS-Off Ver
    2007, 2010
    Posts
    73

    Re: How to sort month and year into oldest to new (A-Z)

    Got it and you change the formula to =EOMONTH(O3,0)

    Thanks cbatrody very helpful

+ 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. [SOLVED] Sort by month not year
    By Gallinski in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-13-2014, 07:07 PM
  2. [SOLVED] Pivot: Replace month numbers with month names and sort by fiscal year
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-29-2011, 02:13 PM
  3. [SOLVED] Sort by Month and Year
    By Yoshi in forum Excel General
    Replies: 1
    Last Post: 02-02-2006, 07:10 PM
  4. sort dates by day then month, not by year.
    By KL in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-06-2005, 06:05 AM
  5. Sort by year, then month
    By szl1194 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-22-2005, 10:11 AM

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