ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   sort dates by month and day not year (https://www.excelbanter.com/excel-worksheet-functions/16670-sort-dates-month-day-not-year.html)

dianne

sort dates by month and day not year
 
How can I sort by birthdays when I have birthday entered in by date of birth?
It sorts by the year first. I just need it to sort by month and day. I
have tried changing format and that will not work. I have over 5000 dates so
I don't want to change each one.

Niek Otten

Introduce 2 helper columns. =MONTH(A1) and =DAY(A1). Use those to sort the
entire region

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"dianne" wrote in message
...
How can I sort by birthdays when I have birthday entered in by date of
birth?
It sorts by the year first. I just need it to sort by month and day. I
have tried changing format and that will not work. I have over 5000 dates
so
I don't want to change each one.




Arvi Laanemets

Hi

Use an additional column with formula like
=TEXT(A2,"mm.dd")
where A2 contains the date of birth.


Arvi Laanemets


"dianne" wrote in message
...
How can I sort by birthdays when I have birthday entered in by date of

birth?
It sorts by the year first. I just need it to sort by month and day. I
have tried changing format and that will not work. I have over 5000 dates

so
I don't want to change each one.





All times are GMT +1. The time now is 04:07 AM.

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