HYPERLINK Formula – Clickable Link – Excel, VBA, & G Sheets

Written by

Editorial Team

Reviewed by

Steve Rynearson

Last updated on November 6, 2023
Download Example Workbook

Download the example workbook

This tutorial demonstrates how to use the Excel HYPERLINK Function in Excel to create a clickable link.

HYPERLINK Main Function

HYPERLINK Function 

The HYPERLINK Function creates a clickable shortcut which redirects users from one location to another. The location can be a cell/sheet in a workbook, another workbook, email address, file on the internet or a network server.

Once the hyperlink is created, the clickable shortcut or [friendly_name] is the text that displays instead of the entire URL.

HYPERLINK Function – Cell Reference

The HYPERLINK Function can jump to a cell reference within the same workbook.

=HYPERLINK("#T6", "Go to Cell T6")

HYPERLINK 01

HYPERLINK Function – Sheet Reference

Similarly, the HYPERLINK Function can also jump to a sheet reference within the same workbook.

=HYPERLINK("#'example3'!A1","Jump to Sheet example3")

HYPERLINK 02

HYPERLINK Function – File Location

Absolute Path

The HYPERLINK Function can open a different workbook or any file present on your system.

=HYPERLINK("X:\Book2.xlsx","Open Book2")

HYPERLINK 03

Note: the hyperlink will not work if you change file location

Relative Path

In case the file location is expected to change, we can use a relative path in the HYPERLINK Function.

=HYPERLINK("Excel files\Book3.xlsx","Open Book3")

HYPERLINK 07

HYPERLINK Function – Email Address

The HYPERLINK Function can send a message to a specific recipient.

=HYPERLINK("mailto:example@gmail.com","Drop us an email")

HYPERLINK 04

HYPERLINK Function – Webpage

The HYPERLINK Function can redirect users to a specific webpage.

=HYPERLINK("https://www.automateexcel.com/tutorials-practice-tests/","Automate Excel")

HYPERLINK 05

HYPERLINK, INDEX & MATCH Function

The HYPERLINK Function can be used with INDEX & MATCH Function to create hyperlinks that pull a matching value & create a shortcut to it.

=HYPERLINK("#"&CELL("address", INDEX(A2:A6, MATCH(D2, B2:B6,0))), INDEX(A2:A6, MATCH(D2, B2:B6,0)))

HYPERLINK 06

Multiple HYPERLINKS

When using the HYPERLINK Function, multiple hyperlinks can be edited at the same time. Open the Find & Replace dialogue by pressing Ctrl + H.

  1. In the dialogue, enter the old link in Find what: box & new link in the Replace with: box. 
  2. Click the Look in: dropdown and select Formulas.
  3. Now click the Replace All button.

HYPERLINK 08

 HYPERLINK in Google Sheets

The HYPERLINK Function works exactly the same in Google Sheets as in Excel:

HYPERLINK Google Function

AI Formula Generator

Try for Free

Excel Practice Worksheet

practice excel worksheet

Practice Excel functions and formulas with our 100% free practice worksheets!

  • Automatically Graded Exercises
  • Learn Excel, Inside Excel!

Free Download

Return to List of Excel Functions