VLOOKUP a date+time with only a date

rgsanchez

New Member
Joined
Dec 1, 2016
Messages
11
Can I Vlookup a date+time if I only have the time? For example, I have the Scheduled Time only in Table B. I want to Vlookup the Date+Time from Table A.

[TABLE="width: 740"]
<tbody>[TR]
[TD]Table A: Reference Table[/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 2"]Table B: Final Table[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Scheduled Date+Time[/TD]
[TD]Actual+Time[/TD]
[TD][/TD]
[TD]Scheduled Time[/TD]
[TD]Actual Date+Time (VLOOKUP)[/TD]
[/TR]
[TR]
[TD="align: right"]8/1/2019 4:00[/TD]
[TD="align: right"]8/1/2019 4:00[/TD]
[TD][/TD]
[TD="align: right"]4:00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]8/1/2019 4:06[/TD]
[TD="align: right"]8/1/2019 4:06[/TD]
[TD][/TD]
[TD="align: right"]4:06[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]8/1/2019 4:07[/TD]
[TD="align: right"]8/1/2019 4:08[/TD]
[TD][/TD]
[TD="align: right"]4:07[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
I am not sure if this work for you. Please check.


Excel 2013/2016
ABCDE
1Scheduled Date+TimeExtr-TimeActual+TimeScheduled TimeActual Date+Time (VLOOKUP)
28/1/19 4:0004:008/1/19 4:004:008/1/19 4:00
38/1/19 4:0604:068/1/19 4:064:068/1/19 4:06
48/1/19 4:0704:078/1/19 4:084:078/1/19 4:07
Sheet1
Cell Formulas
RangeFormula
B2=TEXT($A2-INT($A2),"HH:MM")
E2=INDEX($A2:$A4,MATCH(TEXT($D2-INT($D2),"HH:MM"),$B2:$B4))
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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