Converting text into a number

stephenrowell

New Member
Joined
Sep 13, 2011
Messages
7
I am new to Mr.Excel and thank all of you who post answers.

I import data from an internet based source into a column of a worksheet. The data has the following format and comes in as text.
155,25$
1.094,85$
28,35$
0,00$
There are also empty cells in the column.

I wish to convert these text entries into numbers in the next column to the right. Please advise on a way to acomplish this. Is there a way that I can convert all the numbers in the entire column?

Thanks,
Stephen Rowell
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Hi, welcome to the board!!

=IF(A1="","",SUBSTITUTE(A1,"$","")+0)

Copy down.
 
Upvote 0
Thanks for the quick response. I tried the formula and got the result of text without the $ at the end. The text was not converted to a number which I could use as a value in a formula. I may have not entered the formula in the correct fashion. The IF portion of the formula results in a False outcome and the Substitution is then entered in the false condition. Is that correct?
 
Upvote 0
Thanks for the quick response. I tried the formula and got the result of text without the $ at the end. The text was not converted to a number which I could use as a value in a formula.
Is the decimal point for your system the dot or the comma?
 
Upvote 0
Thanks for your reply.

The text that comes in from the import uses a dot for seperating numbers above 999 and a comma for the 2 place decimal. I hope this answers your question. I need to convert the text into a proper number value. Formatting I can do after the conversion to a value.
 
Upvote 0
The text that comes in from the import uses a dot for seperating numbers above 999 and a comma for the 2 place decimal. I hope this answers your question. I need to convert the text into a proper number value. Formatting I can do after the conversion to a value.
I can see what the decimal point is for the text you posted... my question dealt with your system... your computer... what is the decimal point on it (that is, when you type a floating point number into Excel... what do you type for the decimal point?
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,291
Members
452,902
Latest member
Knuddeluff

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