News for hackers. Stuff that matters.
Re:Technical error with Excel.swapped names.Andreas Babler e... by HPsquared on Monday June 05, 2023 @12:32PM (#36198794)
There are certainly a lot of good practices such as ensuring any formulas are compatible with "fill down". It'd make for a nice standard, like MISRA C.

If you wanted automatic formula auditing, I'd recommend using R1C1 reference style so formulas using relative references are independent of the cell's location, then use FORMULATEXT function, and an array formula applied over the whole range you want to check.

Then you could be sure.

Re:Technical error with Excel.swapped names.Andreas Babler e... by MonkeyClub on Monday June 05, 2023 @12:59PM (#36199292)
> If you wanted automatic formula auditing, I'd recommend using R1C1 reference style so formulas

That's indeed one of the basic suggestions in Spolsky's "You Suck At Excel":

https://www.youtube.com/watch?v=0nbkaYsR94c