Skip to main content
Solved

How do I write an IF function that looks for an element in a multi-select column as it's condition

  • May 15, 2023
  • 2 replies
  • 49 views

Forum|alt.badge.img+2

I am trying to write an IF function such that the condition in the statement is to look for the presence of a particular word in a multi-select column. If the word is present in the multi-select, the value-if-true should be displayed. 

In a multi-select column, there is a list of amenities: Airconditioning, Lounge, Studio, etc. I want to create a new formula column that looks for "Studio" in the multi-select column. If it is present then show Yes, if it's not show "No". Something like this: IF(Amenities="Studio", "Yes", "No"). This gives me the correct output if the only value selected is Studio. In the case where the column has "Lounge" and "Studio", I get No as the output.

 

Best answer by Adrienne_Medina

You can use a Find function for this:

IF(FIND("Studio", {Field}), "Yes","No")

2 replies

Forum|alt.badge.img+7
  • Inspiring
  • 6 replies
  • Answer
  • May 15, 2023

You can use a Find function for this:

IF(FIND("Studio", {Field}), "Yes","No")


Forum|alt.badge.img+2
  • Author
  • New Participant
  • 4 replies
  • May 15, 2023

Thank you. It works!