Sorting dates and times

ZNZ

New Member
Joined
Nov 22, 2005
Messages
1
I have a spreadsheet containing dates and times in the same column but they are out of order.

2/4/05 4:40
2/4/05 4:39
2/4/05 4:48
2/4/05 3:37
1/4/05 23:45
1/4/05 5:46
1/4/05 4:45
3/5/05 10:21
3/5/05 10:16
3/5/05 10:23
3/5/05 11:19
3/5/05 11:17
3/5/05 11:11

I want to sort them so that the dates and times are all in order however do not want to do it manually as the spreadhseet is 1300 lines long.

any suggestions?

ZNZ
 

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.
Select your column with the date and time in it. Make sure it is formated to custom format m/d/yyyy h:mm
This should allow you to sort it just like you would any other column of data. I copied and pasted your example into my spreadsheet, hit sort, and got:
1/4/2005 4:45
1/4/2005 5:46
1/4/2005 23:45
2/4/2005 3:37
2/4/2005 4:39
2/4/2005 4:40
2/4/2005 4:48
3/5/2005 10:16
3/5/2005 10:21
3/5/2005 10:23
3/5/2005 11:11
3/5/2005 11:17
3/5/2005 11:19

I assumed this is what you wanted.

HTH
 
Upvote 0

Forum statistics

Threads
1,206,921
Messages
6,075,584
Members
446,147
Latest member
homedecortips

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