# Support for Logic Gates (AND/OR Combinations)

**URL:** <https://community.glideapps.com/t/support-for-logic-gates-and-or-combinations/82639>\
**Category:** Feature Requests\
**Created:** [June 21, 2025, 1:31am UTC](https://community.glideapps.com/t/support-for-logic-gates-and-or-combinations/82639 "2025-06-21T01:31:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [June 21, 2025, 2:37am UTC](https://community.glideapps.com/t/support-for-logic-gates-and-or-combinations/82639/2 "2025-06-21T02:37:31Z")

</div>

> [@Maazsaeed](#):
>
> I want to show items when:
> 
> ```auto
> (Category is "B" OR Category is "C") AND Supplier is "D"
> 
> ```
> 
> This type of logic is not possible directly in Glide today

Yes it is. You just need to approach things a bit differently. Observe:

- If Supplier is not D, then `null`
- If Category is B, then `true`
- If Category is C, then `true`

That said, see below:

> [@Better and more consistent IF THEN logic](https://community.glideapps.com/t/better-and-more-consistent-if-then-logic/24317/1):
>
> I’ve spent the past few days trying to work out some IF/THEN logic for a side project. The problem is that this is something I could have worked out in a matter of a few minutes with actual code. I’m running into several limitations with the current IF/THEN logic we currently have in Glide. First of all there are inconsistencies between what’s possible with an IF/THEN column, and what’s possible with If/Then logic in visibility conditions or actions. Most importantly, an IF/THEN column only…

---

_[View the full topic](https://community.glideapps.com/t/support-for-logic-gates-and-or-combinations/82639)._
