# Sheet formula is not working on newly created row

**URL:** <https://community.glideapps.com/t/sheet-formula-is-not-working-on-newly-created-row/9941>\
**Category:** Ask for Help\
**Created:** [May 28, 2020, 5:31pm UTC](https://community.glideapps.com/t/sheet-formula-is-not-working-on-newly-created-row/9941 "2020-05-28T17:31:59Z")\
**Posts on this page:** 1\
**Showing post:** 16

<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:** [May 29, 2020, 7:31am UTC](https://community.glideapps.com/t/sheet-formula-is-not-working-on-newly-created-row/9941/16 "2020-05-29T07:31:35Z")

</div>

You can’t use Arrayformula with a custom script.

Check out the script I wrote in this post and write a custom one for your case so that it can copy to the new rows.

> [@Tutorial: Arrayformula in Google Sheets, good practices & how to overcome Arrayformula restrictions with scripts](https://community.glideapps.com/t/tutorial-arrayformula-in-google-sheets-good-practices-how-to-overcome-arrayformula-restrictions-with-scripts/9727):
>
> Hi, Today I will show you the script that can make copying formulas down work, when it does not work with arrayformula. But first, let’s have some introductions about arrayformula, for those who has not used this before in Google Sheets, some equivalents in Glide and some good practices while using it. I hope it can help you in building your Glide apps as well as applying it in your normal day job. 
> 
> > **1/ Definition**
> >
> > Arrayformula is defined as “a range, mathematical expression using one cell range …

---

_[View the full topic](https://community.glideapps.com/t/sheet-formula-is-not-working-on-newly-created-row/9941)._
