All articles with 'list functions' Tag
{ 10 Comments }
Multiple Find Replace with Power Query List.Accumulate()
Published on May 14, 2020 in Power Query
Imagine you have a paragraph of text and you want to replace all occurrences of {four, normal, mysterious, nonsense} with {six, casual, confounding, handbags}. How would you do that?
You could use SUBSTITUTE() formula, but you need to nest four of them (as we need to replace four values with another four). But what if you have larger set of find / replacements?
Worry not, you can use Power Query to transform original text to new one by replacing all matching values.
In this page, learn how to do that with the excellent List.Accumulate() Power Query function.
Continue »