# Handling Numerics when adding rows

**URL:** <https://community.glideapps.com/t/handling-numerics-when-adding-rows/65553>\
**Category:** Ask for Help\
**Created:** [August 29, 2023, 11:18pm UTC](https://community.glideapps.com/t/handling-numerics-when-adding-rows/65553 "2023-08-29T23:18:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gbigelowtutordoctor](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@gbigelowtutordoctor](https://community.glideapps.com/u/gbigelowtutordoctor)\
**Post date:** [August 29, 2023, 11:18pm UTC](https://community.glideapps.com/t/handling-numerics-when-adding-rows/65553/1 "2023-08-29T23:18:38Z")

</div>

I have two apps (related) using Google Sheets.

One has an issue with Numerics starting with 0 (zero) in that, despite the column being formatted as text the leading zero is stripped from mobile numbers and other numerics starting with zero and the formatting of those cells in th enew row is set to numeric, not text.

The problem does not exist in the second app. The only difference is the app without the problem has 1000 rows and only about 100 populated rows so the entire column is formatted. The second adds a new row at the bottom and only populated rows are present. I tried adding additional rows as in the other sheet but then new rows are added after the last empty row.

Rows are being added by a Jotform integration in both sheets. Jotform indicates formatting is controlled by Google Sheets.

Any idea why one sheet adds new rows after the last populated row in one sheet despite their being 1000 rows while the other one adds after the last row if I add extra blank rows?

---

<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:** [August 30, 2023, 1:08am UTC](https://community.glideapps.com/t/handling-numerics-when-adding-rows/65553/2 "2023-08-30T01:08:28Z")

</div>

It likely means there’s an arrayformula somewhere that makes the Sheet API thinks 1000 rows are populated, so it starts writing from 1001 onwards.

---

<div class="post-metadata">

**Author:** ![gbigelowtutordoctor](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@gbigelowtutordoctor](https://community.glideapps.com/u/gbigelowtutordoctor)\
**Post date:** [August 30, 2023, 3:22am UTC](https://community.glideapps.com/t/handling-numerics-when-adding-rows/65553/3 "2023-08-30T03:22:08Z")

</div>

Thanks. That is the problem. Can’t live without array formulae so will have to devise a way to reformat numbers so they don’t lose the zero

---

<div class="post-metadata">

**Author:** ![gbigelowtutordoctor](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@gbigelowtutordoctor](https://community.glideapps.com/u/gbigelowtutordoctor)\
**Post date:** [August 30, 2023, 3:43am UTC](https://community.glideapps.com/t/handling-numerics-when-adding-rows/65553/4 "2023-08-30T03:43:32Z")

</div>

All I had to do was place an input mask in the jotform with spaces so #### ### ### for phone and it is treated as text keeping the leading 0

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [September 6, 2023, 3:44am UTC](https://community.glideapps.com/t/handling-numerics-when-adding-rows/65553/5 "2023-09-06T03:44:26Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
