# How to check if a text column includes a value from a Single Value column?

**URL:** <https://community.glideapps.com/t/how-to-check-if-a-text-column-includes-a-value-from-a-single-value-column/82603>\
**Category:** Ask for Help\
**Created:** [June 19, 2025, 2:10am UTC](https://community.glideapps.com/t/how-to-check-if-a-text-column-includes-a-value-from-a-single-value-column/82603 "2025-06-19T02:10:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ttss3131](https://avatars.discourse-cdn.com/v4/letter/t/4af34b/32.png) [@ttss3131](https://community.glideapps.com/u/ttss3131)\
**Post date:** [June 19, 2025, 2:10am UTC](https://community.glideapps.com/t/how-to-check-if-a-text-column-includes-a-value-from-a-single-value-column/82603/1 "2025-06-19T02:10:16Z")

</div>

Hello Glide Experts,

I need your help with a filter logic. This seems like it should be simple, but I am completely stuck.

**My Goal:** I want to create an “AND search”. For example, if a user selects “Pork” and “Onion”, I want to show recipes that include **both** “Pork” AND “Onion”.

**My Setup:**

1. I have a `Recipes` table. In this table, I have a text column named `食材キーワード` which contains comma-separated ingredients (example: `Pork,Onion,Pepper`).
2. I also have a `Single Value` column named `ユーザー選択1`. This column correctly shows the _first_ ingredient the user selected (example: `Pork`).

**The Problem:** I am trying to create an `If-Then-Else` column named `Check1`. The logic I want is: `IF 'ユーザー選択1' is empty THEN true, ELSE IF '食材キーワード' includes 'ユーザー選択1' THEN true, ELSE false.`

However, as you can see in my screenshot, in the `ELSE IF` part, when I try to check if `食材キーワード` includes the value from `ユーザー選択1`, **the column `ユーザー選択1` does not appear in the list of values I can select.**

**My Question:** **What is the correct way to check if a text column (`食材キーワード`) includes the value from a `Single Value` column (`ユーザー選択1`) inside an `If-Then-Else` column?**

Is there a special syntax I am missing? Thank you so much for your help.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [June 19, 2025, 2:46am UTC](https://community.glideapps.com/t/how-to-check-if-a-text-column-includes-a-value-from-a-single-value-column/82603/2 "2025-06-19T02:46:35Z")

</div>

Retranslating so it’s easier to read:

> [@](#):
>
> Hello Glide Experts,
> 
> I need your help with some filter logic. This seems like it should be simple, but I’m completely stuck.
> 
> My Goal:  
> I want to create an “AND” search. For example, if a user selects “Pork” and “Onion”, I want to display recipes that include both “Pork” AND “Onion”.
> 
> My Setup:  
> I have a Recipes table. In this table, there’s a text column called Ingredient Keywords that contains a comma-separated list of ingredients (example: Pork,Onion,Pepper).  
> I also have a Single Value column called User Selection 1, which correctly shows the first ingredient the user selected (example: Pork).
> 
> The Problem:  
> I’m trying to create an If-Then-Else column called Check1 with the following logic:
> 
> If User Selection 1 is empty → return true
> 
> Else if Ingredient Keywords includes User Selection 1 → return true
> 
> Else → return false
> 
> However, when I try to create the “Else If” condition, I can’t select User Selection 1 as a value when checking if it’s included in Ingredient Keywords. It doesn’t appear in the list of selectable values.
> 
> My Question:  
> What is the correct way to check whether a text column (Ingredient Keywords) contains the value from a Single Value column (User Selection 1) inside an If-Then-Else column?
> 
> Is there a special syntax or workaround I should be using?
> 
> Thank you so much for your help!

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [June 19, 2025, 3:07am UTC](https://community.glideapps.com/t/how-to-check-if-a-text-column-includes-a-value-from-a-single-value-column/82603/3 "2025-06-19T03:07:31Z")

</div>

What is the type of column that the Single Value column is pointing to?

What does the Single Value column look like when it contains multiple values to be searched?

I’m guessing the User Selection is an array which can contain multiple values, so it is not letting you do a single value compare. I have an idea, but I want to first understand where that value comes from that ends up in the Single Value column.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [June 19, 2025, 11:48pm UTC](https://community.glideapps.com/t/how-to-check-if-a-text-column-includes-a-value-from-a-single-value-column/82603/4 "2025-06-19T23:48:34Z")

</div>

Also interested to hear more on the flow here. Why do you need to use a single value to check the “first” item from a selection? Do you plan to check the same conditions for the 2nd, 3rd choice and so on?
