Returning Value from Time Ranges

Mooboos

New Member
Joined
Mar 9, 2016
Messages
8
Hi Everyone
I have a data table that shows a list of times Trailers were tipped, from which site in time order such as
DateDespatch SiteTime of Trailer Unloaded
28/02/2016MD0106:13
28/02/2016KA0906:56
28/02/2016MD1907:42

<tbody>
</tbody>


I then on a separate sheet have a list of data with times on which I need to return the value of the Despatch Site for that time.

So
06:20
06:31
07:50

<tbody>
</tbody>

Would return These despatch sites as they fall within the time period before the next Trailer
06:20 MD01
06:31 MD01
07:50 MD19

Does anyone know of a calculation for me to do this and not do it manually?

Thanks in advance
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
A
B
C
D
1
DateDespatch SiteTime of Trailer UnloadedSheet1
2
28/02/2016MD01
6:13​
3
28/02/2016KA09
6:56​
4
28/02/2016MD19
7:42​

<tbody>
</tbody>




A
B
C
1
6:20​
MD01sheet2
2
6:31​
MD01
3
7:50​
MD19

<tbody>
</tbody>


B1 =LOOKUP(Sheet2!A1,Sheet1!$C$2:$C$4,Sheet1!$B$2:$B$4) copy down
 
Upvote 0

Forum statistics

Threads
1,213,504
Messages
6,114,016
Members
448,543
Latest member
MartinLarkin

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