Copilot for Microsoft 365 Tech Accelerator
Feb 28 2024 07:00 AM - Feb 29 2024 10:30 AM (PST)
Microsoft Tech Community

Hyperlink function do not support Dynamic Arrays

Copper Contributor

tried a very simple sheet where cell a1..a3 are links and cells b1..b3 are friendly names
the formula hyperlink(a1:a3,b1:b3) shows the hyperlinks correctly but not the friendly names
anyone have a workaround?
thanks in advance

5 Replies

did you find a solution or workaround?

thx in advance!

@RonenBitmn the fast :))


or use Dynamic Hyperlinks

...see the attached file.



I would be happy to know if I could help.


I know I don't know anything (Socrates)


* Kindly Mark and Vote this reply if it helps please, as it will be beneficial to more Community members reading here.


Maybe try inserting an @ symbol:


To make backward compatible perhaps use a relative name ThisRow:=R (in R1C1 notation):

=HYPERLINK(ThisRow A1:A3,B1:B3)


Note the Function Wizard can provide clues to the behaviour in such cases. Without using an intersection operator one sees arrays in the Friendly name and Result but not Link_Location:




Using bold type for arrays the function could therefore be written as:

HYPERLINK(Link_Location, Friendly_name

Entering an array in Link_Location results in a nested array which gets truncated by the calc engine. 


Compare with a function like CONCATENATE which only shows single value results:


Then arrays are handled in the normal way.


Not sure why HYPERLINK has this signature, perhaps it was originally designed to allow for text inputs longer than 255 characters in Excel 2003 versions and prior?

Wrap the hyperlink function around an index array function. 
for example, where SHEETNAMES is an Array of the form $A$1# containing an array of sheet names for the workbook:


this however wont create the automatic formatting for a hyperlink, you may need a conditional format to achieve this.
I can't answer why this works, but it worked for me (Office 365)

@Andrew Phillips 

That's an interesting observation. For me this version also works fine:


but replacing the SHEETNAMES range reference with an array such as {"Sheet1","Sheet2","Sheet3"} doesn't preserve spilled links. The INDEX suggestion also doesn't solve the posted question for me i.e. spilling friendly name.