In Microsoft Excel, the HYPERLINK worksheet function allows you to
create a hyperlink in a worksheet cell. The HYPERLINK function accepts
the following two arguments:
Argument Description
-------------------------------------------------------------------
link_location the path and file name, or URL, you want to link to
friendly_name the text that should appear in the cell
The friendly_name argument can be a text string, a defined name, or any
other expression that returns a value.
If the value of the friendly_name argument returns an error value, the
hyperlink does not work when you click it. The following are example formulas that demonstrate this problem.
Example 1: #VALUE! error
The following hyperlink fails because the expression 1+"Alpha" returns a #VALUE! error:
=HYPERLINK("http://msnbc.com",1+"Alpha")
Example 2: #NAME? error
The following hyperlink fails if the defined name "Bravo" doesn't exist, because the second argument returns a #NAME? error:
=HYPERLINK("http://msnbc.com",Bravo)
Example 3: #DIV/0! error
The following hyperlink fails if the mathematical expression returns any kind of error, such as #DIV/0!:
=HYPERLINK("http://msnbc.com",A1/B1)