Skip to main content
Solved

Changing multiple select options via formula

  • March 13, 2022
  • 2 replies
  • 37 views

Forum|alt.badge.img+11
  • Known Participant

Getting into formula’s a bit more as a novice lately, but struggling to get this one right. Anyone able to help me out on this one?

What I want is to change the Multiple Select Field as per below.

  • small instead of s
  • average instead of a
  • tall instead of t

Was thinking in the direction of wrapping the exiting formula in a Switch( ) to change the select options small, average and tall to s, a and t for the the output.

Best answer by kuovonne

Because you have a multiple-select, a SWITCH() isn’t the way to go. You can use nested SUBSTITUTE().

SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE( {sat}, 
"a", "average"),
"s", "small"),
"t", "tall")

2 replies

kuovonne
Forum|alt.badge.img+29
  • Brainy
  • Answer
  • March 13, 2022

Because you have a multiple-select, a SWITCH() isn’t the way to go. You can use nested SUBSTITUTE().

SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE( {sat}, 
"a", "average"),
"s", "small"),
"t", "tall")

Forum|alt.badge.img+11
  • Author
  • Known Participant
  • March 15, 2022

Because you have a multiple-select, a SWITCH() isn’t the way to go. You can use nested SUBSTITUTE().

SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE( {sat}, 
"a", "average"),
"s", "small"),
"t", "tall")

Doesn’t disappoint. As expected of course. I’m learning bit by bit by this.