Just for clarification... the formula I posted will retrieve a numbers of varying number of digits from the front of the text. If, as others have pointed out, your data is always 3-digits long, then use the LEFT function to get it...
=--LEFT(A1,3)
where the double minus sign turns the text number returned by the LEFT function into a real number.
--
Rick (MVP - Excel)
Assuming the number is always in the beginning of the text...
=LOOKUP(9.9E+307,--LEFT(A1,ROW($1:$99)))
If the referenced cell could be blank, then use this...
=IF(A1="","",LOOKUP(9.9E+307,--LEFT(A1,ROW($1:$99))))
to suppress the error message when the referenced cell is empty.