How to Look Up an Excel Timestamp between Two Dates

nryan

Board Regular
Joined
Apr 3, 2015
Messages
61
Hi All,

I have a spreadsheet that will eventually contain a lot of data and I want to be able to use formulas and data validation to populate that data onto another sheet by date. I can't use the filter tool in my case.

On the sheet with all the data column A has a timestamp formula:
Code:
=IF(B2="","",IF(A2="",NOW(),A2))

Column A is formatted as MM/DD/YY 13:00 (24 hour clock). I'm not sure if it matters what it is so long as I keep things consistent.

There is data is columns B through H.

My vision for this spreadsheet is for a user to enter a start and end date (using data validation to make sure they do it correctly) and all timestamp dates between those two dates will be populated on another sheet.

Once I figure out how to do that I want to use VLOOKUP or INDEX MATCH to get the data in the other columns, BUT I'm not sure that will work because I'm not sure how the timestamp data works. Sometimes 2 timestamps have the same value up to the minute but 2 timestamps will never have the same value up to the second. When I cycle the timestamp cells to a text format they are all unique values so I imagine VLOOKUP and INDEX MATCH will work but if any of you have experience that proves otherwise I'd appreciate a heads up.

I'm getting pretty good at VLOOKUP and INDEX MATCH, so I don't think I'll need help on that. I'm stuck on how to select data between 2 dates though.

Thank you in advance.
-Nick
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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