View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Drebdog Drebdog is offline
external usenet poster
 
Posts: 3
Default Vlookup not returning correct value

Have a simple VLookup set up to retun a time value for a concantenated
statement since the statement will not display the time in a readable format.
Everything works fine except some of the times reflect the earlier time even
though there is an exact match. Set it up for True and it comes back with
#N/A even though there is an exact match. What am I missing?
Example:
Look up value Desired return value VLookup formula
Results
12:00:00 AM 0:00 =VLOOKUP(A3,Sheet1!$A$2:$B$155,2) 0:00
12:01:00 AM 0:01 =VLOOKUP(A4,Sheet1!$A$2:$B$155,2) 0:01
12:10:00 AM 0:10 =VLOOKUP(A5,Sheet1!$A$2:$B$155,2) 0:10
12:20:00 AM 0:20 =VLOOKUP(A6,Sheet1!$A$2:$B$155,2) 0:10
12:30:00 AM 0:30 =VLOOKUP(A7,Sheet1!$A$2:$B$155,2) 0:30
12:40:00 AM 0:40 =VLOOKUP(A8,Sheet1!$A$2:$B$155,2) 0:30
12:50:00 AM 0:50 =VLOOKUP(A9,Sheet1!$A$2:$B$155,2) 0:50
1:00:00 AM 1:00 =VLOOKUP(A10,Sheet1!$A$2:$B$155,2) 0:50
1:10:00 AM 1:10 =VLOOKUP(A11,Sheet1!$A$2:$B$155,2) 1:10
1:20:00 AM 1:20 =VLOOKUP(A12,Sheet1!$A$2:$B$155,2) 1:10
1:30:00 AM 1:30 =VLOOKUP(A13,Sheet1!$A$2:$B$155,2) 1:30
1:40:00 AM 1:40 =VLOOKUP(A14,Sheet1!$A$2:$B$155,2) 1:30
1:50:00 AM 1:50 =VLOOKUP(A15,Sheet1!$A$2:$B$155,2) 1:50
2:00:00 AM 2:00 =VLOOKUP(A16,Sheet1!$A$2:$B$155,2) 1:50
2:10:00 AM 2:10 =VLOOKUP(A17,Sheet1!$A$2:$B$155,2) 2:10
2:20:00 AM 2:20 =VLOOKUP(A18,Sheet1!$A$2:$B$155,2) 2:20
2:30:00 AM 2:30 =VLOOKUP(A19,Sheet1!$A$2:$B$155,2) 2:20
2:40:00 AM 2:40 =VLOOKUP(A20,Sheet1!$A$2:$B$155,2) 2:30
2:50:00 AM 2:50 =VLOOKUP(A21,Sheet1!$A$2:$B$155,2) 2:40