logo
search
Formula Errors

Fix SUMIFS #VALUE! Error with SharePoint Workbook Links in Excel

Partner EditorPartner Editor Sep 30, 2026 869 views

Question details

The user encounters a #VALUE! error when using the SUMIFS function to pull data from a linked SharePoint workbook.

How to Fix SUMIFS Returning #VALUE! with SharePoint Workbook Links
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.
Before you start

Verify that your external workbook links are up to date, especially if the source file is replaced daily with a slightly different filename.

Solution 1Recommended

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.

1
Locate the source workbook

Navigate to your SharePoint document library where the daily source workbook is stored.

2
Open in Desktop App

Select the source workbook, click the three-dot menu (More options), and choose 'Open in Desktop App'.

3
Open the destination workbook

Repeat the previous step to open your destination workbook (the one containing the SUMIFS formula) in the Excel desktop application as well.

4
Verify calculation

Check the cells with the SUMIFS formulas. The #VALUE! error should now be resolved, and the correct totals will display.

Open Both Workbooks in the Excel Desktop Application
Update Links Prompt: If Excel prompts you to update external links upon opening the destination workbook, click 'Enable Content' or 'Update' to ensure the latest data is fetched.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS Office website and download the free installer for your operating system.
  2. 2. Install the application: Run the installer and follow the on-screen instructions to set up WPS Office on your computer.
  3. 3. Open your workbooks: Launch WPS Spreadsheet and open your existing .xlsx files to enjoy fast, error-free formula calculations.
Fully compatible with Microsoft Excel (.xlsx) formats and advanced formulas.Lightweight application that instantly opens large datasets without lag.Familiar user interface with zero learning curve for Excel users.Seamless local file management avoiding complex web-sync limitations.
QA img-9

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.