Stop your formulas from breaking by switching from grid-based coordinates (ROW) to stable table measurements (ROWS).
Let's see how the MAP function works.