# Set a boolean to TRUE when two conditions are met

**URL:** <https://community.glideapps.com/t/set-a-boolean-to-true-when-two-conditions-are-met/78947>\
**Category:** Ask for Help\
**Created:** [January 3, 2025, 8:22pm UTC](https://community.glideapps.com/t/set-a-boolean-to-true-when-two-conditions-are-met/78947 "2025-01-03T20:22:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbraunperu](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mbraunperu/32/83676_2.png) [@mbraunperu](https://community.glideapps.com/u/mbraunperu)\
**Post date:** [January 3, 2025, 8:22pm UTC](https://community.glideapps.com/t/set-a-boolean-to-true-when-two-conditions-are-met/78947/1 "2025-01-03T20:22:21Z")

</div>

Hello! I want a boolean column to be set to true automatically whenever two other columns of that table are empty. Is that possible?

---

<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:** [January 3, 2025, 8:36pm UTC](https://community.glideapps.com/t/set-a-boolean-to-true-when-two-conditions-are-met/78947/2 "2025-01-03T20:36:06Z")

</div>

Yes. Use an IF column and set it up like this:

```auto
If 'Column1' is not empty Then false
ElseIf 'Column2' is not empty Then false 
Else true

```

---

<div class="post-metadata">

**Author:** ![mbraunperu](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mbraunperu/32/83676_2.png) [@mbraunperu](https://community.glideapps.com/u/mbraunperu)\
**Post date:** [January 3, 2025, 10:06pm UTC](https://community.glideapps.com/t/set-a-boolean-to-true-when-two-conditions-are-met/78947/3 "2025-01-03T22:06:16Z")

</div>

It worked! Thanks Jeff!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [January 10, 2025, 10:06pm UTC](https://community.glideapps.com/t/set-a-boolean-to-true-when-two-conditions-are-met/78947/4 "2025-01-10T22:06:34Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
