How to Fix SUMPRODUCT #VALUE! Error with Large Arrays in Excel
Question details
The user is experiencing a #VALUE! error when attempting to multiply two large arrays (e.g., 595-by-595) using the SUMPRODUCT function, even though multiplying each array by itself works.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Calculating the sum of the products of two large data arrays using the SUMPRODUCT function.
- Observed behavior
- The formula returns a #VALUE! error instead of the mathematical result, despite the arrays containing some valid numerical data and blanks.
Ensure you have the exact cell references for both arrays visible in your formula bar and verify that neither range contains hidden text strings.
Verify and Match Array Dimensions
The most common cause of a #VALUE! error in SUMPRODUCT is a mismatch in the number of rows or columns between the referenced arrays.
SUMPRODUCT fully supports large ranges (such as 595-by-595). However, every array in the formula must have exactly the same dimensions. Even a single row or column discrepancy will trigger a #VALUE! error.
Click on the cell containing the SUMPRODUCT formula that is currently returning the #VALUE! error.
Look at the formula bar at the top of the worksheet to identify the exact cell ranges used for each array (for example, A1:X595 and Z1:BW595).
Manually calculate the number of rows and columns in both ranges. Ensure the starting and ending rows/columns result in identically sized blocks of data.
Edit the cell references in the formula bar so that both arrays match perfectly in size, then press Enter to recalculate the formula.

Locate and Remove Text or Error Values
If the dimensions match perfectly, the #VALUE! error may be caused by text entries or pre-existing error values within the arrays.
Easily Manage Large Array Formulas in WPS Spreadsheet
WPS Spreadsheet seamlessly handles large array calculations like SUMPRODUCT and provides intuitive error-checking features to help you quickly identify mismatched ranges or text errors.
- 1. Open your Document in WPS Spreadsheet: Launch WPS Office and open the workbook containing your large arrays.
- 2. Access Error Checking Tools: Select the cell showing the #VALUE! error, navigate to the 'Formulas' tab, and click 'Error Checking'.
- 3. Evaluate the Formula: Use the 'Evaluate Formula' feature to step through your SUMPRODUCT calculation and instantly see which array is causing the dimension mismatch.
- 4. Correct the Ranges: Adjust the cell references directly in the formula bar to ensure identical row and column counts, then hit Enter.

Frequently Asked Questions
Is there a maximum array size limit for the SUMPRODUCT function?
The SUMPRODUCT function itself does not have a strict array size limit like 595-by-595. It can process very large arrays up to the worksheet's maximum row and column limits, provided that all referenced arrays are exactly the same size.
Do blank cells cause the SUMPRODUCT function to return a #VALUE! error?
No, blank cells are generally treated as zero during the calculation and will not trigger a #VALUE! error. However, if a cell appears blank but actually contains a space character (text), it will cause the error.
Why does multiplying an array by itself prevent the #VALUE! error?
When you multiply an array by itself, you are using the exact same cell references for both parts of the calculation. This guarantees that the number of rows and columns match perfectly, completely avoiding the dimension mismatch that typically causes the #VALUE! error.




