Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Do an exact match on unsorted data
=VLOOKUP(A3,Sheet1!$A$2:$B$155,2,FALSE) -- __________________________________ HTH Bob "Drebdog" wrote in message ... 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 |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I did that and the entries that were incorrect came up as #N/A, so I verified
each of the entries and looked for spaces and they are identical. The strange thing is that if just click on the next cell nothing changes, but if I hit enter after verifying one or the other or both it works. Now the problem, when I inport updated data it goes back to the random ones being correct and it is very inefficient to go through and manually touch each of the cells to get this to work. Any suggestions?? "Bob Phillips" wrote: Do an exact match on unsorted data =VLOOKUP(A3,Sheet1!$A$2:$B$155,2,FALSE) -- __________________________________ HTH Bob "Drebdog" wrote in message ... 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 |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Check that you don't have the workbook set to manual calculation,
ToolsOptionsCalculation -- __________________________________ HTH Bob "Drebdog" wrote in message ... I did that and the entries that were incorrect came up as #N/A, so I verified each of the entries and looked for spaces and they are identical. The strange thing is that if just click on the next cell nothing changes, but if I hit enter after verifying one or the other or both it works. Now the problem, when I inport updated data it goes back to the random ones being correct and it is very inefficient to go through and manually touch each of the cells to get this to work. Any suggestions?? "Bob Phillips" wrote: Do an exact match on unsorted data =VLOOKUP(A3,Sheet1!$A$2:$B$155,2,FALSE) -- __________________________________ HTH Bob "Drebdog" wrote in message ... 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 |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Just checked the settings and it is set up for Automatic
"Bob Phillips" wrote: Check that you don't have the workbook set to manual calculation, ToolsOptionsCalculation -- __________________________________ HTH Bob "Drebdog" wrote in message ... I did that and the entries that were incorrect came up as #N/A, so I verified each of the entries and looked for spaces and they are identical. The strange thing is that if just click on the next cell nothing changes, but if I hit enter after verifying one or the other or both it works. Now the problem, when I inport updated data it goes back to the random ones being correct and it is very inefficient to go through and manually touch each of the cells to get this to work. Any suggestions?? "Bob Phillips" wrote: Do an exact match on unsorted data =VLOOKUP(A3,Sheet1!$A$2:$B$155,2,FALSE) -- __________________________________ HTH Bob "Drebdog" wrote in message ... 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VLOOKUP not returning correct answer | Excel Worksheet Functions | |||
MAX Function not returning correct value | Excel Worksheet Functions | |||
vlookup is returning a value one cell above the correct cell. | Excel Worksheet Functions | |||
VLOOKUP not returning correct value | Excel Worksheet Functions | |||
Vlookup not returning correct value | Excel Worksheet Functions |