Question:
sorting in Excel?
shaik a
2007-09-18 11:52:36 UTC
In MS-Excel, When i am sorting the dates in a column of format dd/mm/yyyy, say example 10/06/2007 and 02/10/2007, the sorted column shows 02/10/2007 in first row.
Please suggest me, how can i solve this problem.

The format is English (UK).

While sorting, it has to check year first then month and then Day. But its happening vice versa. Its a list of records.
Six answers:
voyager
2007-09-18 13:09:08 UTC
Even though you have shown the date format as dd/mm/yyyy, I think you haven't changed it in the number format. The default format is mm/dd/yyyy..



Now I think you have to change the positions of the month & the day since excel considers your date as the month and your month as the date. If you have a long list of dates, do the following..



Say your first date is in D1. Type in E1 the following formula



=DATE (YEAR (D1),DAY (D1),MONTH (D1))



Copy that formula down and change the format to dd/mm/yyyy if you want.. Then you can do the sorting.......
pricehillsaint
2007-09-18 12:44:16 UTC
I agree. Dates are merely numbers formatted from January 1, 1900. Therefore, if they are true numbers/dates they would sort correctly, no matter what format you put them in.
Who Dares Wins
2007-09-18 12:02:05 UTC
Strange - Mine sorts fine. Are you sure you are sorting a date column and not text column? Because a text column would sort as you described.



wdw
kranwinkle
2016-10-19 04:22:39 UTC
interior the type show screen there is an decision on the backside for Header row or no header row. make helpful header row is chosen and it is going to bypass away the header row and type something.
2014-11-06 21:12:44 UTC
problematic point. search over google. that could actually help!
nonpractzngintrovert
2007-09-18 13:17:49 UTC
there is a button on standard toolbars "sort ascending" beside it is "sort descending" could you please try the second?



does it work?


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...