I am trying to build an Index formula. I have the first part of the range, can I use address to get the rest of the range?
so I have A1 to start
so I am thinking index(A1: and then the address function to fill in the second part of the range.
This produces an error
any thoughts?
so I have A1 to start
so I am thinking index(A1: and then the address function to fill in the second part of the range.
Code:
index(A1:&IF(ISERROR(ADDRESS(ROW(INDEX(G:G,MATCH("XXX",G:G,0))),COLUMN(INDEX(G:G,MATCH("XXX",G:G,0))))),ADDRESS(ROW(INDEX(G:G,MATCH("YYY",G:G,0))),COLUMN(INDEX(G:G,MATCH("YYY",G:G,0)))),ADDRESS(ROW(INDEX(G:G,MATCH("XXX",G:G,0))),COLUMN(INDEX(G:G,MATCH("XXX",G:G,0)))))
This produces an error
any thoughts?