is there a way to use RC notation in the IMPORTRANGE function? What I need to do is to import a certain column, which I'm finding using MATCH in the first row (headers)
=importrange("linktosheet","sheet!c" & match(importrange("linktosheet","sheet!1:1"),"headername") ) <- which would return the n-th column
what i tried to do is to use CHAR to get the column letter from the MATCH value, but it means i have to repeat the MATCH function twice plus it works up to column Z, i would need to add another function to do two-letter columns.
another way would be to use hlookup or something but i'm afraid that would be very inefficient
There must be a tidier solution, right?
Thanks!