VLOOKUP with DATE TIME cell

DarrenK

Board Regular
Joined
Aug 5, 2017
Messages
65
Office Version
  1. 365
Platform
  1. Windows
Can someone help me understand why this VLOOKUP formula isn't working?

I have worksheet 1 with raw data and there is a column of cells custom formatted m/d/yyyy h:mm:ss AM/PM.

I have worksheet 2 (same file) that is using VLOOKUP to reference a unique segment id located on the same line of each date/time in worksheet 1 and therefore should be displaying the date and time of the respective row in worksheet 2.

My issue is ALL dates/times that are being pulled into worksheet 2 from the raw data are all equal to the very last row's date/time. (8/4/2017 10:55:37 AM happens to be the last displayed date/time in the raw data) After I try to run VLOOKUP on every row, all pulled data is exactly the same (8/4/2017 10:55:37 AM). I've found issues where date/time formatting is off and won't work with VLOOKUP but as I don't have a lookup value of the date/time but merely want to display the date/time as it appears in a specific cell, can anyone please explain why it's not working?

Thank you in advance
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Possibly, you have omitted an argument in your formula. If you post the formula and some sample data, that possibility can be ascertained.
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,623
Latest member
Techenthusiast

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