To work more dynamic, I want to exchange my existing IMPORTRANGE()
formulas in my sheet with my importrange-variables, where each unique IMPORTRANGE()
function is stored in their own named-range, to make the code on my other sheet a little bit more flexible and clearer in case any import range changes. So I basically want to reference a formula stored in another cell/named-range. I found some solutions but nothing that deals with a IMPORTRANGE()
function. I'm currently having that:
# Indexmatch with importrange
=INDEX(IMPORTRANGE("https://docs.google.com/spreadsheets/d/UTvlsienwl30slslielswpeowIUILEN/edit", "my_first_named_range"), MATCH(K65, IMPORTRANGE("https://docs.google.com/spreadsheets/d/UTvlsielwieoeneIlswpeowIUILEN/edit", "my_second_named_range"), 0), 12)
named range (single cell) / import_ref_01
IMPORTRANGE("https://docs.google.com/spreadsheets/d/UTvlsienwl30slslielswpeowIUILEN/edit", "my_first_named_range")
named range (single cell) / import_ref_02
IMPORTRANGE("https://docs.google.com/spreadsheets/d/UTvlsielwieoeneIlswpeowIUILEN/edit", "my_second_named_range")
Expected result:
=INDEX(import_ref_01, MATCH(K65, import_ref_02, 0), 12)
EDITABLE SAMPLE SHEET WHERE DATA IS IMPORTED:
EDITABLE SAMPLE SHEET OF THE SOURCE TABLE: