lookup within a cell

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

Guest

I have data in a cell that looks like this ".287/.289". I want to parse out
the data in the next two adjcent cells. The number .287 in the next column
and .289 in the column after that. Any ideas?
 
=LEFT(A1,4) and =Right(A1,4)
these cells will be in text format
if you need to calculate insert columns with =C1*1 for instance to convert
to numbers

Greetings from New Zealand
Bill K
 
One way,
With the data in A1, in B1
=LEFT(A1,FIND("/",A1)-1)
in C1
=RIGHT(A1,LEN(A1)-FIND("/",A1))
Regards,
Alan
 
Try using Data > Text to Columns... and use a forward slash as the
deliminator in step 2 and in the 3rd step select the adjacent cell.


HTH

Sandy
 
I was assuming that not all the data would consist of three decimal places,
some would be more or less. Bill is right though, this will return text
which is not conducive to reliable calculation. To convert to numbers,
change to,
=LEFT(A1,FIND("/",A1)-1)*1
and
=RIGHT(A1,LEN(A1)-FIND("/",A1))*1
Regards,
Alan.
 
Thanks Sandy
Learning every day.
Never worked with the text to columns.
Bill K
 

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

Similar Threads


Back
Top