View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Elkar
 
Posts: n/a
Default Split text without using data-text to columns

Assuming all of your cells follow the same format as Number - Space - Number,
then this will work to extract the first number before the space:

=LEFT(D3,FIND(" ",D3,1)-1)

HTH,
Elkar

"Jambruins" wrote:

I have the following in cells
D3: -2.5 -111
D4: +2.5 +101
D5: +10.5 -114
D6: -10.5 +104
D7: -8 +100
D8: +8 -110

Is there a formula I can enter into cell H3 that will give me just -2.5?
Note that all the cells aren't necessarily in the same format (some are X.5
and some are X). Thanks