# Tennis app - put data into a specific cell

**URL:** <https://community.glideapps.com/t/tennis-app-put-data-into-a-specific-cell/76928>\
**Category:** Ask for Help\
**Created:** [October 8, 2024, 4:19pm UTC](https://community.glideapps.com/t/tennis-app-put-data-into-a-specific-cell/76928 "2024-10-08T16:19:05Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![McJose](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mcjose/32/73068_2.png) [@McJose](https://community.glideapps.com/u/McJose)\
**Post date:** [October 8, 2024, 4:19pm UTC](https://community.glideapps.com/t/tennis-app-put-data-into-a-specific-cell/76928/1 "2024-10-08T16:19:05Z")

</div>

Helloooo there!

I’m building a tennis app to manage tournaments

The point is: When the tournament start, the data of the match table is ok (lines 1-16):

 ![Captura de pantalla 2024-10-08 a las 18.13.53](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/f/5fdd5fd18ade5e07074c056d63a8fa937181e68b.jpeg)

In the tournament organizers dashboard I would like to add a button in each match that indicates the winner.  
The idea is that in match 1, when indicating the winner, I indicate the names in row 17 cell 6 (Winner O1), the winner of match 2 in row 18 cell 6 (Winner O2)

 ![Captura de pantalla 2024-10-08 a las 18.15.19](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/d/1d11d31331f06f14507cc4b0e49bf56f8643cece.jpeg)

Is there an action in Glide to be able to put data in a specific cell?

Many thanks in advance  
Jose

---

<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:** [October 8, 2024, 5:45pm UTC](https://community.glideapps.com/t/tennis-app-put-data-into-a-specific-cell/76928/2 "2024-10-08T17:45:18Z")

</div>

> [@McJose](#):
>
> Is there an action in Glide to be able to put data in a specific cell?

[Set column values](https://www.glideapps.com/docs/automation/actions/set-column-values)

> **[Set Column Value | Glide Docs](https://www.glideapps.com/docs/automation/actions/set-column-values)**
>
> Change column and row values.

---

<div class="post-metadata">

**Author:** ![McJose](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mcjose/32/73068_2.png) [@McJose](https://community.glideapps.com/u/McJose)\
**Post date:** [October 9, 2024, 3:52am UTC](https://community.glideapps.com/t/tennis-app-put-data-into-a-specific-cell/76928/3 "2024-10-09T03:52:57Z")

</div>

Thanks Nathan!

But I think that with that action I cannot achieve what I want.

I mean for example,

Is it possible to put an action from line 1 so that a piece of data from that line is placed in row 17 cell 5?  
Within an already created row. That is, it would be like telling Glide that the winner of match 1 (row 1 cell 5) should be indicated directly in row 17 cell 5 (where the rest of the cells: 1, 2, 3, 4, 6… already have the information). The winner of match 2 in row 18 cell 5. The winner of match 3 in row 19 cell 5…

I don’t mind creating an action per row, I just want to know if that possibility exists.

Thank you very much

---

<div class="post-metadata">

**Author:** ![Sekayi\_Liburd](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sekayi_liburd/32/77608_2.png) [@Sekayi\_Liburd](https://community.glideapps.com/u/Sekayi_Liburd)\
**Post date:** [October 9, 2024, 4:01am UTC](https://community.glideapps.com/t/tennis-app-put-data-into-a-specific-cell/76928/4 "2024-10-09T04:01:58Z")

</div>

hi @McJose, I believe what you want can be done but perhaps in a few steps.  
How do you determine the winner?

---

<div class="post-metadata">

**Author:** ![MegannLock](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/megannlock/32/19680_2.png) [@MegannLock](https://community.glideapps.com/u/MegannLock)\
**Post date:** [October 9, 2024, 4:04am UTC](https://community.glideapps.com/t/tennis-app-put-data-into-a-specific-cell/76928/5 "2024-10-09T04:04:32Z")

</div>

If you want to reference the winner of match 1 in rows/matches that come after, you’d want to use computed columns to achieve this I think. I’d imagine you’d need a helper column to indicate which match winners should also be displayed/connected to following matches. Then build a single relation on that helper & look up to display the previous winners. Are you trying to create a bracket view?

---

<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:** [October 9, 2024, 7:52am UTC](https://community.glideapps.com/t/tennis-app-put-data-into-a-specific-cell/76928/6 "2024-10-09T07:52:23Z")

</div>

> [@McJose](#):
>
> Is it possible to put an action from line 1 so that a piece of data from that line is placed in row 17 cell 5?

Can you tell us why you need that to be in line 17 instead of line 1?

---

<div class="post-metadata">

**Author:** ![McJose](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mcjose/32/73068_2.png) [@McJose](https://community.glideapps.com/u/McJose)\
**Post date:** [October 10, 2024, 5:00pm UTC](https://community.glideapps.com/t/tennis-app-put-data-into-a-specific-cell/76928/7 "2024-10-10T17:00:32Z")

</div>

Thank you ThinhDin, Megann and Seyaki 🫶🏻

I record this video to try to show you how the app works and the view for users and admins.  
[https://www.youtube.com/watch?v=rPeh0GI1ub0](https://www.youtube.com/watch?v=rPeh0GI1ub0)

Hope it will help 🙏🏻  
THANK U SO MUCH!

---

<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:** [October 11, 2024, 12:02am UTC](https://community.glideapps.com/t/tennis-app-put-data-into-a-specific-cell/76928/8 "2024-10-11T00:02:57Z")

</div>

I think you can set up a “next match” column for each row.

Say match 1’s winner will play in match 17, then your “next match” column will contain the value 17.

It’s not fully clear to me so I’m making a guess here, these are double matches and each of your match would consume 2 rows, each row containing the name of each pair in the Pareja column.

Then, if you have the “next match” setup correctly, you can:

- Add a query in that same table, filter by “Partido” is “This row \> Next match” and “Pareja” is empty.
- Add a single value column, select First \> Whole row from the Query above.
- When you select a winner from Match 1, do an extra set column action to the single whole row, setting the name of that winner to the Pareja column.
- This will work 2 times due to the “Pareja” is empty filter in the query, and effectively set 2 winners up to the next match’s 2 rows.

---

<div class="post-metadata">

**Author:** ![Sekayi\_Liburd](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sekayi_liburd/32/77608_2.png) [@Sekayi\_Liburd](https://community.glideapps.com/u/Sekayi_Liburd)\
**Post date:** [October 12, 2024, 3:58pm UTC](https://community.glideapps.com/t/tennis-app-put-data-into-a-specific-cell/76928/9 "2024-10-12T15:58:57Z")

</div>

I wish I could help more. I agree with @ThinhDinh 's suggestion to progress the match along the row by adding a winner’s column for the matches.  
I believe that since you have simultaneous results from other matches, the logic gets a little hairy…  
At the moment, all I can think of is adding multiple actions that populates the winners in various rows.  
For instance, for the first round, at the end of the match in line one, a winner button can set the name of the winner to the winner column, as well as add a row to a winners table (to feed a choice component). Then for the 2nd round of matches, you can have a choice component to select from the list of winners and write the selection to the relevant row.  
Not sure how easy it will be on the back-end with your current data structure. I’d probably want separate tables for the different rounds to minimize the chance of accidentally overwriting important information.
