September 13, 2020
On a web site that I have to enter with a password, there is a list (sort of a table) of articles and prices. Prices are in US format, 12,350.05 I need them to be in EU format, 12.350,05 Also, since there is a password for this web site, I can't link it to Excel (Get Data...). Or is there a way?? So I have to copy-paste web table (not a problem, done occasionally). Unfortunately, each price (number) also has lot's of spaces, cannot remove them with TRIM formula. Number of spaces randomly vary from cell/number to cell/number. So, in Excel App (not Excel for web) I need a formula (and not Power Query) to remove extra spaces and convert from US to EU format. Any solutions please?
Moderators
January 31, 2022
Trusted Members
October 17, 2018
If and when the data is read into the file you can add a macro that removes all spaces and unallowed characters and you can also change the currency symbol accordingly and if also include a currency conversion if it's not the one you want.
Suggest you also tell us which Excel/Office version you're using
October 5, 2010
Hi Nesha,
Why don't you want to use Power Query? It would make things much easier than using formulae.
Regarding the formatting of the numbers, that's what it is (or should be), just visual formatting. The numbers should not contain any characters like , or . because that makes them text strings.
If you used Power Query you can remove all these unwanted text characters then save to the worksheet as numbers and display them in any format you wish
Please check this Excel Custom Number Formatting Guide
Regards
Phil
September 13, 2020
Thank you all for your comments and questions.
@Riny van Eekelen
Can't upload until Monday, some difficulties accessing this site, there are some ongoing maintenance
@Hans Hallebeek
Forgot to mention, no macros please.
Office 365
@Philip Treacy
Well, actually I'm doing this for a colleague that is not familiar with Power Query and would probably be more problematic to him. Also, no VBA.
It should be some formula. If there is such...
Visuals of "," and "." within numbers are much helpful hence are needed.
October 5, 2010
Hi Nesha,
Surely it's in your colleague's best interest to learn skills that make their job easier? Why persist doing something the old way just because they don't know how to do it any better?
You could set up the query such that they just have to paste the data in a workbook then update. They don't need to know how the query code works.
"Visuals of "," and "." within numbers are much helpful hence are needed."
They certainly are but only as formatting not as actual , and . characters which would make the number a text string. Again, this is an area power Query is very good at - converting numbers from one locale to another.
Phil
September 13, 2020
@Philip Treacy
Yes, I know what you mean and agree 100%. But, not always is possible to implement such training, knowledge and how-to. In this situation that me and my colleague are, it would take more time than some practical formula. Also, there are some company policies, restrictions...that I cannot go on here and will not help in solving me a problem. We are the same team where I was asked to help (based on my skills) but with different policies, different access rights...
If this 'problem' was happening solely to me, I know how would solve ti and of course use PQ. But...
Anyway, if in some reasonable future I stumble on some simple Excel formula solution, I will head to the next step and see (with IT...) if something could be done in here proposed solutions.
Nesha
1 Guest(s)