Help

The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.

Assigning value to an option in a multiple select menu

Solved
Jump to Solution
3243 2
cancel
Showing results for 
Search instead for 
Did you mean: 
gbrl
4 - Data Explorer
4 - Data Explorer

Hello, I’ve been tinkering with this idea but I’m stuck.

I have a form with a Multiple Select field. Each option of this Multiple Select is the name of an activity. When the form is submitted, I’d like the table to add a value (I’m calling this “points”) according to the activity selected. So if Activity 1 was selected and the form submitted, 10 points are added to a field in the table. If Activity 2 was selected, it’s 8 points, and so on.

Anyone have an idea how to make this?
Many thanks in advance.

1 Solution

Accepted Solutions
JonathanBowen
13 - Mars
13 - Mars

Hi @gbrl - use this formula field to find if specific activities have been selected and add up the scores:

IF(
  FIND('Activity 1', Activities), 
  10
) + 
IF(
  FIND('Activity 2', Activities), 
  8
) + 
IF(
  FIND('Activity 3', Activities), 
  6
)

Screenshot 2019-09-26 at 11.46.57.png

JB

See Solution in Thread

2 Replies 2
JonathanBowen
13 - Mars
13 - Mars

Hi @gbrl - use this formula field to find if specific activities have been selected and add up the scores:

IF(
  FIND('Activity 1', Activities), 
  10
) + 
IF(
  FIND('Activity 2', Activities), 
  8
) + 
IF(
  FIND('Activity 3', Activities), 
  6
)

Screenshot 2019-09-26 at 11.46.57.png

JB

Excellent Jonathan, thank you!
That totally works.
Now that’s given me more ideas to go further…