# Can't seem to get If/Else to compute correctly

**URL:** <https://community.glideapps.com/t/cant-seem-to-get-if-else-to-compute-correctly/53042>\
**Category:** Ask for Help\
**Created:** [November 1, 2022, 2:55pm UTC](https://community.glideapps.com/t/cant-seem-to-get-if-else-to-compute-correctly/53042 "2022-11-01T14:55:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KPT](https://avatars.discourse-cdn.com/v4/letter/k/eb9ed0/32.png) [@KPT](https://community.glideapps.com/u/KPT)\
**Post date:** [November 1, 2022, 2:55pm UTC](https://community.glideapps.com/t/cant-seem-to-get-if-else-to-compute-correctly/53042/1 "2022-11-01T14:55:37Z")

</div>

I’m trying to get a very simple IF/Else Column to compute correctly, but for some reason I can’t figure out what I’m doing wrong.

I need have two fields A & B

The condition need to be:

If A does not include ‘Unload’ then true  
If A does include ‘Unload’ and B is checked then true  
If A does include Unload and B is not checked then null

I somehow cannot get this IF/Else to do what I want to do, can someone help?

---

<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:** [November 1, 2022, 3:13pm UTC](https://community.glideapps.com/t/cant-seem-to-get-if-else-to-compute-correctly/53042/2 "2022-11-01T15:13:20Z")

</div>

I think you can just do:

- If A doesn’t include Unload, then true
- If B is checked, then true

Your 3rd condition isn’t needed, because you will have eliminated both cases with the first two conditions.

![Screen Shot 2022-11-01 at 11.12.52 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/3/33f4c3728059a3f7987492682b42196038899607.png)

---

<div class="post-metadata">

**Author:** ![KPT](https://avatars.discourse-cdn.com/v4/letter/k/eb9ed0/32.png) [@KPT](https://community.glideapps.com/u/KPT)\
**Post date:** [November 1, 2022, 8:30pm UTC](https://community.glideapps.com/t/cant-seem-to-get-if-else-to-compute-correctly/53042/3 "2022-11-01T20:30:42Z")

</div>

Ohh god - so easy.  
I don’t know why I can’t get my head around these conditionals…

But thank you for saving my sanity

---

<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:** [November 2, 2022, 8:31pm UTC](https://community.glideapps.com/t/cant-seem-to-get-if-else-to-compute-correctly/53042/4 "2022-11-02T20:31:04Z")

</div>

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