How to sort birthdays (dates) by month/year/day only in Excel?
Normally the dates are sorted firstly by the year, then month, and at last the date in Excel, and it seems quite hard to sort dates only by the month with ignoring the year, even if the month is formatted at the beginning, such as Dec 12, 2011. However, sometime it may ask for sorting birthdays by month when sending birthday cards, or other reasons. This article is going to show you tricky tips to sort birthdays (dates) by month in Excel quickly.
- Sort birthdays (dates) by month/year/day only with Excel functions
- Sort birthday (dates) by month/year/day only with Kutools for Excel
- Sort birthdays (dates) by month only with Kutools for Excel
The Excel’s Month function can help you to extract the month form the date, and then sort them by month and year quickly. Please do as follows:
1. In the adjacent blank cell of the dates, for example the Cell C1, enter the formula =Month (B2), and then drag this cell's AutoFill Handle down to the range as you need. And the months have been extracted from the birthdays. See screenshot:
(1) For sorting by year only, please apply this formula =YEAR(B2);
(2) For sorting by day only, please apply this formula =DAY(B2).
(3) You can also apply the formula =TEXT(B2,"MMDD") to extract months and days from birthdays.
2. Keep selecting these months, and click Data > Sort Smallest to Largest or Sort Largest to Smallest.
3. In the opening Sort Warning dialog box, please check the Expand the selection option, and click the Sort button.
And now the dates have been sorted by the month only (or year/day only)at once. And you can delete the new column with month as you need.
Apart from Excel functions, you can also apply Kutools for Excel’s Apply Date Formatting utility to extract the month/year/day only from birthdays (dates), and then you can sort birthday (dates) by month/year/day only.
1. Copy the birthday column and paste next to original data.
2. Keep selecting the new birthdays in the new column, and click Kutools > Format > Apply Date Formatting. And now in the opening Apply Date Formatting dialog box, please select a date formatting and click the Ok button.
In our case, we select the date formatting which shows a date as month only. You can select the date formatting which only shows year or day of birthdays as you need. See screenshot:
3. Keep selecting the birthdays which show months only, click Kutools > To Actual, and click Home > Number Format > General successively.
And now months are extracted from all birthdays. See screenshots:
4. Keep selecting the months of birthdays, click Data > Sort Smallest to Largest or Sort Largest to Smallest, and then in the Sort Warning dialog box check the Expand the selection option and click the Sort button. See screenshots:
So far we have sorted the birthdays by the month only (or sorted by the year/day only).
The above methods may be a little complex, however with Advanced Sort utility of Kutools for Excel, you can sort dates based on month directly and quickly.
1. Select the list you want to sort the date by month and click Kutools Plus > Advanced Sort. See screenshot:
2. And then in the Advanced Sort dialog box, select the birthday column, and choose Month (or Day) from the Sort On drop down list, .and click the Ok button. See screenshot:
And now you can see the birthdays have been sorted by month (or day) only. See screenshot:
You are guest
or post as a guest, but your post won't be published automatically.
To post as a guest, your comment is unpublished.· 1 years agoThis was so simple and clever. Really helpful. I was going to sort all 500 dates manually to sort by month until I came across this post. Thank you.
To post as a guest, your comment is unpublished.· 6 years agoWhat if we have month and day in two separated collumns?
To post as a guest, your comment is unpublished.· 6 years agoVery helpful... thank you very much
To post as a guest, your comment is unpublished.· 6 years agoThank that helps me.
To post as a guest, your comment is unpublished.· 6 years agoI would like to sort a column in Excel by birth day and month. No year is necessary.
I've tried all that I know, based on the Excel I'm using. I get a sort but some are jumbled out of order.
To post as a guest, your comment is unpublished.· 6 years agoI'm not the best with excel and other walk-throughs were not nearly as thorough as this one! Thank you, thank you, thank you! This was just what i was looking for!
To post as a guest, your comment is unpublished.· 6 years agoI like to think I'm pretty computer literate but I've been trying to figure this out forever. THANK YOU SO MUCH, worked like a charm!
To post as a guest, your comment is unpublished.· 7 years agoThis is EXACTLY what I was looking for! I've tried to do this several different ways, and they always get too complex, but this was perfect! I used the Text option (the middle one of the options on this page) and it was exactly what I needed. Thank you for sharing this!!!
To post as a guest, your comment is unpublished.· 7 years agoHow do I sort for birthdays in the English date format?
day month year?