+ Reply to Thread
Results 1 to 2 of 2

Can't sort dates in a column

  1. #1
    Forum Contributor
    Join Date
    02-27-2020
    Location
    Rotterdam, The Netherlands
    MS-Off Ver
    2013
    Posts
    425

    Can't sort dates in a column

    Hi,

    I have a column of dates and i would like to sort them on date. Somehow when i use the sort button in excel not all dates are sorted on date. I have used different date notations such as 28/12/2020 and 28-12-2020. How can i sort the data correctly?

    Any input is much appreciated!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    696

    Re: Can't sort dates in a column

    Some dates are in text format.
    Change it by using the formula =IF(ISNUMBER(A2),A2,DATE(RIGHT(A2,4),MID(A2,4,2),LEFT(A2,2))) and try sorting.
    Attached Files Attached Files

+ 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. Unable to sort dates in column correctly
    By pcdots in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-08-2015, 10:19 AM
  2. [SOLVED] Sort dates in column from oldest to newest...
    By ILoveYouExcel in forum Excel General
    Replies: 2
    Last Post: 06-11-2014, 02:11 PM
  3. Replies: 2
    Last Post: 07-16-2013, 09:04 PM
  4. Sort Array Of Dates Into Single Column
    By Eddiegnz1 in forum Excel General
    Replies: 3
    Last Post: 06-26-2012, 10:20 PM
  5. Sort All other dates and data column according to Column A Dates
    By farrukh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-04-2012, 01:46 PM
  6. How to sort a column by number ranges (like dates)
    By Ace of Clubs in forum Excel General
    Replies: 0
    Last Post: 01-21-2010, 08:32 PM
  7. [SOLVED] Sorting dates:How do I sort a column filled with dates by Month, Day, then Year?
    By Heather in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-22-2005, 10:05 PM

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