How to sort month?

RichardDK

New Member
Joined
Oct 15, 2002
Messages
3
From a date column (MM/DD/YY), how can I sort by month instead of by the order of the date?
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
What's the difference? Date order places the list in Month order... unless you have different years in your list.
 
Upvote 0
If your list consists of multiple years format your date values as "mmm", choose the Data | Sort... menu command, click on [ Options... ], and choose "Jan, Feb, Mar..." as your sort key.
 
Upvote 0
Unfortunately, it is stored as serial number e.g. 11,720.

From an employee birth-date spreadsheet, I want to sort and find out which employee is having a birthday in November.

Can it be done?
 
Upvote 0
Say the dates you want to sort are on col.A

In B2 type and copy down

=MONTH(A2)

Then you can sort on this new column or use an autofilter to view your results
 
Upvote 0
On 2002-10-16 13:57, RichardDK wrote:
Unfortunately, it is stored as serial number e.g. 11,720.

From an employee birth-date spreadsheet, I want to sort and find out which employee is having a birthday in November.

Can it be done?


Hmmm... I could have sworn that you said they were in MM/DD/YY format. :p So why can't you format as Text and sort on these values directly? Can you provide some sample data illustrating your difficulty?

Note: You'd need to apply the Text formatting using the Text To Columns Wizard.
This message was edited by Mark W. on 2002-10-16 14:15
 
Upvote 0
On 2002-10-16 14:03, paliman wrote:
Say the dates you want to sort are on col.A

In B2 type and copy down

=MONTH(A2)

Then you can sort on this new column or use an autofilter to view your results

If A2 contained 11,720 or "11,720" your formula, =MONTH(A2), would give you the month for February 1, 1932.
 
Upvote 0
It works for me. I have this column with general format and =MONTH(A2) gives me a 2 for 11720, which corresponds to february. I also got a 2 for 28157 (feb 1, 1977), and so on.
 
Upvote 0
Yes, and so does my original reply...

If your list consists of multiple years format your date values as "mmm", choose the Data | Sort... menu command, click on [ Options... ], and choose "Jan, Feb, Mar..." as your sort key.

...and, no formulas are needed.
 
Upvote 0

Forum statistics

Threads
1,213,538
Messages
6,114,217
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top