问题
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