Values with spaces

Salamullah

Board Regular
Joined
Mar 28, 2011
Messages
221
I have a list of amount but it contained spaces before and after figures how can I get only numerical value.


like

100,000
78,900
23,000
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
for the first one length is 9
so you want value(mid(A1,2,8))

8 is 9-1
2 is a constant
so =value(mid(a1,2,len(A1)-1))
 
Upvote 0
Not sure why its giving #value! . My data is as follows its in text and I want only numeric value

Total Cost
1,539.53
4,726.34
8,119.27
4,366.64
100,421.84
310.29
16,595.38
23,287.38
48,513.19
7,898.31
81,649.00
3,949.55
11,637.55
13,723.31

<tbody>
</tbody>
 
Last edited:
Upvote 0
Give this a try... select the column, bring up the Text To Columns dialog box (Data tab, Data Tools panel) and click the Finish button as soon as the dialog box appears... you values should be real numbers now.
 
Upvote 0
Give this a try... select the column, change the cell formatting to General, then bring up the Text To Columns dialog box (Data tab, Data Tools panel) and click the Finish button as soon as the dialog box appears... you values should be real numbers now.
I accidentally left out the step I show in red above in my earlier message.
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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