Fix broken workbook links to data in Excel for Mac

Applies To
Excel for Microsoft 365 for Mac Excel 2024 for Mac Excel 2021 for Mac

If your workbook contains a link to data in a workbook or other file that you moved to another location, you can fix the link by updating the path of that source file. If you can't find or don't have access to the document that you originally linked to, you can prevent Excel from trying to update the link by turning off automatic updates or removing the link.

Important

Linked objects aren't the same as hyperlinks. The following procedure doesn't fix broken hyperlinks. To learn more about hyperlinks, see Create or edit a hyperlink.

Caution

This action can't be undone. You might want to save a backup copy of the workbook before you begin this procedure.

If your workbook uses Power Query (Get Data), manage and refresh data sources in the Queries & Connections pane instead of Workbook Links.

  1. Open the workbook that contains the broken link.

  2. If you see a yellow warning, "Unable to refresh. We couldn't get updated values from a linked workbook," select Manage Workbook Links.

    Or, on the Data tab, select Workbook Links.

    The Workbook Links command is unavailable if your workbook doesn't contain links.

  3. In the Workbook Links box, select the broken link that you want to fix.

    Note

    To fix multiple links, hold down The Command button on macOS. , and then click each link.

  4. Select More … > Change Source.

  5. Browse to the location of the file containing the linked data.

  6. Select the new source file, and then press Select.

  7. Select Refresh to update the source data into the target workbook.

When you break a link, all formulas that refer to the source file are converted to their current value. For example, if the formula =SUM ([Budget.xls]Annual!C10:C25) results in 45, the formula is converted to 45 after you break the link.

  1. Open the workbook that contains the broken link.

  2. On the Data tab, select Workbook Links.
    The Workbook Links command is unavailable if your workbook doesn't contain links.

  3. In the Workbook Links box, select the broken link that you want to delete.

    Note

    To remove multiple links, hold down The Command button on macOS. , and then click each link.

  4. Select More … > Break Links.

If your data source is stored in OneDrive or SharePoint, make sure you have access to the file and that the path or link didn't change.

See also

Import data from a CSV, HTML, or text file

Manage workbook links