formula - Use text from cell with Importrange Google Spreadsheets -
i've got 2 google spreadsheets documents. first document contains data per week , second document gives overview of data.
the sheets in first document named week. example: week 1, week 2, week 3, week 4...
the sheets in second document contain 1 cell witch has same text sheet names of first document. cell a1.
using importrange function want show data first (data) document in second (overview) document. importrange function looks this:
=importrange("https://docs.google.com/...; "week 1!c2:c5")
as can see have change sheet name reference manually. want change automatically using text in cell a1. should this:
=importrange("https://docs.google.com/...; "a1!c2:c5")
is possible or need script , how can make work?
sure, try it:
=importrange("https://docs.google.com/..., a1)
i recommemnd use named ranges (google it). allows type in "week1" cell a1, instead of "sheet3!a1:b343." without named ranges complex spreadsheet turn formulas indecipherable mess.
Comments
Post a Comment