# Has anyone figured this out?

**URL:** <https://community.glideapps.com/t/has-anyone-figured-this-out/84011>\
**Category:** Ask for Help\
**Created:** [August 25, 2025, 3:49pm UTC](https://community.glideapps.com/t/has-anyone-figured-this-out/84011 "2025-08-25T15:49:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kiano\_Khan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kiano_khan/32/91392_2.png) [@Kiano\_Khan](https://community.glideapps.com/u/Kiano_Khan)\
**Post date:** [August 25, 2025, 3:49pm UTC](https://community.glideapps.com/t/has-anyone-figured-this-out/84011/1 "2025-08-25T15:49:12Z")

</div>

I’m currently working on my **Announcements (Screen)** tab, and I’ve run into a challenge with conditional logic for headings.

Here’s the context:

- I’m using **Big Number** components to show counters for:
  1. New Announcements
  2. Announcements Requesting Approval
  3. Rejected Announcements

- I also want to display a **single heading** at the top that changes dynamically depending on these counts.

For example:

- If **both** “New Announcements” and “Announcements Requesting Approval” are greater than zero → heading should display _“You Have New Items Needing Attention”_.
- If only “New Announcements” \> 0 → heading should display _“New Announcements”_.
- If only “Announcements Requesting Approval” \> 0 → heading should display _“New Item Requesting Approval”_.
- If both = 0 → heading should display _“You’re All Caught Up!”_.

I tried setting this up using an **If → Then → Else column** inside the **Announcements (Screen)** table. However, the current editor seems to only let me create single conditions (one IF, one THEN, one ELSE). I cannot easily chain **AND logic** or multiple **else-if conditions** in the way I need.

Could you please clarify:

1. Is there a way to configure **If → Then → Else** to support multiple conditions (including AND / ELSE IF)?
2. If not, what would be the recommended Glide-native approach to achieve this single dynamic heading (without needing multiple Text components with visibility conditions)?
3. Should this logic live in the **Announcements (Screen)** table, or is there a better place to structure it?

This feature would be really helpful for creating cleaner UI and avoiding multiple overlapping headings.

Thank you so much for your guidance!

---

<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:** [August 25, 2025, 4:11pm UTC](https://community.glideapps.com/t/has-anyone-figured-this-out/84011/2 "2025-08-25T16:11:24Z")

</div>

I would probably just do it with a javascript column. Pass in the two numbers and have it return the text you want.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [August 25, 2025, 4:20pm UTC](https://community.glideapps.com/t/has-anyone-figured-this-out/84011/3 "2025-08-25T16:20:32Z")

</div>

> [@Kiano\_Khan](#):
>
> - If **both** “New Announcements” and “Announcements Requesting Approval” are greater than zero → heading should display _“You Have New Items Needing Attention”_.
> - If only “New Announcements” \> 0 → heading should display _“New Announcements”_.
> - If only “Announcements Requesting Approval” \> 0 → heading should display _“New Item Requesting Approval”_.
> - If both = 0 → heading should display _“You’re All Caught Up!”_.

I can’t think of a way to do this with only an if-then-else column, but I think it is possible if you combine it with a math column.

- Create a math column that adds both columns together to get a total of both.
- Then the if-then-else logic becomes:  
– If Total equals 0, then " You’re All Caught Up!"  
– If New Announcement total equals zero, then "New Item Requesting Approval”  
– If Announcements Requesting Approval total equals 0, then “New Announcements”  
– Else “You Have New Items Needing Attention”
