The formula deleted by Google Form entries (answers)

ε祈祈猫儿з 提交于 2020-05-30 07:54:33

问题


The Formula gets deleted once I get new answers submitted by customers!

Here is the test store: https://test-stoore21.myshopify.com/products/1st-product-title , add this product to cart and enter any random data to Shipping information form and click confirm, then check this Sheet:

https://docs.google.com/spreadsheets/d/1xoNPfIfrVv7jF8W3Pa67Iu9oJRz2NOncW7oLQ94mWQ4

As you can see the Formula in the CELL of F Column gets deleted once data comes in.

Any script or trick to avoid deleting the Formula when the data comes in?

Thank you in advance for your help!


回答1:


Change your formula to:

=IFNA(INDEX(TRIM(ARRAYFORMULA(SUBSTITUTE(SPLIT(REGEXEXTRACT($E2:$E, $F$1&"(.+)"), "]"), "[", )))), 0)

Place it in cell F2 and delete everything under it.

It is the ARRAY_CONSTRAIN that gives you troubles.



来源:https://stackoverflow.com/questions/62044869/the-formula-deleted-by-google-form-entries-answers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!