Home Privacy Policy Feedback Link to us Site Map Forums

Excel: Hyperlink Function


In Excel, the Hyperlink function creates a shortcut to a file or Internet address.

The syntax for the Hyperlink function is:

Hyperlink ( link, display_name )

link is a path to the file or the URL to the Internet address.

display_name is optional. It is the value that appears in the cell. If this parameter is omitted, then the link will appear in the cell.


Applies To:

  • Excel 2007, Excel 2003, Excel XP, Excel 2000

For example:

In our first example, we're using the Hyperlink function to reference a file called "Doc1.doc" that can be found in the c:\test\ directory. The following formula has been entered in cell A1:

=Hyperlink("c:\test\Doc1.doc","Test document")

When a user clicks on cell A1, the Word document called "Doc1.doc" will automatically open.


In our second example, we're using the Hyperlink function to reference an Internet address. The following formula has been entered in cell A1:

=Hyperlink("http://www.techonthenet.com","Tech on the Net")

When a user clicks on cell A1, the default web browser will open to the site called www.techonthenet.com.