In XL2007:
Thanks to this forum I learned about INDIRECT.EXT. I'm stumped, though, when it returns the #VALUE error. If I use Formula Auditing, Evaluate Formula, to step through an AVERAGEIF function referring to a named range, each step but the last proceeds without error. The final evaluation of the function shows an array retrieved from the closed file. [Error is independent of settings for volatile and style.] The calculation is correct, though, if the file is open (it shows a range rather than an array during evaluation)!
If I perform the same steps on an otherwise identical function using the original INDIRECT function the final step shows a range being retrieved rather than an array.
Because I use a set of file names where the named range may have different addresses it is not possible to convert the formula to A1 style addressing. edit: Using a range, e.g., B13:O13 also returns an array when file is closed, so this is not a solution anyway
Any clues on how to get the two functions to behave identically?
Thanks.
g
Bookmarks