Fix SUMIFS #VALUE! Error with SharePoint Workbook Links in Excel
Question details
The user encounters a #VALUE! error when using the SUMIFS function to pull data from a linked SharePoint workbook.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Linking data between two SharePoint workbooks where the source file is replaced daily and might be closed or opened in Excel for the web.
- Observed behavior
- A standard SUM function works perfectly across the linked workbooks, but the SUMIFS function results in a #VALUE! error under the same conditions.
Verify that your external workbook links are up to date, especially if the source file is replaced daily with a slightly different filename.
Open Both Workbooks in the Excel Desktop Application
This is the most reliable method, as SUMIFS cannot process cross-workbook links properly if the source workbook is closed or opened in Excel for the web.
The SUMIFS function, along with COUNTIFS and AVERAGEIFS, has a known limitation in Microsoft Excel: it cannot evaluate criteria against external workbooks unless those workbooks are actively open in the desktop client. Opening the files in Excel for the web is not sufficient to resolve the link evaluation.
Navigate to your SharePoint document library where the daily source workbook is stored.
Select the source workbook, click the three-dot menu (More options), and choose 'Open in Desktop App'.
Repeat the previous step to open your destination workbook (the one containing the SUMIFS formula) in the Excel desktop application as well.
Check the cells with the SUMIFS formulas. The #VALUE! error should now be resolved, and the correct totals will display.

Use an Alternative Array-Based Formula
If you need the formula to calculate correctly even when the source workbook remains closed, replace SUMIFS with an array-supported function.
Experience Hassle-Free Data Management with WPS Office
If you frequently encounter formula limitations, sync errors, and compatibility issues with SharePoint and Microsoft Excel for the web, consider switching to WPS Office. It provides a lightweight, highly compatible, and completely free alternative for all your spreadsheet tasks.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install the application: Run the installer and follow the on-screen instructions to set up WPS Office on your computer.
- 3. Open your workbooks: Launch WPS Spreadsheet and open your existing .xlsx files to enjoy fast, error-free formula calculations.

Frequently Asked Questions
Why does a standard SUM formula work with closed workbooks, but SUMIFS does not?
The SUM function is a basic mathematical function that can easily read the cached values of external workbooks. However, functions that evaluate criteria across ranges (like SUMIFS, COUNTIFS, and AVERAGEIFS) require the external workbook to be open in the desktop app to actively process the logic. If it is closed, Excel returns a #VALUE! error.
Can I use Excel for the web to bypass this SUMIFS error?
No. Excel for the web does not reliably support complex cross-workbook formula evaluations like SUMIFS. Even if both workbooks are open in your browser, the #VALUE! error may persist. You must use the desktop application for full cross-workbook link support.
How do I update the formula if the SharePoint file is replaced and renamed every day?
You do not need to rewrite the formula manually. Go to the Data tab in the Excel ribbon, click on 'Edit Links' (or 'Workbook Links'), select the old source file, and click 'Change Source'. Select the new file for the day, and all formulas referencing the external link will update automatically.




