Forum Discussion
NateWilcox
Dec 13, 2022Copper Contributor
Missing formulas
I'm trying to extract data between characters and many sites reference TEXTBEFORE and TEXTAFTER. when I try to instigate said formulas, the result is #NAME? I searched through the formulas in Excel ...
PeterBartholomew1
Dec 13, 2022Silver Contributor
There was a similar discussion earlier in the year
Even if you are on a semi-annual update cycle, the function should reach you soon.
I defined the Lambda function
TEXTBETWEENλ(text, open, close, instance)
= LET(
partStrings, TEXTAFTER(text, open,instance),
extracted, TEXTBEFORE(partStrings,close),
extracted
)
Note: the AFE inserts the Lambda and the parameters into the definition.
The worksheet function then becomes
= TEXTBETWEENλ(text, "(", ")",-1 )
to return the right-most occurrence.
- NateWilcoxDec 13, 2022Copper ContributorThanks! Just updated and the formulas aren't there yet.
Forgive my intermediate Excel knowledge. How do I implement the lambda function in your first string as a formula?