Trim pace not necceesary
typo:
put in any cell
=VLOOKUP(trimspace(" abc ") ,range("a2:c10"),2,false)
i mean
=VLOOKUP(trimspace(" abc "), A2:C10, 2, false)
in case of
or
trimspace("1. abc ") = "London"
=VLOOKUP(trimspace("1. abc ") ,range("a2:c10"),3,false)
and
=VLOOKUP(trimspace("1. abc "), A2:C10, 3, false)
also i'm expecting trimspace(" abc ") returns "abc" or
trimspace("1. abc ") returns "abc" respectively as you said.
if not, this would not work.
keizi
"kounoike" wrote in message
...
sorry for not reading your post precisely.
if your trimspace already can get correct data, how about using vlookup
function?
|