Yes.

And if you name the data tbl, you can simplify the formula to

=INDEX(tbl, MOD(E2-1, ROWS(tbl)) + 1, INT((E2-1) / ROWS(tbl)) + 1)