Sunday 18 May 2014

Trick to Sort / Order Dates By Month And Day (Ignoring Year).

How to sort dates data by month and day / Sort dates by month and day / Ignoring year sort dates by months & dates, Trick to Order by or Sort Dates by Month And Day.

Sometimes you need to sort dates by month and day while ignoring the year, such as grouping anniversary dates (e.g Employees, Clients, Birthdays etc....).
When you will sort dates in a column they will be sorted by year, by default. If there will dates from multiple years and you want your data arranged by months, there will no obvious solutions for this type of sorting.

Here is a solutions for sorting dates by months and day. As there are so many methods to do one work in excel, here are also other ways to do this, but this one is quick and simple.
Lets do it.

1) Now I have some data (Range-A1:C18) in which I have Names and their Date of Birth (just for an example). Now This data is sorted by names or order by names, what I have to do, sort the date with months and dates except years (ignoring year in date).

2) In a blank column (D2), enter the following formula.

=TEXT(A4,"MMDD")

3) Fill this formula down to the bottom of your data (D18);

4) Now select the complete date from starting to the end (A1:D18) and apply sorting (go to Data tab, click on Sort button in Sort & Filter group, there a dialog box named Sort will opened, Select (Column D) in sort by field and click ok.


Now the data has been sorted or ordered by Month & Date without / except years (or Ignoring year).

Hope this will help you, don't forget to leave your suggestions and feedback in comment box.


0 comments:

Post a Comment