Need Excel Formula to trim spaces before Numbers

raajnabriz

Board Regular
Joined
Jun 11, 2014
Messages
112
[FONT=&quot]Hi there,[/FONT]
[FONT=&quot]Please provide excel formula to trim spaces before numbers, i have received large data that contains spaces in each cell before the amount. I am using MS Office 2010.[/FONT]
[FONT=&quot]Thanks,[/FONT]
[FONT=&quot]Raaj.[/FONT]
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Yes, its not working, the problem at present is when i select two or more cells to check the total, it shows count only.
 
Last edited:
Upvote 0
Cheque No.Cheque Amount Occurrence Dispatch Date
201811000951 2,438.90 recon closed jan-sep-1826/03/2019
201811000952 962.01 recon closed jan-sep-1826/03/2019
201811000953 575.34 recon closed jan-sep-1826/03/2019
201811000504 10,740.92 recon closed jan-sep-1826/03/2019
201811000505 818.49 recon closed jan-sep-1826/03/2019
201811000506 4,553.04 recon closed jan-sep-1826/03/2019
201812002160 3,427.60 recon closed jan-sep-1826/03/2019
201812002161 2,898.56 recon closed jan-sep-1826/03/2019
201812002162 3,154.84 recon closed jan-sep-1826/03/2019
201812002163 4,290.43 recon closed jan-sep-1826/03/2019
201812002164 573.85 recon closed jan-sep-1826/03/2019

<colgroup><col><col span="2"><col></colgroup><tbody>
</tbody>
 
Upvote 0
If you copied the data from the Web, then maybe
=TRIM(SUBSTITUTE(A1,CHAR(160),""))
 
Upvote 0
From the data you've posted it doesn't look like you have problems with spaces.
In a blank cell put
=B2*1
What is returned?
 
Upvote 0
This formula works, but i cannot get total at the bottom only count, even though the sum option is selected.
 
Upvote 0

Forum statistics

Threads
1,215,463
Messages
6,124,963
Members
449,200
Latest member
indiansth

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