Forum Discussion
YeBoldeSquirrel
Mar 02, 2023Copper Contributor
Spilling an array with hyperlinks
I want to spill an array that includes hyperlinks to various places in the workbook. In principle something like this:
=MAKEARRAY(3; 3;
LAMBDA(Row; Col;
HYPERLINK("#R" & Row & "C" & Col; "click")
)
)
But something is off. A 3x3 array is spilled with clickable hyperlinks in each cell - but the hyperlinks all take me to A1 (R1C1). Clicking on the bottom right cell should take me to R3C3, for instance. What's wrong?
5 Replies
Sort By
- blakezCopper Contributor
Is there any fix for the desktop version?
- LazloPCopper Contributor
No... I wish Microsoft would fix this!
- dscheikeyBronze Contributor
Your formula works for me (Excel for the Web / English regional settings).
These formulas all lead to the same result:
=MAKEARRAY(3,3,LAMBDA(Row,Col,HYPERLINK("#R"&Row&"C"&Col,"click"))) =LAMBDA(Row,Col,HYPERLINK("#R"&Row&"C"&Col,"click"))(SEQUENCE(3),SEQUENCE(1,3)) =LAMBDA(Row,Col,HYPERLINK("#R"&Row&"C"&Col,"click"))({1;2;3},{1,2,3}) =HYPERLINK("#R"&{1;2;3}&"C"&{1,2,3},"click")
- YeBoldeSquirrelCopper ContributorThanks! This is surprising, I just tested it with Excel Online, and indeed it works as intended. But the same thing doesn't work properly when opened with standard desktop Excel! Now I'm assuming some sort of bug here...
- YeBoldeSquirrelCopper ContributorI now tested this with Excel on the iPad, and it works as intended - just as in Excel for the Web. There clearly seems to be a bug in desktop Excel when handling hyperlinks in arrays.