Convert text numbers to numbers

Tagaffney

New Member
Joined
Apr 8, 2004
Messages
13
Can't convert these text numbers to numbers. Tried all possible methods, no luck

8.75
17.51
23.96
30.55
34.99
10.94
8.75
10.94
39.29

Numbers copied from a SODA PDF excel conversion spreadsheet of a Bank Statement PDF download.
 
Did you read post #4 ?

When I put your sample data into a sheet, it showed that most of the data had Char 160 at the right of the numbers,
The formula works.
If you remove the char 160, you can coerce the text to a number.

Replace non-breaking spaces with regular spaces. Using the SUBSTITUTE and CHAR functions, substitute character 32 for character 160. Example: =SUBSTITUTE(BadString,CHAR(160),CHAR(32)).

or substitute with 0

=SUBSTITUTE(A1,CHAR(160),0)+0
 
Last edited:
Upvote 0

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
>=ISTEXT(A1)
<=CODE(C2)
<=RIGHT(A3)
Number <=IF(ISNUMBER(A2),A2,LEFT(A2,LEN(A2)-1)+0)
8.75 #VALUE ! 32 TRUE
10.78 #VALUE ! 32 TRUE
353.44 #VALUE ! 32 TRUE


This seems to work, but too cumbersome:

+0 =ENTER
8.75 8.75+0 $8.75
10.78 10.78+0 $10.78
353.44 353.44 +0 $354.44
>=ISNUMBER() >=ISNUMBER() >=ISNUMBER()
FALSE FALSE TRUE
 
Upvote 0

Forum statistics

Threads
1,223,714
Messages
6,174,052
Members
452,542
Latest member
Bricklin

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