I'm trying to do a vlookup on time and I just can't get it to work properly. I have to input time in worksheet 1, cell 2 and I need to get the nearest quarter value from a custom lookup table (Sheet1!A1:B17), Column 2:
My lookup table has data in it as follows:
Time Value
8:05 AM 8:00 AM
8:06 AM 8:00 AM
8:07 AM 8:15 AM
8:08 AM 8:15 AM
My formula is =VLOOKUP(C2,Sheet1!A1:B17,2)
When I type 8:07 in cell C2 it returns 8:00 AM not 8:15 AM. What gives?
My lookup table has data in it as follows:
Time Value
8:05 AM 8:00 AM
8:06 AM 8:00 AM
8:07 AM 8:15 AM
8:08 AM 8:15 AM
My formula is =VLOOKUP(C2,Sheet1!A1:B17,2)
When I type 8:07 in cell C2 it returns 8:00 AM not 8:15 AM. What gives?