# Can you do a Lookup to get the status of a Switch?

**URL:** https://community.glideapps.com/t/can-you-do-a-lookup-to-get-the-status-of-a-switch/11644
**Category:** Ask for Help
**Created:** [June 28, 2020, 9:18pm UTC](https://community.glideapps.com/t/can-you-do-a-lookup-to-get-the-status-of-a-switch/11644 "2020-06-28T21:18:35Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Fassil\_Befekadu](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@Fassil\_Befekadu](https://community.glideapps.com/u/Fassil_Befekadu)
#### Post date: [June 28, 2020, 9:18pm UTC](https://community.glideapps.com/t/can-you-do-a-lookup-to-get-the-status-of-a-switch/11644/1 "2020-06-28T21:18:35Z")

</div>

I have implemented a Switch as part of a Form submission that records the switch status in a Sheet 1. I am trying to set up a Lookup in another sheet (Sheet 2) that is supposed to check the status of the switch in Sheet 1 (I use the Lookup results to set up visibility of a component) - but I don’t know how to do a Lookup of switch status. Does anybody have any idea how this can be done?

---

<div class="post-metadata">

### Author: ![Cmstewart42](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/cmstewart42/32/7319_2.png) [@Cmstewart42](https://community.glideapps.com/u/Cmstewart42)
#### Post date: [June 28, 2020, 10:14pm UTC](https://community.glideapps.com/t/can-you-do-a-lookup-to-get-the-status-of-a-switch/11644/2 "2020-06-28T22:14:22Z")

</div>

Switches are linked to a column and write boolean true/false values.

Note I believe values of form fields do not exist in searchable form until submitted as they are essentially in volatile memory until submitted. .

---

<div class="post-metadata">

### Author: ![Wiz.Wazeer](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/wiz.wazeer/32/72423_2.png) [@Wiz.Wazeer](https://community.glideapps.com/u/Wiz.Wazeer)
#### Post date: [June 28, 2020, 10:30pm UTC](https://community.glideapps.com/t/can-you-do-a-lookup-to-get-the-status-of-a-switch/11644/3 "2020-06-28T22:30:23Z")

</div>

Okay, Cmstewart42 is correct. But, as you are trying to do a lookup of the true/false once passed to sheet 1 from sheet 2, you can create a single relation between sheet 1 and 2. Then you can do a lookup of the values in sheet one. Another way to do this would be to create a template of your switch values which would render them as true/false. Then do a lookup of those values. You would still need to create a relation to sheet 1.

---

<div class="post-metadata">

### Author: ![Fassil\_Befekadu](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@Fassil\_Befekadu](https://community.glideapps.com/u/Fassil_Befekadu)
#### Post date: [June 28, 2020, 10:44pm UTC](https://community.glideapps.com/t/can-you-do-a-lookup-to-get-the-status-of-a-switch/11644/4 "2020-06-28T22:44:58Z")

</div>

thank you @Cmstewart42 and @Wiz.Wazeer. This was the part I was looking for that answered my question:  
“Another way to do this would be to create a template of your switch values which would render them as true/false. Then do a lookup of those values.”

I did not realize you could do this through a Template.

---

<div class="post-metadata">

### Author: ![Wiz.Wazeer](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/wiz.wazeer/32/72423_2.png) [@Wiz.Wazeer](https://community.glideapps.com/u/Wiz.Wazeer)
#### Post date: [June 28, 2020, 10:48pm UTC](https://community.glideapps.com/t/can-you-do-a-lookup-to-get-the-status-of-a-switch/11644/5 "2020-06-28T22:48:14Z")

</div>

Yes inside Glide editor many unthinkable things are possible.
