Can't Convert Text to Numbers

manchuwok

New Member
Joined
Apr 17, 2013
Messages
6
I am having significant trouble converting a column full of numerical text into numbers. Here are all the methods I tried, which have all failed:

- Changing cell format
- Paste Special multiply
- VALUE() function
- Error Checking (they are no recognized as numbers stored as text)
- Replacing hidden characters (ALT-0160)
- TRIM/CLEAN functions
- Text to Columns command
- VBA Macro:
Sub Enter_Values()
For Each xCell In Selection
Selection.NumberFormat = "0.00"
xCell.Value = xCell.Value
Next xCell
End Sub

None of these have worked. Why is this so hard? What is the one simple thing I'm missing?
 
There is a hidden character in those..
The first character is ascii code 63, which turns out to be a ?
Will be hard to use find replace for that, since it thinks it's a wildcard..

This works though

=RIGHT(A1,LEN(A1)-1)+0

Indeed it does. Thank you very kindly. I had tried your exact formula without the +0, and it didn't work. I had tried +0 without the formula and it didn't work. Together it seems to do the trick!
 
Upvote 0

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Glad to help..

The RIGHT function returns a TEXT string, so you're still in the same boat having Non Numbers.
The +0 converts it to Number.
 
Upvote 0
There is a hidden character in those..
The first character is ascii code 63, which turns out to be a ?
Will be hard to use find replace for that, since it thinks it's a wildcard..

This works though

=RIGHT(A1,LEN(A1)-1)+0

Wow
Thanks for that.
I have been fighting a problem some months identical to manchuwok's where none of the regular solutions worked.
Registered to convey my appreciation to the poster and site.
D
 
Upvote 0

Forum statistics

Threads
1,215,308
Messages
6,124,178
Members
449,146
Latest member
el_gazar

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