Help

Re: Nested IF Statements as a Script

Solved
Jump to Solution
1308 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Callum_Green
5 - Automation Enthusiast
5 - Automation Enthusiast

I have a field that needs translating into a form that can be used by a second program, but there are some 50-60 options that need translating and the IF statement got huge.

Essentially it goes:

IF Cell A = “Manager”, “X”, IF Cell A = “Worker”, “Y” …

It only needs to be done once, so would it be possible to use a script? The find and replace one looks almost perfect, but rather than replacing the value, I want the new value pasted into a separate cell

1 Solution

Accepted Solutions
Vivid-Squid
11 - Venus
11 - Venus

You are looking for SWITCH().

See Solution in Thread

1 Reply 1
Vivid-Squid
11 - Venus
11 - Venus

You are looking for SWITCH().