# 👪 Make Array — the newest column type!

**URL:** <https://community.glideapps.com/t/make-array-the-newest-column-type/39540>\
**Category:** Community Resources\
**Tags:** tutorial\
**Created:** [March 12, 2022, 3:21am UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540 "2022-03-12T03:21:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [March 12, 2022, 3:21am UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540/1 "2022-03-12T03:21:34Z")

</div>

**Make Array** is the newest column type in Glide that allows you to combine single values and/or array values to form a new array.

There are a few use cases, but the main ones are:

1. Combine images from a few different columns to create an image carousel:  

2. Combine multiple arrays together to form a new array:  

3. Append an item to an array to form a new array  

### Here’s a screencast detailing the process. 🍿 Enjoy!

https://www.loom.com/embed/8c5080aed84d47e196e1d5532f6c4bed

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [March 12, 2022, 3:24am UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540/2 "2022-03-12T03:24:58Z")

</div>

nice job!

add this CSS under the image component, and they will scroll by themselves! LOL

```auto
<pre><span><style>
.scroller{
width: 100px;
height: 100px;
background: red;
position: relative;
animation: move 30s infinite;
animation-timing-function: ease-out;
animation-direction: alternate;
animation-iteration-count: infinite;
animation-fill-mode: none;
animation-play-state: running;
animation-timing-function: linear;
}
@keyframes move {
from {left: 0px;}
to {left: -7500px;}
}

```

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [March 12, 2022, 3:43am UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540/3 "2022-03-12T03:43:51Z")

</div>

Ha…neat…but not quite what I was expecting regarding UI  
 ![CleanShot 2022-03-11 at 22.42.04](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/1/4199cf86b4e915592a1fdc63288b9f93ecff189d.gif)

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [March 12, 2022, 3:47am UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540/4 "2022-03-12T03:47:59Z")

</div>

change to left parameter to 1000px you have only 3 pictures… you can put that in the template to make a dynamic, depending on the number of images… from the rollup column… count

---

<div class="post-metadata">

**Author:** ![PabloMFalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pablomfalero/32/31166_2.png) [@PabloMFalero](https://community.glideapps.com/u/PabloMFalero)\
**Post date:** [March 12, 2022, 2:03pm UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540/5 "2022-03-12T14:03:50Z")

</div>

Just missing the part where you can make an array and use it as role in glide tables

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [March 12, 2022, 3:19pm UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540/6 "2022-03-12T15:19:49Z")

</div>

Ya…can’t be a thing because “Make Array” is a computed column.

Would love there to be a “Make Array” basic column which just converts a CSV to array (like split text) similar to how we can make an array from Google Sheet column sequencing.

---

<div class="post-metadata">

**Author:** ![PabloMFalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pablomfalero/32/31166_2.png) [@PabloMFalero](https://community.glideapps.com/u/PabloMFalero)\
**Post date:** [March 12, 2022, 3:53pm UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540/7 "2022-03-12T15:53:04Z")

</div>

Exactly what I mean 😀

---

<div class="post-metadata">

**Author:** ![fluittsolutions](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/fluittsolutions/32/30155_2.png) [@fluittsolutions](https://community.glideapps.com/u/fluittsolutions)\
**Post date:** [March 12, 2022, 4:56pm UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540/8 "2022-03-12T16:56:58Z")

</div>

I’m not sure about the “why” of this. I think your demo used Glide tables and maybe that is why. I use Google Sheets and if I format my column headers correctly–Item 1, Item 2, Item 3–then Glide automatically creates the array column in the data editor.

Can you suggest some real world applications for which this would be useful?

Might it serve some purpose in the many to one relations of combining fields from an event details sheet (one) with the fields on an events dates sheet (many) on a single details page?

Thanks.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [March 12, 2022, 5:25pm UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540/9 "2022-03-12T17:25:21Z")

</div>

The “Make Array” column removes the need for column grouping like you’re doing in Google Sheets.

The issue is that if you rely on column grouping in Google Sheets and the columns ever get renamed or rearranged, the array breaks and any relations / components relying on that array break as well.

Make Array allows you to pick any column to form the array, regardless of name or arrangement.

The only benefit to Google Sheets column grouping is that it allows you to set Row Owners on the resulting Array column. Hence, Pablo’s comment above.

---

<div class="post-metadata">

**Author:** ![fluittsolutions](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/fluittsolutions/32/30155_2.png) [@fluittsolutions](https://community.glideapps.com/u/fluittsolutions)\
**Post date:** [March 12, 2022, 5:38pm UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540/10 "2022-03-12T17:38:42Z")

</div>

Just discovered that this may solve a problem that I could never resolve months ago so I forgot about it…

The events are allowed to choose three genres. Let’s say an event selects Farmer’s Market, Artists Market, and Live Music. I have three columns in Google Sheets. In the data editor, I see the three columns PLUS a fourth column of the auto-created array. But when I try to add the Event Genre to an event detail page, my field options are genre columns 1, 2, and 3. The array column is not offered as a field to place on the page.

I’m now going to see if I can resolve this using this new array column feature. I’ll let you know how it goes!

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [March 12, 2022, 5:49pm UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540/11 "2022-03-12T17:49:36Z")

</div>

Make Array won’t solve that issue…if you want to display all three categories as a string value, use a Join List column from the Make Array column and separate them with something fancy like ‘ • ’

---

<div class="post-metadata">

**Author:** ![fluittsolutions](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/fluittsolutions/32/30155_2.png) [@fluittsolutions](https://community.glideapps.com/u/fluittsolutions)\
**Post date:** [March 12, 2022, 6:09pm UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540/12 "2022-03-12T18:09:47Z")

</div>

Problem resolved. As usual…you rock!  
 ![genre](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/9/b90eb712807efbe8d0347b9c32cc13d38550aeb9.png)

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [March 12, 2022, 6:22pm UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540/13 "2022-03-12T18:22:16Z")

</div>

Looks great!

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [March 12, 2022, 8:00pm UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540/14 "2022-03-12T20:00:23Z")

</div>

Sweet, literally. Away with join+split 🙂

---

<div class="post-metadata">

**Author:** ![11183](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/11183/32/29797_2.png) [@11183](https://community.glideapps.com/u/11183)\
**Post date:** [March 12, 2022, 8:01pm UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540/15 "2022-03-12T20:01:45Z")

</div>

Great news! Hope the next step will be to allow use text values in horizontal scrolling cards, just like image carousel. May not be clickable, just for presenting smth like big numbers or so.

---

<div class="post-metadata">

**Author:** ![DarrenHumphries](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darrenhumphries/32/91715_2.png) [@DarrenHumphries](https://community.glideapps.com/u/DarrenHumphries)\
**Post date:** [March 13, 2022, 9:59pm UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540/16 "2022-03-13T21:59:47Z")

</div>

Is nobody going to comment about the “We’re all sweet” thing? 😉

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [March 13, 2022, 11:25pm UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540/17 "2022-03-13T23:25:28Z")

</div>

Did you hear we’re all sweet in Bob’s video? I remember hearing something like “because I’m sweet”, which Bob definitely is, so Bob is right as usual! 😂

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [March 30, 2022, 2:39am UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540/18 "2022-03-30T02:39:05Z")

</div>

### Another use for the “Make Array” column:

Create a clean delineated string from columns that may or may not contain values:  
https://www.loom.com/embed/ce79bff395354767937203612b0560db

Keep 'em coming!!! How else are you using this versatile column type?

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [April 1, 2022, 7:42am UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540/19 "2022-04-01T07:42:24Z")

</div>

Would you agree with the following written version:

**Turn a comma-separated list of n elements into a comma-separated list of p _unique_ elements**

Comma-separated list (n elements)  
 → Make array  
 → Unique array  
 → Join: result is comma-separated list (p unique elements)

(The comma could be anything.)

---

<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:** [April 1, 2022, 8:25am UTC](https://community.glideapps.com/t/make-array-the-newest-column-type/39540/20 "2022-04-01T08:25:16Z")

</div>

> [@nathanaelb](#):
>
> Turn a comma-separated list of n elements into a comma-separated list of p _unique_ elements

I wouldn’t use Make Array in this case. I’d go:

- Split Text
- Unique
- Joined List

I think if you pass a Joined List to Make Array, all you’ll get is an array of one item - which contains the entire joined list.

[Next page](https://community.glideapps.com/t/make-array-the-newest-column-type/39540.md?page=2)
