+ Reply to Thread
Results 1 to 6 of 6

Making date sortable via Filters

  1. #1
    Registered User
    Join Date
    03-05-2004
    Posts
    31

    Making date sortable via Filters

    Hello All

    The dates that exported from a program for some unknown reason are unsortable in excel. I've switched on the filters and noticed that I lose the ability to sort. I'm thinking the dates have been exported in a non standard format which is why excel is not being able to sort them. How and what format should I change them to make them sortable?

    Thanks

    Attached file

    date sorting.xls

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    24,023

    Re: Making date sortable via Filters

    In cell D2
    Type =-value(A1), reformat to the preferred date format
    Copy over and down
    Sort
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    03-05-2004
    Posts
    31

    Re: Making date sortable via Filters

    Quote Originally Posted by alansidman View Post
    In cell D2
    Type =-value(A1), reformat to the preferred date format
    Copy over and down
    Sort
    I'm missing something here. Is the minus before value supposed to be there? Can you give an example of a preferred date format.

    Thanks

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    24,023

    Re: Making date sortable via Filters

    Sorry about the minus sign. Fat finger syndrome. It doesn't belong. Preferred date format refers to what date format do you want. It will return a five digit number that equates to a serial date. Click on format, Date and select the format you prefer to show.

  5. #5
    Registered User
    Join Date
    03-05-2004
    Posts
    31

    Re: Making date sortable via Filters

    Quote Originally Posted by alansidman View Post
    Sorry about the minus sign. Fat finger syndrome. It doesn't belong. Preferred date format refers to what date format do you want. It will return a five digit number that equates to a serial date. Click on format, Date and select the format you prefer to show.
    =VALUE(A2) returns #VALUE!. I cant figure where I'm doing it wrong. Please check the attachment.
    Attached Images Attached Images

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    24,023

    Re: Making date sortable via Filters

    Works for me. See attachment. Also, try this =A2*1 as an alternative.
    Attached Images Attached Images

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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