# Swap Out Text- If, Then, Else

**URL:** https://community.glideapps.com/t/swap-out-text-if-then-else/19784
**Category:** Ask for Help
**Created:** [December 13, 2020, 1:00am UTC](https://community.glideapps.com/t/swap-out-text-if-then-else/19784 "2020-12-13T01:00:11Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Jen\_NYCP](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@Jen\_NYCP](https://community.glideapps.com/u/Jen_NYCP)
#### Post date: [December 13, 2020, 1:00am UTC](https://community.glideapps.com/t/swap-out-text-if-then-else/19784/1 "2020-12-13T01:00:11Z")

</div>

Hi,

I would like to swap out the text in a string of words for my If, Then Else Column. It would be for the last column, I would like the cells which has Delivery, Pick-up to say Delivery and Pick-up. Is this possible? Thanks!

 ![method1](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/f/7fb0c538939ba7e397d48c2c9c5fcf6283f38539.png)

---

<div class="post-metadata">

### Author: ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)
#### Post date: [December 13, 2020, 1:22am UTC](https://community.glideapps.com/t/swap-out-text-if-then-else/19784/2 "2020-12-13T01:22:41Z")

</div>

It looks like that is being generated by your Template column. The updated formatting looks like it needs to be done there.

---

<div class="post-metadata">

### Author: ![Jen\_NYCP](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@Jen\_NYCP](https://community.glideapps.com/u/Jen_NYCP)
#### Post date: [December 13, 2020, 1:32am UTC](https://community.glideapps.com/t/swap-out-text-if-then-else/19784/3 "2020-12-13T01:32:55Z")

</div>

So the ‘and’ is in the orginal column, the template says the same thing.

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [December 13, 2020, 1:51am UTC](https://community.glideapps.com/t/swap-out-text-if-then-else/19784/4 "2020-12-13T01:51:03Z")

</div>

What is your setting for the If Then Else?

If TEM-Method is Delivery, Pick-up then Delivery and Pick-up, else TEM-Method?

It can be an easy replacement of the comma by the “and” word as well, I suppose.

---

<div class="post-metadata">

### Author: ![Jen\_NYCP](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@Jen\_NYCP](https://community.glideapps.com/u/Jen_NYCP)
#### Post date: [December 13, 2020, 2:12am UTC](https://community.glideapps.com/t/swap-out-text-if-then-else/19784/5 "2020-12-13T02:12:59Z")

</div>

This is what I have. So I created this because a few cells in the method column also say ‘N/A’. I did not want that to display in my image tag, so I created something that would take it out if N/A is there.

 ![method12](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/e/2e764a6b626ec9b44f3c3ac842078ee0ac69fb85.png)

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [December 13, 2020, 3:11am UTC](https://community.glideapps.com/t/swap-out-text-if-then-else/19784/6 "2020-12-13T03:11:43Z")

</div>

What is your setting for the IF-Method Tag? (the last column in your screenshot)

---

<div class="post-metadata">

### Author: ![Jen\_NYCP](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@Jen\_NYCP](https://community.glideapps.com/u/Jen_NYCP)
#### Post date: [December 13, 2020, 3:18am UTC](https://community.glideapps.com/t/swap-out-text-if-then-else/19784/7 "2020-12-13T03:18:40Z")

</div>

Created so that all the cells with ‘N/A’ show up blank for the tag.

 ![method3](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/5/0550da8363e9c26738382d3ee64c60816579fa6b.png)

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [December 13, 2020, 4:20am UTC](https://community.glideapps.com/t/swap-out-text-if-then-else/19784/8 "2020-12-13T04:20:33Z")

</div>

Add a case so if TEM-Method is “Delivery, pick-up” then return “Delivery and pick-up”.

---

<div class="post-metadata">

### Author: ![Jen\_NYCP](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@Jen\_NYCP](https://community.glideapps.com/u/Jen_NYCP)
#### Post date: [December 13, 2020, 5:11am UTC](https://community.glideapps.com/t/swap-out-text-if-then-else/19784/9 "2020-12-13T05:11:43Z")

</div>

Thanks! NO Change ☹

 ![method5](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/8/8808491142e5e84200a581e59ed45fbb487138ff.png)

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [December 13, 2020, 5:19am UTC](https://community.glideapps.com/t/swap-out-text-if-then-else/19784/10 "2020-12-13T05:19:42Z")

</div>

Can you try swapping the 2nd condition to 1st, means we check the “Delivery, pick-up” condition before the other one.

---

<div class="post-metadata">

### Author: ![Jen\_NYCP](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@Jen\_NYCP](https://community.glideapps.com/u/Jen_NYCP)
#### Post date: [December 13, 2020, 6:06am UTC](https://community.glideapps.com/t/swap-out-text-if-then-else/19784/11 "2020-12-13T06:06:06Z")

</div>

Yes that worked. thank you!
