ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sorting data by date (https://www.excelbanter.com/excel-worksheet-functions/30673-sorting-data-date.html)

Katherine

Sorting data by date
 
I want to sort a list of dates into month order? At present the data is in
dd.mm.yy format. Using the sort function will only sort by day. Is there
any way to sort the data by the month? Any help appreciated. The data has
been exported from another system and is in text format at present.
Thanks
Katherine

N Harkawat

You need to first convert it to a date from existing Text and can easily be
done as follows:
Select the column of date(text format)
Then on your menu go to
Data--Text to columns..
Next
Next
Now select Date and dmy format
Finish

Now your text dates are actual dates and excel will sort it the way you want
it


"Katherine" wrote in message
...
I want to sort a list of dates into month order? At present the data is in
dd.mm.yy format. Using the sort function will only sort by day. Is there
any way to sort the data by the month? Any help appreciated. The data
has
been exported from another system and is in text format at present.
Thanks
Katherine




Peo Sjoblom

You can use a help column

=--MID(4,2)

copy down and sort by the help column



--
Regards,

Peo Sjoblom

(No private emails please)


"Katherine" wrote in message
...
I want to sort a list of dates into month order? At present the data is in
dd.mm.yy format. Using the sort function will only sort by day. Is there
any way to sort the data by the month? Any help appreciated. The data
has
been exported from another system and is in text format at present.
Thanks
Katherine




All times are GMT +1. The time now is 02:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com