excel - Right(text;5) is not the same as a 5 character text -
i have match function not working. boiled down point can't find appropriate match since values not same, apparently.
i have value 21337 in cell d59. in cell s59 have function: right($d59;5), displays 21337. when enter in cell: =d59=s59 return false.
i use right() function because cells in column d contain concatenated values, last 5 values of importance. example d60 contains 21337 - 21448, 21448 value want match.
anyone has clue on might problem?
with no formatting you'll see 21337 right aligned - showing number , treated number excel.
on other hand right($d59;5)
show number left aligned, indicating returned value being treated text excel.
if try right($d59;5)*1
excel implicitly convert value number (due calculation performed) , both values equal.
to explicit conversion, brian has pointed out, use value(right($d59;5))
.
Comments
Post a Comment