# PROBLEMS UPDATING VALUES IN A GOOGLE SHEET DATABASE

**URL:** <https://community.thunkable.com/t/problems-updating-values-in-a-google-sheet-database/3306905>\
**Category:** Issues / Bugs\
**Tags:** beginner, help\
**Created:** [October 28, 2024, 7:24pm UTC](https://community.thunkable.com/t/problems-updating-values-in-a-google-sheet-database/3306905 "2024-10-28T19:24:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aleisrael9591ytizd](https://avatars.discourse-cdn.com/v4/letter/a/b5e925/32.png) [@aleisrael9591ytizd](https://community.thunkable.com/u/aleisrael9591ytizd)\
**Post date:** [October 28, 2024, 7:24pm UTC](https://community.thunkable.com/t/problems-updating-values-in-a-google-sheet-database/3306905/1 "2024-10-28T19:24:42Z")

</div>

Good evening everyone, how are you? I’m making an app on the page and I’m having some problems doing something simple but since I’m still quite new I think I’m doing something stupid. What I want to do is to update a value that I have in a Google Sheet when I press a button. In fact, when I press the button I must delete several cells at the same time but I am trying to do it at least with one to understand why it is not working for me. I think I’m not setting the row id correctly or something. Below I put the images. Basically by pressing the button I must make all the cells empty again.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/2/42f400eeb90639a1b0debe0ea27283c3ba2082e4.png)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/3/a3dbe7cc6799f859f39de28d1104f6691817cde2.png)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [October 29, 2024, 12:51pm UTC](https://community.thunkable.com/t/problems-updating-values-in-a-google-sheet-database/3306905/2 "2024-10-29T12:51:12Z")

</div>

Hi @aleisrael9591ytizd , welcome to Thunkable! 🎉

The row id refers to the row by its integer position (1 for the first row, 2 for the second row, etc.) and must be greater than zero.

You will need a loop:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/8/486a384d06ab0cd70a15ca54e40d2e27b71e48ee.png)

Be sure to check out [How to ask Great Questions v2.0](https://community.thunkable.com/t/how-to-ask-great-questions-v2-0/2689983/1), the [Community Guidelines](https://community.thunkable.com/t/community-guidelines/78/8), and our [Getting Started Guide](https://docs.thunkable.com/getting-started/get-started) to make the best of your Thunkable Community experience!
