ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   vlookup 19:50 (https://www.excelbanter.com/excel-worksheet-functions/150551-vlookup-19-50-a.html)

Chris Clarke[_2_]

vlookup 19:50
 
I am trying to use =VLOOKUP(I14,T:U,2)

When I14 is the time value 19:50 or 0.826388888888889

My table T:U has all the times from 00:00 to 23:55 in a sorted list of 5
minute intervals

The vlookup is in a list with other values which work e.g. =vlookup(I13,T:U,2)

It is only the one time value that returns the wrong result the value it
returns is that associated with 19:45 does anyone know why this might be the
case?

I also tried to use the Match function and this also returns the wrong value.

I have looked on lots of sites and this problem seems to be unique can
anyone help

bj

vlookup 19:50
 
there is a good chance it is a rounding issue
go into youe cell and physically change the 9 at the end to 8

"Chris Clarke" wrote:

I am trying to use =VLOOKUP(I14,T:U,2)

When I14 is the time value 19:50 or 0.826388888888889

My table T:U has all the times from 00:00 to 23:55 in a sorted list of 5
minute intervals

The vlookup is in a list with other values which work e.g. =vlookup(I13,T:U,2)

It is only the one time value that returns the wrong result the value it
returns is that associated with 19:45 does anyone know why this might be the
case?

I also tried to use the Match function and this also returns the wrong value.

I have looked on lots of sites and this problem seems to be unique can
anyone help


bj

vlookup 19:50
 
it is probably a round off issue
in the T column in the cell associated with 19:50
remove a couple of the end 8s and final 9
reformat as time

"Chris Clarke" wrote:

I am trying to use =VLOOKUP(I14,T:U,2)

When I14 is the time value 19:50 or 0.826388888888889

My table T:U has all the times from 00:00 to 23:55 in a sorted list of 5
minute intervals

The vlookup is in a list with other values which work e.g. =vlookup(I13,T:U,2)

It is only the one time value that returns the wrong result the value it
returns is that associated with 19:45 does anyone know why this might be the
case?

I also tried to use the Match function and this also returns the wrong value.

I have looked on lots of sites and this problem seems to be unique can
anyone help


Chris Clarke[_3_]

vlookup 19:50
 
Thanks that worked!

"bj" wrote:

it is probably a round off issue
in the T column in the cell associated with 19:50
remove a couple of the end 8s and final 9
reformat as time

"Chris Clarke" wrote:

I am trying to use =VLOOKUP(I14,T:U,2)

When I14 is the time value 19:50 or 0.826388888888889

My table T:U has all the times from 00:00 to 23:55 in a sorted list of 5
minute intervals

The vlookup is in a list with other values which work e.g. =vlookup(I13,T:U,2)

It is only the one time value that returns the wrong result the value it
returns is that associated with 19:45 does anyone know why this might be the
case?

I also tried to use the Match function and this also returns the wrong value.

I have looked on lots of sites and this problem seems to be unique can
anyone help



All times are GMT +1. The time now is 04:03 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com