Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JR
 
Posts: n/a
Default seperate words in a cell

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default seperate words in a cell

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can excel give value in words of number entered in another cell? nivedrajesh Excel Worksheet Functions 4 October 27th 06 02:57 PM
seperate words in a cell JR Excel Worksheet Functions 0 February 6th 06 09:28 PM
Instead of a negative number, I'd like to show zero... Dr. Darrell Excel Worksheet Functions 6 December 7th 05 08:21 PM
Cell color based upon cell value My View Excel Discussion (Misc queries) 11 July 6th 05 03:59 AM
Seperate the data from the Cell Akhilesh Dalia Excel Worksheet Functions 3 March 7th 05 11:55 AM


All times are GMT +1. The time now is 03:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"