filtering dates by year frist, then month and therafter day

s1015972

New Member
Joined
Oct 27, 2006
Messages
5
hi
please could you help.
i have a large spreadsheet with colums and rows with one colum reflecting the date which reads in this format eg 01.02.2011 (day.month.year) HOWEVER i require the colum to be filtered according to the 2011.02.01 (year.month.day). this will enable to seperate the years first.
ps:i tried the sort and filter function because the date is in 01.02.2011 (date.month.year) format, it is sorting the days frist
thanks
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hi s1015972,

I'm not clear enough what you need, but I think you can select the column
where date are located, then Right Click--> Cell format-->Custom and now
you can define the format you need typing yyyy.mm.dd.

If that is not the solution to your problem, please show a sample of your
input data and the desired output.

Regards
 
Upvote 0
It looks like your dates are text values if they are sorting by day first. The best solution would be to insert a column in proper date format and then sort that. If your text date "2011.02.01" is in A1 make B2

=DATEVALUE(RIGHT(A1,2)&"/"&MID(A1,6,2)&"/"&LEFT(A1,4))

Format column B as date however you want it displayed.
 
Upvote 0

Forum statistics

Threads
1,224,505
Messages
6,179,152
Members
452,891
Latest member
JUSTOUTOFMYREACH

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