Last active
September 6, 2022 11:00
-
-
Save halbuki/c676f0fbf482aac6a1fb845fdddfef88 to your computer and use it in GitHub Desktop.
Excel Lambda functions for Power Query Replacer functions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* USE NAMESPACE "Replacer" */ | |
ReplaceText = LAMBDA(_text, _old, _new, | |
SUBSTITUTE(_text, _old,_new) | |
); | |
ReplaceValue = LAMBDA(_value, _old, _new, | |
IF(_value = _old, _new, _value) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment