I am trying to create dynamic ranges to be used for excel charts. I have the following range: =OFFSET(O7,0,0,1,COUNTA($O$5:$X$5))
cell o7 is expected to change. I have created the following formula to find the starting cell =CELL("ADDRESS",INDEX(N6:N14,MATCH("AC",N6:N14,0))) as result, it gives $n$7
however, when I tried to blend the second one in the first one, I receive an error.
My question is, starting from the first range (offset), how can I make the cell o7 variable possibly using an index formula?
Than you
=INDEX(O6:X14,MATCH("AC",N6:N14,0),SEQUENCE(,COUNTA($O$5:$X$5))?0in place of the whole SEQUENCE() function. The third criterion of INDEX is the column(s).0returns them all, while an array of numbers will return those columns.