rassten

Active Member
Joined
Aug 31, 2008
Messages
310
Hi,
I have made the following and I think my problem is in "Source = ..."
how to make it indifferent to the starting point and simply using another query

Code:
[/COLOR](Kolonne)=>
let
    Source = Excel.CurrentWorkbook(){[Name="Shop"]}[Content],
    Replaced_Value = Table.ReplaceValue(Source,"ø","ø",Replacer.ReplaceText,{Kolonne}),
    Replaced_Value1 = Table.ReplaceValue(Replaced_Value,"Ã¥","å",Replacer.ReplaceText,{Kolonne}),
    Replaced_Value2 = Table.ReplaceValue(Replaced_Value1,"Ø","Ø",Replacer.ReplaceText,{Kolonne}),
    Replaced_Value3 = Table.ReplaceValue(Replaced_Value2,"Å","Å",Replacer.ReplaceText,{Kolonne}),
    Replaced_Value4 = Table.ReplaceValue(Replaced_Value3,"Å","Ä",Replacer.ReplaceText,{Kolonne}),
    Replaced_Value5 = Table.ReplaceValue(Replaced_Value4,"ä","ä",Replacer.ReplaceText,{Kolonne}),
    Replaced_Value6 = Table.ReplaceValue(Replaced_Value5,"æ","æ",Replacer.ReplaceText,{Kolonne}),
    Replaced_Value7 = Table.ReplaceValue(Replaced_Value6,"Æ","Æ",Replacer.ReplaceText,{Kolonne}),
    Replaced_Value8 = Table.ReplaceValue(Replaced_Value7,"é","é",Replacer.ReplaceText,{Kolonne}),
    Replaced_Value9 = Table.ReplaceValue(Replaced_Value8,"½","½",Replacer.ReplaceText,{Kolonne}),
    Replaced_Value10 = Table.ReplaceValue(Replaced_Value9,"ö","ö",Replacer.ReplaceText,{Kolonne})
in
    Replaced_Value10

Best regards
Sten
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,214,845
Messages
6,121,902
Members
449,053
Latest member
Guy Boot

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