View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JR
 
Posts: n/a
Default seperate words in a cell

perfect

"Ron Coderre" wrote:

Try something like this:

For text in A1
B1: =VALUE(LEFT(A1,FIND(" ",A1)-1))

or (with some error checking)
B1: =IF(ISERROR(VALUE(LEFT(A1,FIND(" ",A1)-1))),"",VALUE(LEFT(A1,FIND("
",A1)-1)))


Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"JR" wrote:

If I have a report that fills in a cell as the following:

198.30 minutes

How would I write a formula to convert the cell into the 198.30 only?

Thanks