In Excel: use =HYPERLINK(link_location, friendly_name) — it builds a clickable link from a formula, so the destination can be calculated rather than typed.
On this page8
Syntax
Arguments
| Argument | required / optional | Description |
|---|---|---|
link_location | required | The URL, file path or in-workbook reference, as text. |
friendly_name | optional | The text to display. Defaults to the link location itself. |
Related functions
Select the cell and type =HYPERLINK(.
Build the destination — a literal URL in quotes, or a concatenation such as "https://…/" & A2.
Add a comma and the text to display, which is usually the ID or a short label.
Press Enter and fill down; every row becomes a working link.
Need it as an auditable file?
Ships inside the linked template — formula-driven, unlocked, audit-ready.
What this does
HYPERLINK creates a working link whose destination is computed. That is the whole advantage over Insert → Link, which pastes a fixed address: a formula can assemble a URL from an ID column, so 500 rows of ticket numbers become 500 working links in one fill-down. In-workbook navigation uses a "#" prefix followed by a sheet and cell reference. Because the link is a formula result rather than stored link metadata, it survives sorting and filtering that can disturb inserted hyperlinks. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. Treat “excel hyperlink formula” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected hyperlink shows up while it is still harmless. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That turns a calculation you can defend to a CFO or an auditor into a method you can reuse, explain, and defend when the workbook leaves your screen.
A worked example
Ticket IDs in A2:A500 turned into links: =HYPERLINK("https://tracker.example.com/t/" & A2, A2). A jump to another sheet: =HYPERLINK("#Summary!A1", "Back to summary"). Opening a folder from a path column: =HYPERLINK(B2, "Open folder"). HYPERLINK turns a column of identifiers into a column of working links, which is the difference between a reference sheet and a usable one. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.
In Google Sheets
Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. If you take one thing from this page on “excel hyperlink formula”, make it the habit rather than the keystrokes: set the problem up with labelled inputs, reference those cells, and let Excel do the recomputing. Bookmark the page for the syntax, but do the example once in a blank sheet and check it against the tool above — five minutes of hands-on practice fixes the method in memory far better than re-reading, and it surfaces the small snags while they are still harmless. After that the technique is genuinely yours: faster than searching for it again, and reliable enough to drop into work that other people depend on.
Common mistakes
- Omitting the "#" prefix for in-workbook targets, which makes Excel treat the reference as an external file and fail.
- Building a URL without encoding spaces or special characters, which produces a broken link.
- Expecting the cell to look like a normal hyperlink automatically; apply the Hyperlink cell style if the blue underline matters.
Frequently asked questions
How do I link to another sheet in the same workbook?
Prefix the reference with a hash: =HYPERLINK("#Sheet2!A1", "Go to Sheet2").
Why does my HYPERLINK not work?
Usually the destination text is malformed — a missing protocol, an unencoded space, or a missing "#" for an internal target.
What is the advantage over Insert → Link?
The destination is calculated, so a whole column of links can be built from an ID column in one fill-down and updates when the data does.
Other ways people ask this
On the way here you may have searched this as “formula for hyperlink in excel” and “excel formula hyperlink” — it is all the same task, and this page is the single, complete answer to it.
Why do people search for this in so many different ways?
Because the same task has many names. “formula for hyperlink in excel”, “excel formula hyperlink” all point at the one operation explained on this page, which is why they all lead here.