Got a Excel file from other resource witch Column A is set as text. At the tail and start of number there are some spaces filled in, for example cell A1 is ‘  4 ‘.

My challenge is to convert whole column to numbers which can be used to do sum or other math calculation.

2-27-2014+11-02-28+AM.gif?resize=167%2C4002-27-2014+11-02-28+AM.gif?resize=167%2C400

With some research, I constructed this formula for a new column :
=VALUE(TRIM(CLEAN(SUBSTITUTE(A1,CHAR(160),” “))))

it perfectly resolved this challenge as you can see from following screen shot.

2-27-2014+12-56-34+PM.gif?resize=640%2C3802-27-2014+12-56-34+PM.gif?resize=640%2C380

Note: trim will not work with the only space cell. Thanks reply from Hari Krishna.