I am using Google Scripts and I just want to run a function based on cell contents. I know this looks like a formula but I want it as a script!
=if(T2="*",SplitNames,fullNames);
So if T2 contains any text then run function SplitNames. Otherwise run function fullNames.
How do I write this please? Thanks.