Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Google Sheets: RC notation in IMPORTRANGE

$
0
0

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!


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>