spaces after figures

Salamullah

Board Regular
Joined
Mar 28, 2011
Messages
221
Hi,

I received 1 excel file contained values but having 2 or 3 spaces after figures, I think this is formatting issue, what formula can I apply to get figures only.

In the below example x means space

Current figures
100xx
300xxx
210x

Wanted
100
300
210
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Use


Excel 2013/2016
AB
1100100
2300300
3210210
Sheet1
Cell Formulas
RangeFormula
B1=TRIM(A1)
 
Upvote 0
maybe =CLEAN(TRIM(A1))
or
=SUBSTITUTE(CLEAN(TRIM(A1)),CHAR(160),"")
 
Last edited:
Upvote 0
You could also do this with a simple Find / Replace
Highlight the data >>Editing Tab>>Replace>>In the Find box Hold down the ALT Key and using the Number keypad type 0160>>Leave the Replace box blank>>Replace ALL
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,164
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top