# IF THEN ELSE - multiple condition

**URL:** <https://community.glideapps.com/t/if-then-else-multiple-condition/53062>\
**Category:** Ask for Help\
**Created:** [November 1, 2022, 6:46pm UTC](https://community.glideapps.com/t/if-then-else-multiple-condition/53062 "2022-11-01T18:46:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Monika](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/monika/32/49427_2.png) [@Monika](https://community.glideapps.com/u/Monika)\
**Post date:** [November 1, 2022, 6:46pm UTC](https://community.glideapps.com/t/if-then-else-multiple-condition/53062/1 "2022-11-01T18:46:18Z")

</div>

Hi all,

I am working with two columns with the function IF THEN ELSE.

Example:  
IF A \> 0, and at the same time B \> 0, then enter value X.

How to set it up?

Thank you,  
Monika

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [November 1, 2022, 6:49pm UTC](https://community.glideapps.com/t/if-then-else-multiple-condition/53062/2 "2022-11-01T18:49:21Z")

</div>

you need two IF-ELSE columns to mark 1 if true… then a math column to add these two… then another IF-ELSE to check if the math column = 2…  
or you can multiply these two and check if the result is \> 0

---

<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:** [November 1, 2022, 6:51pm UTC](https://community.glideapps.com/t/if-then-else-multiple-condition/53062/3 "2022-11-01T18:51:18Z")

</div>

One IF column.

IF A \<= 0 Then ‘’  
ElseIF B \<= 0 Then ‘’  
Else X
