Excel cannot locate the internet or proxy server because Windows or the network path between Excel and the internet is misconfigured, blocked, or temporarily down. The quickest fix is usually to check your internet connection, confirm the proxy settings in Windows, and restart Excel. This guide walks through the reliable steps to get Excel talking to the web again, with a focus on Windows desktop versions.
What You'll Need
- A Windows PC with Excel installed (steps apply to Excel 2016 and later; labels may differ slightly by version or region).
- Your network name and, if applicable, proxy server address and port from your IT administrator.
- Administrator permission to change system proxy settings, if your organisation requires it.
Step-by-Step
- Confirm the internet works outside Excel. Open a browser and load a public website. If it fails too, the problem is your connection or network, not Excel. Restart your router and PC, then try again.
- Close and reopen Excel. A stale session can hold a bad proxy state. Save your work, exit Excel completely, and relaunch it.
- Check Windows proxy settings. Open Settings > Network & Internet > Proxy. Under Automatic proxy setup, turn on Automatically detect settings. Under Manual proxy setup, if Use a proxy server is on, confirm the address and port match what your IT team gave you. If you are on a home network with no proxy, turn Use a proxy server off. Click Save.
- Check the old Internet Options dialog. Press Windows key + R, type inetcpl.cpl, and press Enter. Go to the Connections tab > LAN settings. Tick Automatically detect settings. If Use a proxy server for your LAN is ticked, verify the address and port. Click OK.
- Test in another Office app. Open Word and try an online feature such as inserting an online picture. If Word fails the same way, the issue is system-wide; if only Excel fails, continue below.
- Repair Office. Open Settings > Apps > Installed apps, find Microsoft 365 or Office, choose Modify, then Quick Repair. If that does not help, run Online Repair (this reinstalls Office files but keeps your documents).
- Reset Excel's cached credentials. In Windows, open Control Panel > User Accounts > Credential Manager > Windows Credentials. Remove any entries related to MicrosoftOffice or your Microsoft account, then sign in to Excel again.
- Check firewall and antivirus. Temporarily disable third-party firewall or antivirus and retry. If Excel connects, add Excel and Office as allowed apps in that program's settings, then re-enable protection.
- Flush DNS and reset the network stack. Open Command Prompt as administrator and run ipconfig /flushdns, then netsh winsock reset. Restart the PC. This clears corrupted network settings that can block Office services.
- Try a different network. Connect to a mobile hotspot. If Excel works there, your original network or router is filtering traffic; contact the network administrator.
Common Mistakes
- Changing proxy settings without noting the original values, which can break other apps. Write them down first.
- Assuming the problem is Excel when the whole PC has lost internet. Always test a browser first.
- Leaving a manual proxy enabled after leaving a corporate network, which blocks home internet access.
- Running Online Repair without saving open documents; close all Office apps first.
- Ignoring regional or version differences in menu labels. If a label looks different, look for the closest match.
Tips
- Use the Windows Settings proxy page as your main control; Internet Options is the legacy fallback.
- If you use a VPN, disconnect it and retry. VPNs often reroute traffic in ways Office does not expect.
- Keep Office updated via File > Account > Update Options > Update Now.
- On a work PC, ask IT whether a proxy auto-config (PAC) file is required; entering it manually is often the missing piece.
- Document any proxy changes so you can revert them if other apps start failing.
Troubleshooting
If Excel still cannot connect, work from simplest to most invasive. First, sign out of your Microsoft account in Excel (File > Account > Sign out) and sign back in; this refreshes the token Office uses for online services. Next, check whether your organisation requires a specific proxy for Office; some networks block direct connections and need the proxy address entered in both Windows Settings and Internet Options. If only certain features fail, such as stock data or online templates, the service itself may be down; check the Microsoft 365 status page from a browser. If nothing works, create a new Windows user account and test Excel there. A working new profile points to a corrupted user profile; a failing one points to the machine or network. As a last resort, uninstall Office, restart, and reinstall from your Microsoft account page. Warn users before any reset that clearing app data or reinstalling removes custom settings, though documents are kept.
Frequently Asked Questions
Why does Excel say it cannot locate the internet or proxy server?
Excel uses Windows network settings to reach Microsoft services. If the connection is down, a proxy is misconfigured, or a firewall blocks Office, Excel shows this error.
Does this affect other Office apps?
Often yes. If Word and PowerPoint also fail online tasks, the cause is system-wide. If only Excel fails, repair Office or reset Excel credentials.
Can I fix it without administrator rights?
You can restart Excel, check your connection, and sign out and in. Changing proxy settings or repairing Office usually needs administrator permission.
Will resetting the network stack delete my files?
No. Commands like ipconfig /flushdns and netsh winsock reset only reset network configuration; documents and apps are untouched.
Why does Excel work on mobile data but not Wi-Fi?
Your Wi-Fi network or router is likely blocking or misrouting Office traffic. Check the router's proxy or firewall settings, or contact the network administrator.
Is a VPN causing the problem?
It can. Disconnect the VPN and retry. If Excel connects, adjust the VPN's split-tunnelling or proxy settings with your IT team.