# Using data from another tab in Google sheets

**URL:** <https://community.glideapps.com/t/using-data-from-another-tab-in-google-sheets/31191>\
**Category:** Ask for Help\
**Created:** [August 31, 2021, 3:17pm UTC](https://community.glideapps.com/t/using-data-from-another-tab-in-google-sheets/31191 "2021-08-31T15:17:58Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Siglide1110](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/siglide1110/32/15991_2.png) [@Siglide1110](https://community.glideapps.com/u/Siglide1110)\
**Post date:** [August 31, 2021, 3:17pm UTC](https://community.glideapps.com/t/using-data-from-another-tab-in-google-sheets/31191/1 "2021-08-31T15:17:58Z")

</div>

Hi

I want to use data from another tab (an address in this instance) to populate another tab containing delivery information. I am able to get the address through a relation but cant seem to find a way to enter it into the new tab. The aim is, after pressing delivered button on screen, the customers address is populated in the new tabs delivery information from the customer tab.

Any help appreciated!

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [August 31, 2021, 3:21pm UTC](https://community.glideapps.com/t/using-data-from-another-tab-in-google-sheets/31191/2 "2021-08-31T15:21:26Z")

</div>

If you already have a relation linking to the sheet that has the address, then all you should need is a Lookup column to pull out any specific columns from that relation.

---

<div class="post-metadata">

**Author:** ![Siglide1110](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/siglide1110/32/15991_2.png) [@Siglide1110](https://community.glideapps.com/u/Siglide1110)\
**Post date:** [August 31, 2021, 5:04pm UTC](https://community.glideapps.com/t/using-data-from-another-tab-in-google-sheets/31191/3 "2021-08-31T17:04:03Z")

</div>

Thanks for the reply

Can this relation data then be used in an action text to update column values?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [August 31, 2021, 5:29pm UTC](https://community.glideapps.com/t/using-data-from-another-tab-in-google-sheets/31191/4 "2021-08-31T17:29:00Z")

</div>

Yes, Lookup Columns can be used in actions or other components. You just need to make sure you know whether or not your Relation is a single relation or a multiple relation. Lookups on a single relation will be returned as a single value and can only be used with anything that accepts a single value. Lookups on a multiple relation will be returned as an array value and can only be used with anything that accepts an array. Using a lookup column as the source of an action text component won’t update anything. The Action Text component is only able to display existing data. If you are in a form, you can use the lookup value as a default value in an entry component or you can directly pass that value through the form to the form response sheet using the column value components. You also have the option to display the address on the screen, but through an action, have it written to another table. It all largely depends on what exactly you are trying to do and how you have your app set up currently.

---

<div class="post-metadata">

**Author:** ![Siglide1110](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/siglide1110/32/15991_2.png) [@Siglide1110](https://community.glideapps.com/u/Siglide1110)\
**Post date:** [August 31, 2021, 6:21pm UTC](https://community.glideapps.com/t/using-data-from-another-tab-in-google-sheets/31191/5 "2021-08-31T18:21:21Z")

</div>

Its a multiple relation coming from a customer list matching orders relating to that customer, using a customer identification number as a match feature. I’m using that relation for the look up, its displaying on the glide spreadsheet but i cant seem to get it to display in any of the functions.

Do you know if there are any examples of how to use a lookup in the ways you have listed?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [August 31, 2021, 6:26pm UTC](https://community.glideapps.com/t/using-data-from-another-tab-in-google-sheets/31191/6 "2021-08-31T18:26:08Z")

</div>

Is there any reason why it’s a multiple relation? An order should have only one customer and that customer should only have one address, correct? If that’s the case, switch it to a single relation and the lookup column will become a single value instead of an array, which should allow you to use that value.

---

<div class="post-metadata">

**Author:** ![Siglide1110](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/siglide1110/32/15991_2.png) [@Siglide1110](https://community.glideapps.com/u/Siglide1110)\
**Post date:** [August 31, 2021, 6:44pm UTC](https://community.glideapps.com/t/using-data-from-another-tab-in-google-sheets/31191/7 "2021-08-31T18:44:28Z")

</div>

Just tried switching to single relation, still not showing in the list of options question fields.

Any suggestions welcome

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [August 31, 2021, 7:00pm UTC](https://community.glideapps.com/t/using-data-from-another-tab-in-google-sheets/31191/8 "2021-08-31T19:00:35Z")

</div>

You’ll have to show a some screenshots of what you are trying to do. I’m not sure I follow.

---

<div class="post-metadata">

**Author:** ![Siglide1110](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/siglide1110/32/15991_2.png) [@Siglide1110](https://community.glideapps.com/u/Siglide1110)\
**Post date:** [September 2, 2021, 8:56am UTC](https://community.glideapps.com/t/using-data-from-another-tab-in-google-sheets/31191/9 "2021-09-02T08:56:12Z")

</div>

I got it to work, i hadn’t switched the look up from tab to relation. Thanks for your help!
