Need to convert text versions of European type number formats into numbers Excel can use in calculations.

Hi Experts,

I have multiple columns and rows of the following number types imported into excel worksheet, from a text file:
1.127,8
1.140,1
They look like the format used in European data, but are saved as text. Excel seems to be reading the thousands separator (.) as the decimal point.
I need to convert these into numbers Excel can use (i.e. 1127.8 and 1140.1) to progress with further calculations. Some of the conversions I've already tried, give the wrong result. For example if you add these numbers I get 2.267 and not the correct value of 2267.9.

==========
Prior related question: http:Q_28631627.html
dsmcl71Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rgonzo1971Commented:
Hi,

if you are using the Text to columns or the Text Import wizard on step 3 by clicking the Advanced button you can choose the Decimal and the thousand separator.

Regards
0
Rgonzo1971Commented:
As a formula you could use

=--SUBSTITUTE(SUBSTITUTE(A1,".",""),",",".")

Regards
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dsmcl71Author Commented:
Tried both those options and neither of them converted the number correctly. Excel could not add these correctly, and gave 0 as the sum. I think Excel may still be seeing them as text, rather than numbers.
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

Rgonzo1971Commented:
pls send dummy
0
Wilder1626Commented:
Hi
Is that what you are looking for?

=LEFT(A1,1) & MID(A1,3,3) & "." & RIGHT(A1,1)

Open in new window

format numbers
0
aikimarkCommented:
@dsmcl71

Tried both those options
I just used the rgonzo formula and it works.  How/where did you place these formulas?

You will need to replace your T:AF columns after copy/paste values (in-place) of the rgonzo formulas

T:AF are text columns.  You will have to reformat as General if you change the contents in-place
0
Danny ChildIT ManagerCommented:
or, try 3 different Find/Replaces:

Find , Replace with z (just as a placeholder, to track where the decimal point should be)
Find . Replace with <nothing>
Find z Replace with .

Would be easy to put through a macro...
0
dsmcl71Author Commented:
Ok,

Tried the Text to Column again this morning, placing the new value in place and on a different tab (new table for calculations) and it still did not add correctly. Tried the formula, provided by Rgonzo1971, again in my calculation table and it seemed to work, maybe I didn't type it correctly last night?

Thanks for the help :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.