Please see Sheet1 of my spreadsheet:
https://docs.google.com/spreadsheets/d/1EoOIQxWyKWOvtlCrmJNI76FAxGhzgXrE4s0F05tw2MY/edit#gid=0
As an example, I would like t
With Update 2 you were really close to solve this issue. However, you had a typo, replace:
Update 2
rowAbove.ClearContent();
with
rowAbove.clearContent();
I hope this has helped you. Let me know if you need anything else or if you did not understood something. :)