# Option to compare 2 columns while using if-then-else

**URL:** <https://community.glideapps.com/t/option-to-compare-2-columns-while-using-if-then-else/1741>\
**Category:** Feature Requests\
**Created:** [November 6, 2019, 6:30pm UTC](https://community.glideapps.com/t/option-to-compare-2-columns-while-using-if-then-else/1741 "2019-11-06T18:30:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manan\_Mehta](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manan_mehta/32/13957_2.png) [@Manan\_Mehta](https://community.glideapps.com/u/Manan_Mehta)\
**Post date:** [November 6, 2019, 6:30pm UTC](https://community.glideapps.com/t/option-to-compare-2-columns-while-using-if-then-else/1741/1 "2019-11-06T18:30:07Z")

</div>

when using the conditions in the if-then-else feature, the column can be compared with a predefined value only. Is there a possibility to compare the data in the column with another column from the same row in the same table.  
Just like spreadsheet can compare data from 2 different cells to give an output.

---

<div class="post-metadata">

**Author:** ![George\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/george_b/32/534_2.png) [@George\_B](https://community.glideapps.com/u/George_B)\
**Post date:** [November 6, 2019, 9:25pm UTC](https://community.glideapps.com/t/option-to-compare-2-columns-while-using-if-then-else/1741/2 "2019-11-06T21:25:43Z")

</div>

That could be very useful.

---

<div class="post-metadata">

**Author:** ![vijay](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vijay/32/3259_2.png) [@vijay](https://community.glideapps.com/u/vijay)\
**Post date:** [March 9, 2020, 7:25am UTC](https://community.glideapps.com/t/option-to-compare-2-columns-while-using-if-then-else/1741/3 "2020-03-09T07:25:24Z")

</div>

Yes, this would be very useful.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [March 9, 2020, 10:19am UTC](https://community.glideapps.com/t/option-to-compare-2-columns-while-using-if-then-else/1741/4 "2020-03-09T10:19:01Z")

</div>

This is a feature request of mine…upvote:  
“Variables on both sides of IF”

> **[Feature Requests](https://features.staging.glideapp.io/)**
>
> Feature requests for Glide Apps

---

<div class="post-metadata">

**Author:** ![vijay](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vijay/32/3259_2.png) [@vijay](https://community.glideapps.com/u/vijay)\
**Post date:** [March 9, 2020, 11:56am UTC](https://community.glideapps.com/t/option-to-compare-2-columns-while-using-if-then-else/1741/5 "2020-03-09T11:56:01Z")

</div>

Done

---

<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 12, 2025, 12:34pm UTC](https://community.glideapps.com/t/option-to-compare-2-columns-while-using-if-then-else/1741/6 "2025-08-12T12:34:36Z")

</div>


