Thread: text to number
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Dave Curtis[_2_] Dave Curtis[_2_] is offline
external usenet poster
 
Posts: 99
Default text to number

Hi,

It's a little clumsy, but this will convert your text fraction to a decimal.

LEFT(A1,FIND("/",A1)-1)/RIGHT(A1,LEN(A1)-FIND("/",A1))

Dave

"colensa" wrote:

I import data onto Excel from a horseracing database.
The odds of the horses are expressed in the form 3/1, 15/8, 9/4 etc etc .
I have to import these as text otherwise they become dates.
They are therefore on the LHS of the cell.
I don't know how to convert these to single numbers (decimals) in order to
make calculations, and following the process 'text to numbers' on Excel does
not seem to achieve any result - possibly because of the /
Help please