Forum Discussion
Hyperlink function do not support Dynamic Arrays
Thanks for sharing - no way I'd ever have thought of that! This INDEX method seems to provide a generic approach for spilling a HYPERLINK formula with column arrays in both arguments. To improve efficiency I guess you could replace the XMATCH part with a range id column (C1#).
My approach would have been to make the link_location parameter relative to the current row, e.g.
=HYPERLINK("#"&ADDRESS(ROW(),COLUMN(A1#)),B1#)
=HYPERLINK("#r[0]c"&COLUMN(A1#), B1#)
These both look ok on office desktop but the second one seems to have an issue on web version.
I will have to remember to also test on the web version.
As for the XMATCH that seemed to be part of the 'trick' to make it work but I will have to try the ROW(). In my actual case it was even more complicated because I wanted a TRANSPOSE to also happen so the link spill was in a row while the link targets was in a column.
- lori_mMay 07, 2025Iron Contributor
As per latest response, I think you can try entering in e.g. H2,
=HYPERLINK(INDEX("#"&ADDRESS(ROW(A1#),COLUMN(A1#)),ROW()-ROW(H2)+1,1),B1#)