# Compare two column with If

**URL:** <https://community.glideapps.com/t/compare-two-column-with-if/7681>\
**Category:** Ask for Help\
**Created:** [April 23, 2020, 11:37am UTC](https://community.glideapps.com/t/compare-two-column-with-if/7681 "2020-04-23T11:37:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![noneight](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/noneight/32/5351_2.png) [@noneight](https://community.glideapps.com/u/noneight)\
**Post date:** [April 23, 2020, 11:37am UTC](https://community.glideapps.com/t/compare-two-column-with-if/7681/1 "2020-04-23T11:37:54Z")

</div>

Hello Guyz,

I think my trouble is very simple. 🙂  
I just need to **check password matching** between the one who create it ( **MDP** column) and the one who is invited ( **MDP entré** column).

I try to use an IF… but i can’t select the right column i need to compare ☹ .  
I am juste able to write something instead of select column 😅

 ![TEst](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/a/a5604fd13ddd7a0766ab8891276fc268d9e06c63.gif)

Thanks a lot 🙂

---

<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:** [April 23, 2020, 11:50am UTC](https://community.glideapps.com/t/compare-two-column-with-if/7681/2 "2020-04-23T11:50:42Z")

</div>

Hi @noneight. This has been a feature request of mine for some time now, too. If you can, please take a moment to upvote it here:

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

 ![Screen Shot 2020-04-23 at 7.49.30 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/b/bffa5fcce39f07a5e1d764c3775d5849ce0f4152.png)

---

<div class="post-metadata">

**Author:** ![noneight](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/noneight/32/5351_2.png) [@noneight](https://community.glideapps.com/u/noneight)\
**Post date:** [April 23, 2020, 12:46pm UTC](https://community.glideapps.com/t/compare-two-column-with-if/7681/3 "2020-04-23T12:46:50Z")

</div>

Hey Robert !  
Done ! Is there any trick ?  
In my case, it is for passwrod checking 🙂

---

<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:** [April 23, 2020, 1:01pm UTC](https://community.glideapps.com/t/compare-two-column-with-if/7681/4 "2020-04-23T13:01:48Z")

</div>

Perhaps, you could create a template joining the email address of the user (though, this doesn’t look  
like your users sheet with individual emails per line…) with the password twice (once for each password column). Do a relation between the two and then a rollup by count. If it matches, it should result in 1, otherwise 0 and then you could do an if/then off those two numbers.
