#CONNECT! error in Excel: causes and how to fix it
Fix #CONNECT! in Excel 365: no internet, IMAGE links that fail, links to moved or local workbooks, Python in Excel cloud problems, add-ins that did not load.
#CONNECT! means "I could not reach the place the data comes from". A formula in Microsoft 365 depends on something outside the workbook, such as a web image, another workbook in the cloud, a linked data type service or the Python in Excel cloud, and the connection failed. Unlike #BUSY! error in Excel: causes and how to fix it, which means Excel is still waiting, #CONNECT! means the attempt has ended without success. Often the cause is on your side (no internet, a moved file, not signed in) and sometimes it is on the service's side (maintenance, throttling). For the classic errors see Formula errors: what each one means and how to fix it.
What #CONNECT! means
Excel tried to fetch something and got no usable answer. Select the cell and click the warning icon: the message beside it names the specific problem, for example Unable to connect, Request throttled, File not in the cloud or Service error. That message is the quickest route to the fix.
Cause 1: no internet connection or a blocked network
Every feature that produces #CONNECT! needs the internet. On a train, behind a strict company firewall or VPN, or on a captive hotel Wi-Fi, the requests fail.
| A | B | |
|---|---|---|
| 1 | Company | Price |
| 2 | Microsoft Corp (XNAS:MSFT) | #CONNECT! |
The Stocks data type could not reach its service while offline.
Result: #CONNECT!
Fix. Check the connection by opening any web page, then use Data › Refresh All. On a company network, ask IT whether the Microsoft 365 data services are allowed through the firewall or proxy. A Microsoft-side outage shows up the same way; the Microsoft 365 service status page tells you whether to simply wait.
Cause 2: IMAGE cannot download the picture
IMAGE needs a public https address. If the server answers with an error (page not found, access denied, a login page), the result is #CONNECT!.
| A | B | C | |
|---|---|---|---|
| 1 | Product | Photo URL | Photo |
| 2 | Desk lamp | https://example.com/old/lamp.png | #CONNECT! |
The picture was moved, so the address returns "not found".
Result: #CONNECT!
Fix. Paste the address into a browser in a private window. If it does not show the picture there, it will not work in Excel either. Images from SharePoint, intranets or sites that require a login are not reachable; host the image publicly or insert it with Insert › Pictures › Place in Cell instead.
Cause 3: links to other workbooks
Formulas such as ='[Prices.xlsx]Sheet1'!B4 read values from another file. #CONNECT! appears when Excel cannot open or refresh that source:
- The linked file was moved, renamed or deleted, or you no longer have permission to it.
- In Excel for the web, the source is saved on your local drive rather than in OneDrive or SharePoint; the web app can only refresh links to files in the cloud (File not in the cloud). Open the workbook in the desktop app to update it, or move the source to OneDrive.
- You are not signed in to the account that can read the source file.
- The source is too large, or the workbook links to too many files, or the server is throttling requests; try again later or reduce the number of links.
='https://contoso-my.sharepoint.com/personal/ana/Documents/[Prices.xlsx]Sheet1'!B4Fix. Open Data › Workbook Links (Edit Links in older versions): it lists every source with its status and lets you change a source to the file's new location or break the link, converting formulas to their last values.
Cause 4: Python in Excel cannot reach its cloud
PY formulas run in a Microsoft Cloud container. If the session has timed out, or the compute resource is not available, the cells return #CONNECT!. Fix: choose Formulas › Python › Reset runtime (Ctrl+Alt+Shift+F9) and recalculate. If uploading data fails, try again; persistent failures usually mean a network rule is blocking the service. Problems in your own code show #PYTHON! error in Excel: causes and how to fix it instead.
Cause 5: an add-in or data type provider did not load
Some data types and custom functions are supplied by Office add-ins. If the add-in did not load when the workbook opened, formulas that depend on it show #CONNECT!. Closing and reopening the workbook usually loads it again; otherwise check Home › Add-ins (or Insert › Get Add-ins) to make sure it is installed for your account.
How to find every #CONNECT!
- Go To Special. Press
F5orCtrl+G, click Special, choose Formulas with only Errors ticked. Every formula showing an error is selected, including this one. - Find All.
Ctrl+F(Cmd+F), search for#CONNECT!with Look in: Values and Within: Workbook, then Find All to get a clickable list. - Error Checking. Formulas › Error Checking steps through each error cell; the warning icon beside a cell also shows Excel's short explanation of the specific reason, which for the newer errors is often more precise than the code itself.
- Trace Error (in the Error Checking drop-down) draws arrows back to the cell where the error first appeared, which matters because every formula that refers to the cell shows the same error.
- Refresh and compare. After fixing the connection, use Data › Refresh All; cells that stay #CONNECT! point at sources that are still unreachable, which narrows the search.
When you should NOT hide #CONNECT!
A #CONNECT! means the number is missing, not zero. Wrapping a price or exchange-rate lookup in IFERROR(..., 0) would value a portfolio at zero whenever the Wi-Fi drops. If you need the sheet to stay usable offline, keep a column of last known values and show them with a clear label, for example =IFERROR(A2.Price, C2 & " (last known)"), rather than a silent substitute.
Version notes
- #CONNECT! appears only in Microsoft 365 and Excel for the web, the versions with cloud-connected features.
- In Excel 2021 and older, broken links show a security bar or the last saved values, and missing data types show #UNKNOWN! or text instead (#UNKNOWN! error in Excel: causes and how to fix it).
- Excel for the web shows #CONNECT! for links to local files more often than the desktop app, because it can only read files stored in the cloud.