# Travel App w/ Trips, Days and Activities

**URL:** <https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511>\
**Category:** Ask for Help\
**Created:** [June 15, 2025, 5:34pm UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511 "2025-06-15T17:34:48Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![marcoreda](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@marcoreda](https://community.glideapps.com/u/marcoreda)\
**Post date:** [June 18, 2025, 7:40am UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511/21 "2025-06-18T07:40:51Z")

</div>

Sorry guys I have a serious problem that I can’t solve. I have a “Day Number” column that I use as a reference for a series of calculations, I need it to be populated, for each different “RowID” with a sequential number of days, where the first is always 1 and the others are added in sequence, 2, 3, 4… until the total “Trip Length” is reached. I can’t create this function. Can someone help me?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/96552_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [June 18, 2025, 8:00am UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511/22 "2025-06-18T08:00:05Z")

</div>

Can you show a screen shot of the table please?

---

<div class="post-metadata">

**Author:** ![marcoreda](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@marcoreda](https://community.glideapps.com/u/marcoreda)\
**Post date:** [June 18, 2025, 8:06am UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511/23 "2025-06-18T08:06:59Z")

</div>

Hi Darren, thanks for answer,

 ![Screenshot 2025-06-18 alle 10.05.42](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/5/45631fd18f214c784eded6f4609bc6235f664dda.jpeg)  
 ![Screenshot 2025-06-18 alle 10.05.53](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/7/07c7f0d74f390fdba030d7e3cead010ad3834a0e.png)

I know the formula is wrong, but I’m lost here…

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/96552_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [June 18, 2025, 8:19am UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511/24 "2025-06-18T08:19:46Z")

</div>

Where are you getting “Lookup Number” from?

---

<div class="post-metadata">

**Author:** ![marcoreda](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@marcoreda](https://community.glideapps.com/u/marcoreda)\
**Post date:** [June 18, 2025, 2:33pm UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511/25 "2025-06-18T14:33:56Z")

</div>

from the “related days” row

---

<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:** [June 19, 2025, 1:12am UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511/26 "2025-06-19T01:12:21Z")

</div>

If one row is always representing one day, you can:

- Use a relation that matches all related days for a trip.
- Create a lookup on top of that relation to return all rowIDs (add a rowID column if you haven’t added it).
- Add a Find Element Index column, find the current row’s rowID in the lookup of IDs above.
- It will give you a 0-based (0, 1, 2, 3) list. Add a math column with the formula being Index + 1 to get you to a 1-based list of numbers.

---

<div class="post-metadata">

**Author:** ![marcoreda](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@marcoreda](https://community.glideapps.com/u/marcoreda)\
**Post date:** [June 19, 2025, 1:36pm UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511/27 "2025-06-19T13:36:43Z")

</div>

> [@ThinhDinh](#):
>
> - Use a relation that matches all related days for a trip.
> - Create a lookup on top of that relation to return all rowIDs (add a rowID column if you haven’t added it).
> - Add a Find Element Index column, find the current row’s rowID in the lookup of IDs above.
> - It will give you a 0-based (0, 1, 2, 3) list. Add a math column with the formula being Index + 1 to get you to a 1-based list of numbers.

Dear Thinh, thank you, your formula seems to be perfect, but I’m in a loop of wrong rows and I sincerely feels stucked. May I share the csv file with someone who can help me to overcome this?

---

<div class="post-metadata">

**Author:** ![marcoreda](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@marcoreda](https://community.glideapps.com/u/marcoreda)\
**Post date:** [June 19, 2025, 1:55pm UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511/28 "2025-06-19T13:55:44Z")

</div>

I’ve created your rows and formulas, but it seems not working, I made some mistake for sure, and it seems I’m so confused that I not able to see the problem who’s probably right in front of me. Please help me.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/96552_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [June 19, 2025, 2:40pm UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511/29 "2025-06-19T14:40:58Z")

</div>

It’s hard for us to point out where you went wrong if you don’t show us what you did.

Please share a screenshot of the configuration each column.

---

<div class="post-metadata">

**Author:** ![marcoreda](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@marcoreda](https://community.glideapps.com/u/marcoreda)\
**Post date:** [June 19, 2025, 2:45pm UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511/30 "2025-06-19T14:45:13Z")

</div>

I know, but I don’t want to spam you with several screenshots. Maybe I can share the csv file? If not, I will share the screenshots

---

<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:** [June 19, 2025, 2:57pm UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511/31 "2025-06-19T14:57:23Z")

</div>

Nothing wrong with screenshots. It’s hard to help without fully understanding what you are seeing. Screenshots tell us things that you may not think to ask or notice.

---

<div class="post-metadata">

**Author:** ![marcoreda](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@marcoreda](https://community.glideapps.com/u/marcoreda)\
**Post date:** [June 19, 2025, 3:48pm UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511/32 "2025-06-19T15:48:45Z")

</div>

Of course. Well, let’s go with screenshots. First screenshot will be all the rows of the data/days, then the settigns of the last three, that in my mind, based on the suggestions of ThinhDhin, could work.

 ![Screenshot 2025-06-19 alle 17.42.20](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/4/54d34a9fff72b28e4fa530a2f309e2c473cdd5b2.png)  
 ![Screenshot 2025-06-19 alle 17.42.33](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/d/bdeb52149e0aee6590db1aa5d10700bef8d5855d.jpeg)  
 ![Screenshot 2025-06-19 alle 17.43.04](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/d/3d9851e6df5f117f6de616bc27ffbafa1e3f0443.jpeg)  
 ![Screenshot 2025-06-19 alle 17.43.17](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/a/9a525b969e4ca43c6fbe4788bec3698c319fd954.png)  
 ![Screenshot 2025-06-19 alle 17.43.39](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/6/a6198a3094d9c0cb2a9e2eae9bd5fe965a6e08ec.png)  
 ![Screenshot 2025-06-19 alle 17.43.51](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/a/7a9e0d5deb51e34f4c77127118a17dc6a73005e4.png)  
 ![Screenshot 2025-06-19 alle 17.44.02](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/5/956332a792fb6b2f344e90486b75b9271d5748a7.png)

---

<div class="post-metadata">

**Author:** ![marcoreda](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@marcoreda](https://community.glideapps.com/u/marcoreda)\
**Post date:** [June 19, 2025, 3:51pm UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511/33 "2025-06-19T15:51:12Z")

</div>

If you think it’s something due to the Glide free version limits (I mean, apart from my errors), and you think the Explorer subscription can give me more instruments to simplify all the process, please let me know. Eternally grateful.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/96552_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [June 19, 2025, 3:56pm UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511/34 "2025-06-19T15:56:46Z")

</div>

The first thing that jumps out at me is that your Find Element Index column is misconfigured.  
You should be finding the RowID, not the TripID.  
That column should have an incrementing number in each row, starting from zero.

Fix that first, and let us know if it’s still not working.

> [@marcoreda](#):
>
> If you think it’s something due to the Glide free version limits

It’s not. The technique that @ThinhDinh described can be applied on any plan.

---

<div class="post-metadata">

**Author:** ![marcoreda](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@marcoreda](https://community.glideapps.com/u/marcoreda)\
**Post date:** [June 19, 2025, 5:16pm UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511/35 "2025-06-19T17:16:05Z")

</div>

Understood. You mean I’ve to put RowID in the highlighted field? Because I’m not able to find it in the available fields selection in the row configuration. Maybe I’ve to create another column that get the RowID and be visible?

 ![Screenshot 2025-06-19 alle 19.13.05](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/9/6965e5c1e13d114a35e20983ccc7f0a72417c233.png)

---

<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:** [June 19, 2025, 10:53pm UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511/36 "2025-06-19T22:53:22Z")

</div>

You have to add a rowID column to that table first.

 ![Screenshot 2025-06-19 alle 17.43.39](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/6/a6198a3094d9c0cb2a9e2eae9bd5fe965a6e08ec.png)

Then reference it in the lookup. You’re still using the tripID here.

Finally, as Darren said, reference the rowID to find it in Find Element Index.

---

<div class="post-metadata">

**Author:** ![marcoreda](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@marcoreda](https://community.glideapps.com/u/marcoreda)\
**Post date:** [June 19, 2025, 11:13pm UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511/37 "2025-06-19T23:13:37Z")

</div>

Great. Thank you so much. Everything works and now the column has the number in sequence, but…

 ![Screenshot 2025-06-20 alle 01.06.39](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/a/da470954034e5df7f8017a69ee193d5fcf482226.jpeg)  
 ![Screenshot 2025-06-20 alle 01.11.17](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/0/5044a1a4795c979685e73f850c122f9306c112ff.png)

But they are not separated for trip. I mean, any different trip has a number of days, 1, 2, 3, 4  
for the first trip, from 1 to 8 for the second, and so on, but as you can see in screenshot the result is a global count of the days. How can I keep them separate? (maybe a problem with the RowID in data/days who has a diffrent ID for each days, instead a different ID for any trip?)

---

<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:** [June 19, 2025, 11:42pm UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511/38 "2025-06-19T23:42:35Z")

</div>

> [@marcoreda](#):
>
> for the first trip, from 1 to 8 for the second, and so on, but as you can see in screenshot the result is a global count of the days. How can I keep them separate? (maybe a problem with the RowID in data/days who has a diffrent ID for each days, instead a different ID for any trip?)

 ![Screenshot 2025-06-19 alle 17.43.39](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/6/a6198a3094d9c0cb2a9e2eae9bd5fe965a6e08ec.png)

Did you do this as “Related Days \> RowID” or just point it straight to the RowID column? It should go through the relation.

---

<div class="post-metadata">

**Author:** ![marcoreda](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@marcoreda](https://community.glideapps.com/u/marcoreda)\
**Post date:** [June 19, 2025, 11:57pm UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511/39 "2025-06-19T23:57:17Z")

</div>

Do you mean this row?

 ![Screenshot 2025-06-20 alle 01.56.42](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/4/443f9c92479e030f0794607415980094caed1ba2.jpeg)

---

<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:** [June 20, 2025, 12:43am UTC](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511/40 "2025-06-20T00:43:20Z")

</div>

Yes, it should be Related Days \> RowID.

[Previous page](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511.md?page=1)

[Next page](https://community.glideapps.com/t/travel-app-w-trips-days-and-activities/82511.md?page=3)
