ShepDubVegas
New Member
- Joined
- Aug 1, 2017
- Messages
- 4
I have a number of defined arrays in a workbook and would like to refer to them depending on contents of a cell.
e.g. I have 4 different arrays defined as Array1, Array2, Array3 and Array4. Cell A2 contains a formula that will return a value corresponding to the name of one of those arrays (ie Array1, Array2, Array3 or Array4). I then have a formula in another cell (Say B2) that wants to use that value to look up the correct array, e.g. INDEX(A2,.....), where rather than A2 as the array, it is the value in A2 that is used to define the array.
Hope this makes sense and someone can help! Many thanks in advance.
e.g. I have 4 different arrays defined as Array1, Array2, Array3 and Array4. Cell A2 contains a formula that will return a value corresponding to the name of one of those arrays (ie Array1, Array2, Array3 or Array4). I then have a formula in another cell (Say B2) that wants to use that value to look up the correct array, e.g. INDEX(A2,.....), where rather than A2 as the array, it is the value in A2 that is used to define the array.
Hope this makes sense and someone can help! Many thanks in advance.