Sorting by Date

Redsand

New Member
Joined
Jan 10, 2004
Messages
4
:rolleyes:
Hi,

I am trying to sort by date, but I want to drop the year out of the format and just have the dd/mm without the yy. I know I can format the cells that way but when I sort it It still sorts it as if the year was a factor. ie
12-Mar
14-Jan
02-Mar
Like the year is there just not visible. As there anyway to just to a true sort without the year as a factor???
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

tactps

Well-known Member
Joined
Jan 20, 2004
Messages
3,460
The only way I know is to create an extra column where you take the day and month and format as text

eg:
cell is 01/28/04
put formula in as follows:
=TEXT(MONTH(A1),"mm")&TEXT(DAY(A1),"dd")

Then sort on that new column
 

PaddyD

MrExcel MVP
Joined
May 1, 2002
Messages
14,234
add a column as follows:

=text(a1,"DDMM")

& sort on that; alternatively, under the sort options, you can specify months as the first key sort order, which might give you what you want.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,167,957
Messages
5,856,511
Members
431,819
Latest member
hellosunshine

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
Top