ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sorting a lsit by month (https://www.excelbanter.com/excel-discussion-misc-queries/21402-sorting-lsit-month.html)

mike_vr

Sorting a lsit by month
 
Hey, so I have a list of data, which i need to sort by month (but just the
month, no day or year). there has got to be an easy way of doing this that
i'm just not thinking about. thanks.

Dave Peterson

I'd use a helper column:

=month(a1)
and drag down
(where A1 contained the date)

Then sort by that.

If I wanted to sort by mmddyyyy, I'd use a helper formula like:
=text(a1,"mmddyyyy")
This would sort by month, then if there were ties, by day, then finally by year.

mike_vr wrote:

Hey, so I have a list of data, which i need to sort by month (but just the
month, no day or year). there has got to be an easy way of doing this that
i'm just not thinking about. thanks.


--

Dave Peterson


All times are GMT +1. The time now is 08:45 PM.

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