For years, I solved complex spreadsheet problems the same way: adding helper columns, stacking increasingly nested formulas, ...