can't get a function to work

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

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,223,888
Messages
6,175,212
Members
452,618
Latest member
Tam84

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