I have a simple table called “Imported table” where Field 1 is merchant category and Field 2, 3, 4…10 are merchant names.
I am looking for a JS function with merchant name as parameter and if present in the database, can return the corresponding Field 1 name.
One option that I’ve been trying is filterbyFormula as REGEX_Match and loop from field 1 to 10, but can’t seem to figure how to complete the function. Appreciate any inputs on this or better ways to do this.