Hyperlink function do not support Dynamic Arrays

New Contributor

Hi,
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

3 Replies
Hi

did you find a solution or workaround?

thx in advance!

@RonenBitmn 

...to the fast :))

=hyperlink(a1:a3,b1)

or use Dynamic Hyperlinks

...see the attached file.

 

 

I would be happy to know if I could help.

Nikolino

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.

@RonenBitmn 

Maybe try inserting an @ symbol:

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

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:

 

lori_m_2-1627994272688.png

 

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:

CONCATENATE(Text1,[Text2],...)

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?