Beginner 5 min read

HYPERLINK Function in Google Sheets

Learn how to use the HYPERLINK function in Google Sheets to create clickable links in cells. Covers URLs, emails, other sheets, and dynamic links.

SB

Sheets Bootcamp

February 28, 2026 · Updated November 23, 2026

The HYPERLINK function in Google Sheets creates a clickable link inside a cell. You give it a URL and display text, and it returns a blue, underlined link that opens the target when clicked.

This is useful when your spreadsheet has URLs in one column and you want clean, labeled links instead of raw addresses. HYPERLINK also works with email addresses, links to other sheets in the same file, and dynamically built URLs.

In This Guide

Syntax

Formula
=HYPERLINK(url, [link_label])
ArgumentDescriptionRequired
urlThe full URL to link to. Must include the protocol (https://, mailto:, etc.) or be a cell reference containing a URL.Yes
link_labelThe text displayed in the cell. If omitted, the cell shows the raw URL.No
Important

The URL must be enclosed in quotes if entered directly. If you reference a cell containing the URL, no quotes are needed around the cell reference: =HYPERLINK(A2, "View").

1

Enter the HYPERLINK formula

Click the cell where you want the link. Enter:

Formula
=HYPERLINK("https://example.com/product", "View Details")

Press Enter. The cell displays “View Details” in blue text.

HYPERLINK formula entered in cell C2 with formula bar showing the syntax

2

Click the link to verify

Click the cell to see a tooltip with the URL. Click the link in the tooltip to open it in a new browser tab. The display text stays in the cell.

Clickable blue hyperlink text in cell C2 reading View Details

3

Use cell references for dynamic URLs

Instead of hardcoding the URL, reference a cell that contains it:

Formula
=HYPERLINK(D2, "View Details")

Now the link updates automatically whenever you change the URL in cell D2. This is useful when URLs are generated or imported from another source.

Tip

Build dynamic URLs by combining HYPERLINK with CONCATENATE or the ampersand operator. For example: =HYPERLINK("https://example.com/item/" & A2, "View " & B2) builds a unique link for each row.

Formula
=HYPERLINK("mailto:orders@example.com", "Email Support")

Clicking the link opens the default email client with the To field pre-filled. You can add a subject line: =HYPERLINK("mailto:orders@example.com?subject=Order Question", "Email Support").

HYPERLINK formula creating a mailto link in Google Sheets

Formula
=HYPERLINK("#gid=0", "Go to Sheet1")

The #gid= format links to a specific sheet tab within the same spreadsheet. Find the gid by clicking the target sheet tab and checking the URL in your browser’s address bar. The number after gid= is the sheet ID.

Formula
=HYPERLINK("#gid=0&range=B5", "Jump to B5")

Adding &range=B5 to the gid link scrolls to and selects that cell when clicked. This is useful for navigation menus or table of contents sheets.

If column A has product IDs and you want each row to link to a product page:

Formula
=HYPERLINK("https://store.example.com/product/" & A2, B2)

This creates a link like https://store.example.com/product/SKU-101 with the product name from column B as the display text. Copy the formula down the column for every row.

Common Errors and How to Fix Them

You omitted the second argument. Add display text as the second parameter: =HYPERLINK("https://example.com", "Click Here").

#VALUE! error

The URL argument is empty or the formula syntax has mismatched quotes. Check that both the opening and closing quotes around the URL are present.

Google Sheets links open via a tooltip that appears when you click the cell. Click the blue link in the tooltip popup, not the cell text itself. If the tooltip does not appear, the formula may have an error. Check the formula bar for issues.

Note

The HYPERLINK function does not validate URLs. It creates a link to whatever string you provide, even if that URL does not exist or is malformed. Test your links after creating them.

Tips and Best Practices

  1. Always include a link_label. Raw URLs in cells are hard to read and make your sheet look cluttered. A short label like “View” or “Open” is cleaner.
  2. Use cell references for URLs that change. If the base URL or parameters might update, store the URL in a helper column and reference it in HYPERLINK.
  3. Combine with VLOOKUP or INDEX MATCH for dynamic lookups. You can look up a URL from a reference table and wrap the result in HYPERLINK to create context-aware links.
  4. Use HYPERLINK for navigation sheets. Build a “Dashboard” or “Table of Contents” sheet with HYPERLINK formulas linking to every other sheet in the workbook using #gid= URLs.
  5. Links are preserved when you share the sheet. Anyone with access can click the links, whether they are viewing or editing.

FAQ

Use the HYPERLINK function: =HYPERLINK("https://example.com", "Link Text"). The first argument is the URL, the second is the text shown in the cell. You can also right-click a cell and choose Insert link for a manual link.

Yes. Use the gid-based URL format: =HYPERLINK("#gid=0", "Go to Sheet1"). Find the gid by clicking the sheet tab and looking at the URL in your browser. The number after gid= is the sheet ID.

HYPERLINK is a formula, so the link updates dynamically if the URL cell changes. Insert link (right-click > Insert link) creates a static link attached to the cell. Use HYPERLINK when you need links that change based on data.

Yes. Use =HYPERLINK("mailto:name@example.com", "Send Email"). Clicking the link opens the default email client with the To field pre-filled.

If you omit the second argument, HYPERLINK displays the raw URL as the link text. Add a second argument for custom display text: =HYPERLINK(url, "Display Text").

Yes. You can nest formulas inside HYPERLINK. For example, =HYPERLINK(VLOOKUP(A2, Sheet2!A:B, 2, FALSE), "Open Link") looks up the URL from another sheet and turns it into a clickable link.

Frequently Asked Questions

Next Steps

Continue learning with these related tutorials: