# Problem updating Airtable cell with variable

**URL:** https://community.thunkable.com/t/problem-updating-airtable-cell-with-variable/46338
**Category:** Questions about Thunkable X
**Tags:** airtable
**Created:** [September 12, 2018, 8:00am UTC](https://community.thunkable.com/t/problem-updating-airtable-cell-with-variable/46338 "2018-09-12T08:00:09Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![alliocha1805](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/alliocha1805/32/12975_2.png) [@alliocha1805](https://community.thunkable.com/u/alliocha1805)
#### Post date: [September 12, 2018, 8:00am UTC](https://community.thunkable.com/t/problem-updating-airtable-cell-with-variable/46338/1 "2018-09-12T08:00:09Z")

</div>

Hi everyone,

I’m trying to do a Wow Farming app and my app has to do two things : display the number of items to farm and allow people to update that number .

The first part work like a charm but i have trouble when it comes to Updates a cell in Airtable

Here’s my block :

 ![block_sending](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/a/dae15fbe6e4ef6161a0a688cc4811c3bd95e83f4.PNG)

I have “random” results, sometimes the value of the variable is “Nan” sometimes 0 et sometime a random number (for example i’ve tried to send 888 and it logged 66 on air table)

Do i have a bug in my blocks ?

Thanks a lot 🙂

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [September 12, 2018, 12:47pm UTC](https://community.thunkable.com/t/problem-updating-airtable-cell-with-variable/46338/2 "2018-09-12T12:47:42Z")

</div>

Hi,

Make step-by-step debugging, displaying variable values on the screen. This will quickly help you see the problem.

---

<div class="post-metadata">

### Author: ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)
#### Post date: [September 26, 2018, 6:16pm UTC](https://community.thunkable.com/t/problem-updating-airtable-cell-with-variable/46338/3 "2018-09-26T18:16:53Z")

</div>

One thing to try would be to put your `'Spreadsheet1 call SetCell'` within the `'then do'` of your `'Spreadsheet1 call GetCell'` block somewhere after you set the `'envoi'` variable.

Good luck!

-Mark

---

<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: [November 8, 2024, 11:55am UTC](https://community.thunkable.com/t/problem-updating-airtable-cell-with-variable/46338/4 "2024-11-08T11:55:24Z")

</div>


