The two ways to add a link in Excel

You can add a link to a cell in Excel in two ways: using the keyboard shortcut Ctrl+K (Windows) or Cmd+K (Mac), or through the Insert menu. Both methods open the same dialog box where you type the web address or file path you want to link to. The keyboard shortcut is faster if you create links often.

A link in Excel can point to a website, an email address, another file on your computer, or a different cell within the same workbook. The cell displays the link text (usually blue and underlined), and clicking it takes you to the destination.

Key Takeaways

  • Press Ctrl+K (or Cmd+K on Mac) to open the link dialog, then type the web address or file path you want to link to.
  • You can change the link text that appears in the cell to something shorter or more descriptive than the full URL.
  • To link to another cell in the same workbook, type the sheet name and cell reference, like Sheet2!A5.
  • Right-click a link and select "Remove Hyperlink" to delete it without deleting the cell contents.

Creating a web link using the keyboard shortcut

Select the cell where you want the link to appear. Press Ctrl+K on Windows or Cmd+K on Mac. The "Insert Hyperlink" dialog box opens.

In the "Address" field at the bottom of the dialog, type the full web address: https://www.example.com. If you want the link text to say something other than the URL, type that in the "Display text" field. For example, you could type "Click here" or "Company website" instead of showing the full address. Click OK, and the link appears in your cell.

Creating a link through the Insert menu

Select the cell where you want the link. Click the Insert tab at the top of the ribbon. In the Links group, click Hyperlink (or Link on Mac). The Insert Hyperlink dialog opens, and you proceed the same way as with the keyboard shortcut.

This method takes one extra step, but some people find the menu easier to remember than the keyboard shortcut, especially if they do not create links often.

Linking to another cell in the same workbook

Select the cell where you want the link. Press Ctrl+K (or Cmd+K). In the "Address" field, type the sheet name and cell reference separated by an exclamation point, like Sheet2!A5 or Summary!B10. If the sheet name has spaces, put single quotes around it: 'Sales Data'!C3.

In the "Display text" field, type what you want the link to say—for example, "Go to summary" or "View details". Click OK. When you click the link, Excel jumps to that cell and sheet.

Linking to a file on your computer

Select the cell where you want the link. Press Ctrl+K (or Cmd+K). In the Insert Hyperlink dialog, click Browse next to the Address field. Navigate to the file you want to link to and select it. The file path appears in the Address field.

Type the display text you want in the "Display text" field—for example, "Open budget spreadsheet" or "Q3 report". Click OK. When someone clicks the link, that file opens on their computer. The file must exist at that location for the link to work; if you move or delete the file later, the link will break.

Changing or removing a link

To edit a link, right-click the cell containing it and select Edit Hyperlink. The Insert Hyperlink dialog opens again. Change the address, the display text, or both, then click OK.

To remove a link without deleting the cell contents, right-click the cell and select Remove Hyperlink. The text stays in the cell, but it is no longer a clickable link. If you want to delete both the link and the text, just press Delete.

Linking to an email address

Select the cell where you want the link. Press Ctrl+K (or Cmd+K). In the Address field, type mailto: followed by the email address, like mailto:contact@example.com. In the Display text field, type what you want to show, such as "Send email" or the person's name.

Click OK. When someone clicks the link, their default email program opens with a new message addressed to that email. This is useful in shared spreadsheets where you want to make it easy for others to contact someone.

Frequently Asked Questions

Can I make a link that opens in a new tab or window?

Excel links open in your default browser or application, but you cannot control whether they open in a new tab or the same window from within Excel. The behavior depends on your browser settings. If you want to preserve your spreadsheet, hold Ctrl (or Cmd on Mac) while clicking the link to open it in a new tab.

What happens if I move or delete the file a link points to?

The link breaks. If you link to a file on your computer and then move or delete that file, clicking the link will show an error. Links to websites break only if the website itself goes down or changes its address. For file links, keep the files in a stable location or update the links if you move them.

Can I link to a specific cell in a different Excel file?

Yes. In the Address field, type the file path in square brackets, followed by the sheet name and cell reference: [C:\Users\Name\Documents\Budget.xlsx]Sheet1!A1. Make sure the file path is correct and the file exists, or the link will not work.

How do I change the color of a link in Excel?

Links use the default formatting from your workbook's theme, usually blue for unvisited links. To change the color, select the cell with the link and use the font color tool in the Home tab. You can also modify the theme colors under the Design tab to change all links at once.

Can I create a link that opens a specific sheet in the same workbook?

Yes. In the Address field, type the sheet name and cell reference: Sheet3!A1. You can link to any sheet in the same workbook. If the sheet name contains spaces or special characters, put single quotes around it: 'Financial Summary'!B5.