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???
 

Some videos you may like

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

tactps

Well-known Member
Joined
Jan 20, 2004
Messages
3,459
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,519
Messages
5,596,634
Members
414,082
Latest member
sasmita

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