Dear All,
I have customer segment data and I want to change it as below:
CustSeg | Change |
Axytcrty Bdydrtu | AB |
Pdrxc Uxyvtyio | PU |
Xybxx Andtu | XA |
Cxy Opudtxuit | CO |
I created another table containing the name changes and connected the table above using the "Find & Replace" function and it worked.
What I want to ask is if this can be done with the "formula" function if so what is the formula?
Regards,
Arief
Solved! Go to Solution.
Hi @Ar13f
You can use the switch function or an else if ladder. But find and replace is the best option to go with. It is much better maintainable.
Are you always replacing names with the initials? If so, something like this might help:
Hi @Christina_H
Interesting take on it 🙂. I didnt look at it that way.
Hi @Ar13f
is there any logic behind it like first letters or capital letters.
Dear @atcodedog05
thank you for your advice, and I've tried with "switch" and it worked...
I saw advice on this community how to use "switch", what I want to ask is what does "Null()" mean and can it be replaced with something else? for my case like this, how can it be replaced?
Hi @Ar13f
Here Null() is set as default in this usecase it is similar to else. If none of the condition matches then set to Null().
Happy to help : ) @Ar13f
Cheers and have a nice day!