cannot convert text string into value
On Tue, 2 Sep 2008 03:52:56 +0800, "Andy" wrote:
Your formula still doesn't work as I find there is a space at the rightmost
of the string, how can I eliminate it by formula?
thanks
Usually, that space at the right is char(160). Since it isn't, you will have
to determine what the character is, and then use the SUBSTITUTE function to
remove it.
Try:
=CODE(RIGHT(A1,1))
That will return a number. Substitute that number for the "160" in the formula
I gave you.
--ron
|