Sorting Time

Bernard2

New Member
Joined
Jun 15, 2011
Messages
44
I have a column in an Excel spreadsheet that lists the date and time in military time. An employee works 7:00am to 3:30pm. I want to sort the time worked each day (7:00 to 3:30) for the employee each day and exclude the time worked, 3:31pm to 6:59am. Can this be done without doing it manually using sorting or a filter? See column below.



[TABLE="width: 89"]
<tbody>[TR]
[TD="class: xl63, width: 119, bgcolor: transparent"]dec_DecisionDate
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 6:14
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 6:21
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 6:26
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 6:31
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 6:36
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 6:39
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 6:43
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 6:50
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 6:59
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 7:05
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 7:13
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 7:32
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 7:38
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 7:41
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 7:46
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 7:50
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 7:51
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 7:56
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 8:03
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 8:03
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 8:04
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 8:07
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 8:09
[/TD]
[/TR]
[TR]
[TD="class: xl64, bgcolor: transparent"]10/1/2017 8:14
[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Couldn't edit title of thread. But I wanted to filter the time, 7:00am to 3:30pm, each day from column. :banghead:
 
Last edited:
Upvote 0
I think it's a safe bet no one knows what you're trying to do. An example output might help.
 
Upvote 0

Forum statistics

Threads
1,223,991
Messages
6,175,818
Members
452,672
Latest member
missbanana

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