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 A: Reference TableTable B: Final Table
Scheduled Date+TimeActual+TimeScheduled TimeActual Date+Time (VLOOKUP)
8/1/2019 4:008/1/2019 4:004:00
8/1/2019 4:068/1/2019 4:064:06
8/1/2019 4:078/1/2019 4:084:07

<tbody>
</tbody>
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
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,214,599
Messages
6,120,449
Members
448,966
Latest member
DannyC96

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