# Lookup: am I doing this wrong?

**URL:** https://community.glideapps.com/t/lookup-am-i-doing-this-wrong/18882
**Category:** Ask for Help
**Created:** [November 24, 2020, 8:55pm UTC](https://community.glideapps.com/t/lookup-am-i-doing-this-wrong/18882 "2020-11-24T20:55:34Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![drascon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/drascon/32/20070_2.png) [@drascon](https://community.glideapps.com/u/drascon)
#### Post date: [November 24, 2020, 8:55pm UTC](https://community.glideapps.com/t/lookup-am-i-doing-this-wrong/18882/1 "2020-11-24T20:55:34Z")

</div>

I’m trying to get my list to lookup and present colors based on a specific answers - yes and no, primarily.

I have my answers here:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/9/99b1029242380d9b54243ff00cb9c14b7bb49774.png)

I’ve created a relation to another sheet here:

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/1/e1e075a2dc6ef1a4fd4cb482a46854b9b01619d4.png)

The relation exists and works fine. I then created a Lookup that found the images:

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/7/e732ded83423c3aa05d5c4cd6e2460a231eca7cb.png)

But when I go into my list and choose the Lookup for the images, it isn’t displaying them correctly (NOTE: Allowed 1-4 are the same as PSP, EMT, AEMT and EMT-P, in that order. I just changed the names so that I could create the array)

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/b/6ba69ca7d963bd773739f2561fefafec969b9171.png)

What am I doing wrong??? I’ve been wracking my brains for the last few hours and it’s starting to ruin my day!! PLEASE HELP!!

---

<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: [November 24, 2020, 10:17pm UTC](https://community.glideapps.com/t/lookup-am-i-doing-this-wrong/18882/2 "2020-11-24T22:17:07Z")

</div>

So you’re making a relation on an array column?

---

<div class="post-metadata">

### Author: ![drascon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/drascon/32/20070_2.png) [@drascon](https://community.glideapps.com/u/drascon)
#### Post date: [November 24, 2020, 10:51pm UTC](https://community.glideapps.com/t/lookup-am-i-doing-this-wrong/18882/3 "2020-11-24T22:51:53Z")

</div>

I am, only because I need the relation to pull data from 4 separate columns. I could 100% be doing it the hard way though 🤷‍♂️

---

<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: [November 24, 2020, 11:39pm UTC](https://community.glideapps.com/t/lookup-am-i-doing-this-wrong/18882/4 "2020-11-24T23:39:10Z")

</div>

What if you make 4 relations for 4 separate columns? Does it help you achieve the outcome?

---

<div class="post-metadata">

### Author: ![drascon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/drascon/32/20070_2.png) [@drascon](https://community.glideapps.com/u/drascon)
#### Post date: [November 25, 2020, 12:44am UTC](https://community.glideapps.com/t/lookup-am-i-doing-this-wrong/18882/5 "2020-11-25T00:44:48Z")

</div>

I’ll give that a shot in a bit

---

<div class="post-metadata">

### Author: ![drascon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/drascon/32/20070_2.png) [@drascon](https://community.glideapps.com/u/drascon)
#### Post date: [November 25, 2020, 8:32pm UTC](https://community.glideapps.com/t/lookup-am-i-doing-this-wrong/18882/6 "2020-11-25T20:32:27Z")

</div>

I’ve attempted this multiple ways now: multiple relations using arrays, multiple single relations, nothing works. My head is gonna explode!

---

<div class="post-metadata">

### Author: ![erwblo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/erwblo/32/75_2.png) [@erwblo](https://community.glideapps.com/u/erwblo)
#### Post date: [November 25, 2020, 9:30pm UTC](https://community.glideapps.com/t/lookup-am-i-doing-this-wrong/18882/7 "2020-11-25T21:30:26Z")

</div>

I recognise that feeling! Have spent hours today tackling an issue I have tackled before and cant reproduce!

---

<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: [November 25, 2020, 11:31pm UTC](https://community.glideapps.com/t/lookup-am-i-doing-this-wrong/18882/8 "2020-11-25T23:31:53Z")

</div>

How are you setting up? Can we have some screenshots?

I imagine it will be something like:

Relation: Alllowed 1 (1st screenshot) to Allowed 1 (second screenshot) then Lookup: Get the image column back.

Then do the same for the other 3 columns.

---

<div class="post-metadata">

### Author: ![drascon](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/drascon/32/20070_2.png) [@drascon](https://community.glideapps.com/u/drascon)
#### Post date: [November 30, 2020, 10:55pm UTC](https://community.glideapps.com/t/lookup-am-i-doing-this-wrong/18882/9 "2020-11-30T22:55:26Z")

</div>

Sorry - the holiday (and my time) got away from me:

Here’s the sheet that contains the “answers” (yes, no, other):  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/b/cbb880a432b0bff480ef3a2bcbf08b87ff3cc6e8.png)

And this is the sheet that has the colors embedded for the lookup to pull from:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/1/010e69bc83d88795284f5903c89eafa9b454c112.png)

I created the relation in the “Answers” sheet and it looks like this:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/2/32faf26ac0d517fc81c6b7a27a80c645088c4ddd.png)

So, like you suggested @ThinhDinh, I removed the array so that I could work on one column at a time to troubleshoot the issue and that’s what I screen capped here. One thing I noticed was that it’s actually pulling the colors appropriately but I need it to show just the 4 tiles that are associated with PSP, EMT, AEMT and EMT-P. This probably seems confusing, because it’s confusing me. Would you be willing to help me out 1-1 with this??
