You don't have to do it manually.
BYROW replaces thousands of table formulas with one spill formula, making spreadsheets leaner and much more robust.