Sorting months and data from large set of data

dimuthumme

New member
Joined
Mar 17, 2014
Messages
4
Reaction score
0
Points
0
Hello,

I've got dates from 2007 to 2010 in sequential order(Attachment). I want to sort the date in a new column(F) in the order of 2007 January, then 2008 January, 2009 January, and finally 2010 January.


Then another new column 2007 February, 2008 February, etc. and so on for remaining months. Secondly I want to sort the data in similar manner with respect to relevant dates. Kindly help me with the relevant formulas for one month.


I am trying to sort by month... as all January months together and all Feb. months together for years 2007 to 2010.Thank You very much.
 

dimuthumme

New member
Joined
Mar 17, 2014
Messages
4
Reaction score
0
Points
0
File size is 980Kb. Forum does not allow to upload. I want to sort the dates similar to
JAn 1 2007
...
Jan 31 2007
Jan 1 2008
...
Jan 31 2008
etc.

But my dates start from Jan 1 2007 and End by 31 Dec 2010.
 

NBVC

Super Moderator
Staff member
Joined
May 20, 2011
Messages
1,518
Reaction score
0
Points
0
Location
Mississauga, Canada
Excel Version(s)
Excel 2016
OK, Add a helper to the database.

Assuming your dates are in column A, starting at A2 then in B2 enter formula:

=TEXT(A2,"mmyyyydd")

copied down.

Now sort the data based on column B. (if you get a sort warning about sorting numbers as numbers or text, you can choose either, it doesn't matter).

You can hide or delete the helper column afterwards.
 
Last edited:
Top