Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to maintain absolute cell address even when deleting ranges?

In a google sheet linked with a google form, I am putting

=ARRAYFORMULA(Responses!$A$2:R500)

in a blank sheet(namely dataList) to copy raw data from the response sheet so it is more readable and manageable.

After submitting some test data, I need to clear them and publish the form for production use. If I simply select the rows and hit "delete" on my keyboard, when new submission comes in, it will not appear on the first row(or row 2), instead it remembers how many rows there were and put the new data on the next row, thus leaving the first rows blank on both of the sheets, which is unacceptable. So I select the rows with test data in the sheet Response and delete the rows:
enter image description here

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Now when new submission comes in, it does appear on row 2 in Sheet Response; however, when I go to my "dataList" sheet, it is like this
enter image description here

The A1 notation which is supposed to be absolute has been altered, hence my dataList sheet doesn’t get the new submission data from sheet Response.

How to deal with this unwanted behavior?

>Solution :

you can freeze it like:

=INDIRECT("Responses!A2:R500")

instead of your:

=ARRAYFORMULA(Responses!$A$2:R500)
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading