Search Time

zyhin

Board Regular
Joined
Oct 8, 2009
Messages
78
Is there anyway to search time.

I have a numbers of start times that range from 7am to 4pm in the format of hh:mm:ss. Is there any way of finding the last time inputed before a set time in column A

for e.g.

9:35:23
10:45:34
10:56:05
12:52:28

and findng the last time before 11:00:00 = 10:56:05


Z
 

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.
Yes, most things are possible in VBA, but it helps when you give a little more detail.

Where do you want to add 11:00:00?
Are you wanting it added to the existing list?
If this number is to be added what do you want done with it?
Do you want 10:56:05 returned somewhere?
 
Upvote 0
I was wanting 11:00:00 put next to it in column B. I have A as start time and B as finish time. I want to clock them out(finished time) at 11am and then will do another for 11:30am to clock them back in again. I know what I need to do to get the rest to work. Its just the finding the time parthave no idea about.

eg

9:35:23 10:45:34
10:45:34 10:56:05
10:56:05 11:00:00 < clock out for lunch​
11:30:00 12:52:28
12:52:28

Z
 
Upvote 0

Forum statistics

Threads
1,224,517
Messages
6,179,239
Members
452,898
Latest member
Capolavoro009

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