# How to combrine 2 data in one field

**URL:** <https://community.glideapps.com/t/how-to-combrine-2-data-in-one-field/79592>\
**Category:** Ask for Help\
**Created:** [January 28, 2025, 2:23am UTC](https://community.glideapps.com/t/how-to-combrine-2-data-in-one-field/79592 "2025-01-28T02:23:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Smarthome\_Support](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/smarthome_support/32/84553_2.png) [@Smarthome\_Support](https://community.glideapps.com/u/Smarthome_Support)\
**Post date:** [January 28, 2025, 2:23am UTC](https://community.glideapps.com/t/how-to-combrine-2-data-in-one-field/79592/1 "2025-01-28T02:23:11Z")

</div>

Sorry, I’m a starter to use glide. It about to complete but I have some problem.  
How can I show the data in same line like comparation page(Model: CM3 CP1)  
It’s always show model: CM3, model: CP1

 ![Screenshot 2025-01-28 101839](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/b/9b1916040db1ef944571def8658f105c77636b1c.jpeg)

---

<div class="post-metadata">

**Author:** ![schrutefarms](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/schrutefarms/32/59686_2.png) [@schrutefarms](https://community.glideapps.com/u/schrutefarms)\
**Post date:** [January 28, 2025, 3:15am UTC](https://community.glideapps.com/t/how-to-combrine-2-data-in-one-field/79592/2 "2025-01-28T03:15:31Z")

</div>

Can you show us how the data is stored in the table you are using? Also, is there a specific reason to why you are using the Rich Text component to display this?

---

<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:** [January 28, 2025, 3:28pm UTC](https://community.glideapps.com/t/how-to-combrine-2-data-in-one-field/79592/4 "2025-01-28T15:28:40Z")

</div>

I would avoid the Rich Text component.

To concatenate information onto one line, you can use a template column in the data editor or inline templates in any field in the layout editor.

---

<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:** [January 28, 2025, 4:44pm UTC](https://community.glideapps.com/t/how-to-combrine-2-data-in-one-field/79592/5 "2025-01-28T16:44:06Z")

</div>

To do what you want, you would need all data in one row so you can built your html table using data from that single row.

If it were me though, I think for something like this I would create a JSON Object column to build JSON of all data for each row.

Then I would create a Lookup column that points at that JSON object column to get an array of all items.

Then create another JSON Object column that looks at that Lookup column and creates one big JSON object with everything together.

Then copy and paste that JSON into ChatGPT and ask it to build javascript that will return an HTML table in a comparison style.

Then you can use the HTML from the javascript column as the source of your rich text component.

---

<div class="post-metadata">

**Author:** ![Smarthome\_Support](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/smarthome_support/32/84553_2.png) [@Smarthome\_Support](https://community.glideapps.com/u/Smarthome_Support)\
**Post date:** [February 3, 2025, 3:19am UTC](https://community.glideapps.com/t/how-to-combrine-2-data-in-one-field/79592/6 "2025-02-03T03:19:28Z")

</div>

Oh thank you. I’ll try

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [February 8, 2025, 12:06am UTC](https://community.glideapps.com/t/how-to-combrine-2-data-in-one-field/79592/7 "2025-02-08T00:06:48Z")

</div>

Did it work?
