Claudine B
New member
hi,
I would like to insert a Name via a formula to obtain a Dynamic Range, the range should end with last column (fixed) and last row (flexible and retrievable via 99^99)
I have 1 file where that works, it's an exercise file of a book that I bought - M is for (DATA) Monkeyhereby
the description of the formulas in parts
=MATCH(99^99;$A:$A) result is a number, 42, which is the last row of column A
=INDEX($F:$F;MATCH(99^99;$A:$A)) result is the value of the last row 42 (outcome of match) in column F
=!$A$5:INDEX($F:$F;MATCH(99^99;!$A:$A)) this is the formula in the name manager, as result, name range is A5 : F42
but I have an error, for another file, where I actually want to use this the first step, the match, already gives #N/A as an outcome
what can be the reason for this?
I am aware that this dynamic range could be replaced by a table which is dynamic at once, but I can't because I don't want to have new table formats
Kr Claudine
I would like to insert a Name via a formula to obtain a Dynamic Range, the range should end with last column (fixed) and last row (flexible and retrievable via 99^99)
I have 1 file where that works, it's an exercise file of a book that I bought - M is for (DATA) Monkeyhereby
the description of the formulas in parts
=MATCH(99^99;$A:$A) result is a number, 42, which is the last row of column A
=INDEX($F:$F;MATCH(99^99;$A:$A)) result is the value of the last row 42 (outcome of match) in column F
=!$A$5:INDEX($F:$F;MATCH(99^99;!$A:$A)) this is the formula in the name manager, as result, name range is A5 : F42
but I have an error, for another file, where I actually want to use this the first step, the match, already gives #N/A as an outcome
what can be the reason for this?
I am aware that this dynamic range could be replaced by a table which is dynamic at once, but I can't because I don't want to have new table formats
Kr Claudine