What is HYPERLINK in Google Sheets?

HYPERLINK builds a clickable link in a cell. Pass a URL and optional friendly label text. Reports use it for open invoice, view doc, or mailto support links without ugly raw URLs filling the grid.

When to use it

Use HYPERLINK in dashboards and exports where readers should jump to source docs, forms, or filtered views with readable link text.

When to skip it

Skip HYPERLINK when plain URLs are fine for technical audiences or when link columns should stay plain text for CSV export rules.

How it works

  1. 1

    Wrap URL in quotes as first argument, including https://.

  2. 2

    Pass label text as second argument shown in the cell.

  3. 3

    Build URLs with concatenation from id cells, for example file base plus doc id.

  4. 4

    Use mailto: links with subject parameters for one-click email drafts.

  5. 5

    Test links as viewer role, not only owner, to catch permission issues.

  6. 6

    Pair with IMAGE in the next column for visual catalogs with click-through.

Examples in Google Sheets

Open invoice PDF

=HYPERLINK("https://drive.google.com/file/d/"&B2, "View PDF") labels each invoice link.

Mailto support

=HYPERLINK("mailto:"&C2&"?subject=Order "&D2, "Email customer") opens a prefilled message.

Sheet deep link

=HYPERLINK("#gid="&gid&"&range=A"&row, "Go to row") jumps within a large shared workbook.

Build this without starting from a blank cell

Use a Better Sheets tool for HYPERLINK, then watch a walkthrough when you want the full pattern.

Better Sheets resources

Common mistakes

  • Missing https:// so browsers treat link as relative path.
  • Broken concatenation leaving double slashes or missing ids.
  • Link label hiding the destination so phishing-conscious users distrust the sheet.
  • mailto links with unencoded spaces breaking in some clients.
  • HYPERLINK pointing at expired signed URLs in automated exports.

Frequently asked questions

HYPERLINK vs plain URL?
Plain URLs auto-link sometimes. HYPERLINK controls visible label text.
Link to sheet range?
Use hash gid and range parameters in the URL string.
HYPERLINK array?
Drag formula down so each row builds its own URL from cells.
Why link does not click?
Cell may be in edit mode, or URL string is malformed.
HYPERLINK in conditional formatting?
Formatting is separate. HYPERLINK is a formula returning clickable text.
Export to Excel?
Links often survive export but test target workbook behavior.
HYPERLINK and IMPORTXML?
IMPORTXML can fetch URLs while HYPERLINK makes clickable destinations in the grid.

Related Tutorials

Watch how HYPERLINK works

Browse more tutorials
Creating a Custom URL Link for Your Spreadsheet

Creating a Custom URL Link for Your Spreadsheet

Create an apps script function that gets the url of your spreadsheet int...
How do I reference a different spreadsheet in Apps Script?

How do I reference a different spreadsheet in Apps Script?

I'll show you how to get text from one spreadsheet file to another with ...
Better Sheets Members Tour March 2026

Better Sheets Members Tour March 2026

Walk through what's available in Better Sheets. For beginners and advanc...
Activate A Certain Sheet When Opening a Spreadsheet

Activate A Certain Sheet When Opening a Spreadsheet

Create a short function that runs every time a spreadsheet file is open....
Extract URLs from Google Sheets

Extract URLs from Google Sheets

When you can't get the url of a hyperlinked cell, do this instead.
Create Navigation Buttons in Sheets to Other Sheets

Create Navigation Buttons in Sheets to Other Sheets

Add a button to go to another sheet inside your sheet.

Related blog posts

Guides that explain HYPERLINK in more depth.

Browse the blog

Related glossary terms

Done reading about HYPERLINK?

Membership unlocks 636+ tutorials, unlimited generators, and every template. Practical lessons. Zero fluff.

Need this once

Jump to a free tool or a single tutorial for this topic.

Learning Sheets for real

Unlock the full library, generators, and templates with membership.