Forum Discussion
Rod_Sims
Sep 16, 2022Copper Contributor
Working with Arrays
There may well be a simple solution to this, but I've search far and wide and can't find how Excel can achieve this outcome. I have an array of numbers stored in A1:G10. I'm trying to retrieve the ...
- Sep 16, 2022
Rod_Sims The basic formula would look like this:
=INDEX(A1:G10,3,4)where you can replace the 3 and 4 with references to cells that contain these numbers.
Riny_van_Eekelen
Sep 16, 2022Platinum Contributor
Rod_Sims The basic formula would look like this:
=INDEX(A1:G10,3,4)where you can replace the 3 and 4 with references to cells that contain these numbers.
PeterBartholomew1
Sep 17, 2022Silver Contributor
For your amusement, something I occasionally do is to wrap the INDEX function within a Lambda function to create a more conventional programming syntax
Worksheet formulae
= MyArray(3,4)
= MyArray(3, )
= MyArray( ,4)
= MyArray( )
MyArray
= LAMBDA([r], [c],
INDEX(Sheet1!$A$1:$G$10, r, c)
);