S
Steve Haack
I want to use the INDEX function to lookup data in an array. I have several
ranges defined as tables, and have named them tblScottsScores,
tblStevesScores, etc.
I want to use INDEX to lookup data in those tables, which I can do when I
use those table names as the first parameter in the INDEX formula.
What I need to do though, is not hardcode the name of the table in the INDEX
formula. I want to build it on the fly by reading the person's name from
another table and then concatenating it with text to create the name of the
table. For example, I want to do something like this (the name Scott is in
Cell A1, for simplicity):
INDEX("tbl" & A1 & "Scores", MATCH.......
What is the syntax for me to be able to build that array name for the first
parameter in the INDEX formula?
Thanks,
Steve
ranges defined as tables, and have named them tblScottsScores,
tblStevesScores, etc.
I want to use INDEX to lookup data in those tables, which I can do when I
use those table names as the first parameter in the INDEX formula.
What I need to do though, is not hardcode the name of the table in the INDEX
formula. I want to build it on the fly by reading the person's name from
another table and then concatenating it with text to create the name of the
table. For example, I want to do something like this (the name Scott is in
Cell A1, for simplicity):
INDEX("tbl" & A1 & "Scores", MATCH.......
What is the syntax for me to be able to build that array name for the first
parameter in the INDEX formula?
Thanks,
Steve