Stripping mixed number and text

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a field with mixed numbers and text (i.e. 232.4Ft). I want to strip of
the unit of measure (i.e. Ft) and have one field with the number and another
with the unit of measure. Can this be done? I am fairly confident I could do
it in VB, but I am not sure how at this point. Is there a worksheet function?

Thanks in advance!

Kevin
 
Hi
if your values have always this format you could use the following
formulas:
=LEFT(A1,LEN(A1)-2)
and
=RIGHT(A1,2)
 
Frank,

Thanks! That is exactly what I needed!

Frank Kabel said:
Hi
if your values have always this format you could use the following
formulas:
=LEFT(A1,LEN(A1)-2)
and
=RIGHT(A1,2)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top