A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
=--TEXTBEFORE(A2," ")
You can use the double hyphen (--) to convert text to number. To do this, simply enter the double hyphen before your formula result which is text.