google-sheets-what-if-analysis
google-sheets-what-if-analysis copied to clipboard
Delete All Data Tables doesn't delete named ranges
So I have to manually delete the named ranges before recreating the data tables. I think this is due to line 142 in WhatIfAnalysis.gs looking for the index of a name in an array of NamedRange objects (not their names). This returns -1 so the ranges are not deleted.