How to Add Hyperlinks in Excel (Step-by-Step)

How-to basics · Updated November 26, 2026

Adding a hyperlink in Excel lets you jump from a cell to a website, another file, a different sheet in the same workbook, or even an email address. The quickest way is to select the cell, press Ctrl+K (or Cmd+K on Mac), paste the link, and press Enter. But there are several methods and options, so here’s everything you need to know.

What You’ll Need

  • A computer with Microsoft Excel (Microsoft 365, Excel 2021, 2019, or earlier versions). Steps for Mac and Excel for the web are noted where they differ.
  • The destination you want to link to: a web URL, a file path, an email address, or a cell reference in the same workbook.
  • If linking to a file, make sure you know its full path (e.g., C:\Users\YourName\Documents\Report.xlsx).

Step-by-Step

  1. Select the cell that will contain the hyperlink. You can also select multiple cells to create the same link in all of them.
  2. Open the Insert Hyperlink dialog using any of these methods:
    • Press Ctrl+K (Windows) or Cmd+K (Mac).
    • Go to the Insert tab on the ribbon and click Link (in the Links group).
    • Right-click the cell and choose Link (or Hyperlink in some versions).
  3. Choose the type of link from the left panel of the dialog:
    • Existing File or Web Page – for websites or files.
    • Place in This Document – to link to another cell or named range in the same workbook.
    • Create New Document – to create a new file and link to it.
    • E-mail Address – for email links.
  4. Fill in the details for the selected type:
    • For a web page: type or paste the URL in the Address field (e.g., https://www.example.com).
    • For a file: browse to the file using the folder icon, or type the full path.
    • For a place in this document: select a sheet name and type the cell reference (e.g., Sheet2!A1) in the Type the cell reference box.
    • For an email: enter the email address in the E-mail address field. Excel automatically adds mailto: before it.
  5. Set the display text (optional). In the Text to display box at the top, you can change what the cell shows. If you leave it blank, Excel uses the link itself (e.g., the URL).
  6. Add a ScreenTip (optional). Click the ScreenTip button in the top-right corner to enter text that appears when you hover over the cell. This is helpful for explaining the link.
  7. Click OK to apply the hyperlink. The cell text will now be blue and underlined (by default).
  8. Test the link. Click the cell once to select it, then click again (or press Enter) to follow the link. If you want to edit the cell without activating the link, select the cell and press F2 (or click in the formula bar).

Common Mistakes

  • Typing the URL without the protocol – Excel may not recognize www.example.com as a link unless you include https://. Always include the full protocol.
  • Linking to a file that will move – If you link to a file on your local drive and later move or rename that file, the link breaks. Use relative paths when possible, or keep files in the same folder.
  • Forgetting to update the display text – The cell may show a long URL, making your spreadsheet cluttered. Use a short, descriptive label instead.
  • Using the wrong cell reference for “Place in This Document” – Make sure you type the sheet name exactly as it appears (including spaces) and the cell reference in the correct format, e.g., 'My Sheet'!A1 if the sheet name has spaces.
  • Clicking a link while trying to edit – If you click a hyperlinked cell, it jumps to the destination. Use F2 or the formula bar to edit the cell content.

Tips

  • Create a hyperlink with a formula – Use the HYPERLINK function: =HYPERLINK("https://www.example.com", "Visit Example"). This is useful when you want to generate links dynamically based on cell values.
  • Link to a specific cell in another sheet – In the Insert Hyperlink dialog, choose Place in This Document, then select the sheet and type the cell reference (e.g., Sheet2!B5).
  • Use relative paths for files – If you link to a file that sits in the same folder as the workbook, just type the filename (e.g., Report.xlsx) instead of the full path. This keeps links working if you move the whole folder.
  • Change the default hyperlink style – To change the blue underline formatting, go to the Home tab, click the Cell Styles gallery, and modify the Hyperlink style.
  • Remove a hyperlink – Right-click the cell and choose Remove Hyperlink. To remove multiple at once, select the cells, right-click, and choose Remove Hyperlinks (note: this clears the link but keeps the text).
  • Keyboard shortcut for following a link – After selecting a cell with a hyperlink, press Ctrl+Click (Windows) or Cmd+Click (Mac) to open it without having to double-click.

Troubleshooting

  • Link doesn’t work when clicked – If clicking the cell does nothing, check that the link address is correct. For web links, ensure the URL is valid and includes https://. For file links, verify the file still exists at the specified path.
  • Excel says “Cannot open the specified file” – This usually means the file path is wrong or the file has been moved. Re-create the hyperlink with the correct path, or use a relative path.
  • Hyperlink opens the wrong sheet – Double-check the sheet name and cell reference in the dialog. If the sheet name contains spaces, enclose it in single quotes, like 'Sales Data'!A1.
  • Email link doesn’t open the email client – Ensure the email address is entered correctly in the E-mail address field. Excel automatically adds mailto:, but if you typed it manually, remove the extra mailto: to avoid duplication.
  • Hyperlink formatting disappears – If the text is no longer blue and underlined, the hyperlink may have been removed. Check the cell for a link by pressing Ctrl+K; if the dialog opens, the link is still there. Reapply the style if needed.
  • On Mac, Ctrl+K doesn’t work – Use Cmd+K instead. Also, right-clicking and choosing Hyperlink works the same.

Frequently Asked Questions

  1. How do I add a hyperlink to a cell in Excel without using the mouse?
    Select the cell, press Ctrl+K (Windows) or Cmd+K (Mac), type the address, and press Enter. This opens the Insert Hyperlink dialog without touching the mouse.
  2. Can I hyperlink to a specific cell in another worksheet?
    Yes. In the Insert Hyperlink dialog, choose Place in This Document, select the target sheet, and type the cell reference (e.g., Sheet2!B5). The link will jump to that cell when clicked.
  3. How do I make a hyperlink open a file on my computer?
    In the Insert Hyperlink dialog, choose Existing File or Web Page, then browse to the file or type its full path. For example, C:\Users\YourName\Documents\Report.xlsx.
  4. Why is my hyperlink not clickable?
    If the cell doesn’t respond to clicks, it might be because the cell is in edit mode (double-clicked) or the link is broken. Select the cell, press Ctrl+K to check the address, and correct it if needed.
  5. How do I change the text of a hyperlink without changing the link?
    Select the cell, press F2 to edit the cell content, then type the new text. The hyperlink remains attached to the cell, so clicking the new text will still follow the original link.
  6. Can I use a formula to create a hyperlink?
    Yes. Use the HYPERLINK function: =HYPERLINK("https://www.example.com", "Visit Example"). The first argument is the link location, and the second is the display text (optional).

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.