I have an index/match formula that matches a specific file based on the date value of certain cells. Here\'s the formula:
=IFERROR(INDEX(INDIRECT(\"\'\"&
Here's another solution, albeit one that is computationally expensive: pass the range to be considered in the calculation to the function. That way, any time that a value changes in the passed range or that the range itself changes (such as inserting a row within the range), the formula is recalculated.
Example: Try this simple function.
function testPassRange( calcRange )
{
return calcRange.length ;
}