Hyperlink Excel Function

Publication Date :

Blog Author :

Edited by :

Download FREE Hyperlink Function Excel Template and Follow Along!
Hyperlink Function Excel Template.xlsx

Table Of Contents

arrow

Examples

Let us consider a few examples to understand the working of the HYPERLINK function in Excel.

To send an email using a hyperlink, follow the listed steps:

  1. Open the HYPERLINK function by typing =HYPERLINK in Excel.
  2. Prefix “mailto:” (within double quotation marks) to an email address. Use the ampersand operator to join this prefix and the cell containing the email address. This serves as the “link_location” argument.
  3. Close the parentheses and press the “Enter” key.

The HYPERLINK formula is displayed in cell C2 of the following image.

Hyperlink EXAMPLE 1-2

Result of the HYPERLINK formula: The prefix along with the entire address (mailto:sumit@e2esols.com) will be displayed as a hyperlink. Since the “friendly_name” argument has been omitted in the HYPERLINK formula, the “link_location” is used as the jump text.

Clicking the created hyperlink will open the “compose” page of the default email account. The given email address will be automatically entered in the “To” field. This field contains the email address of one or more recipients.

Likewise, the HYPERLINK formula has been applied to cells C3 and C4. The outputs of the HYPERLINK formulas are displayed in these cells. Notice that the “friendly_name” has been omitted for the hyperlinks of these cells as well.

Note: “Mailto” links are used in HTML to send emails from the default mail client of the user. The address mentioned in the “mailto” link is considered to belong to the intended recipient.

To switch to a different worksheet within the same workbook via a hyperlink, follow the listed steps:

  1. Open the HYPERLINK function by typing =HYPERLINK in Excel.
  2. Prefix the hash (#), followed by the name of the worksheet, the exclamation mark (!), and the cell reference of the intended location. This serves as the “link_location” argument.
  3. Enter the jump text enclosed within double quotation marks.
  4. Close the parentheses and press the “Enter” key.

The HYPERLINK formula is displayed in cell C5 of the following image.

Hyperlink EXAMPLE 1-3

Result of the HYPERLINK formula: A hyperlink with jump text “to Example1” will be created. Clicking this hyperlink will take the user to cell A1 of the worksheet “Example1.” In this way, one can move within a workbook through hyperlinks.

Likewise, the hyperlinks of cells C6 and C7 will take the user to the intended locations given in cells B6 and B7 respectively.

Therefore, hyperlinks can be used to link the table of contents of a workbook to the different areas of worksheets.

Alternate Method to Switch Between the Worksheets

This section lists the alternative steps to the preceding method. The steps to switch to a different worksheet (within the same workbook) by using a hyperlink are listed as follows:

  1. Type the jump text in a cell. Next, select this cell.
  2. Click the “hyperlink” option from the “links” group of the Insert tab.
  3. The “insert hyperlink” dialog box opens. Under “link to” displayed on the left side, select “place in this document.”
  4. In “text to display,” Excel automatically displays the selected jump text. In “type the cell reference,” enter the cell reference of the intended location.
  5. Under “or select a place in this document,” choose the worksheet where the user would be taken.
  6. Click “Ok.”

The “insert hyperlink” dialog box is shown in the following image. In this case, clicking the jump text “Sheet Example1,” will take the user to cell A1 of worksheet “Example3.”

Hyperlink EXAMPLE 1-4

To open a file through a hyperlink, follow the listed steps:

  1. Open the HYPERLINK function by typing =HYPERLINK in Excel.
  2. Enter the reference to a cell containing the full path of the file. The path should include the location, name, and extension (like .docx, .xlsx, .pptx, and so on) of the file. This serves as the “link_location” argument.
  3. Enter the jump text enclosed within double quotation marks.
  4. Close the parentheses and press the “Enter” key.

The HYPERLINK formula is displayed in cell C3 of the following image.

Hyperlink EXAMPLE 1-5

Result of the HYPERLINK formula: A hyperlink with jump text “NVP Function” is created. Clicking this hyperlink opens the file titled “NPV function.” This file is currently stored on the desktop of the user.

Likewise, the hyperlink of cell C4 opens an image having the “.jpg” extension. The hyperlink of cell C5 opens a Word document titled “top advanced excel formulas and functions.”

Frequently Asked Questions (FAQs)

1

1. Define the HYPERLINK function of Excel with the help of an example.

Arrow down filled
2

2. How to use the HYPERLINK function in Excel?

Arrow down filled
3

3. Where is the “hyperlink” button and how is it used to add a hyperlink in Excel?

Arrow down filled