How to Sum a Specific Column of a FILTER Spill Range in Excel
Question details
The user wants to calculate the sum of values located in a specific column (e.g., the third column) within a dynamic spilled array generated by a FILTER function.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Working with dynamic arrays and needing to aggregate data from a specific column of the spilled results.
- Observed behavior
- The user needs a formula combination to extract and sum only the target column from the multi-column FILTER spill range.
Ensure that your spreadsheet software supports dynamic arrays and spill ranges (indicated by the # operator). Verify the exact cell reference of your spilled array's top-left cell before applying the formulas.
Use CHOOSECOLS or INDEX to Sum by Column Index
Extract the specific column by its numeric position in the spilled array and wrap it in a SUM function.
This is the most straightforward method when you know the exact numeric position of the column you want to sum within the spilled array.
Locate the top-left cell of your FILTER formula results (e.g., A1) and append the # symbol to reference the entire spill range (A1#).
Select an empty cell and type =SUM(CHOOSECOLS(A1#, 3)) to extract and sum the 3rd column of the spilled array.
If the CHOOSECOLS function is not available in your version, use =SUM(INDEX(A1#,,3)) to achieve the exact same result. Leaving the row argument blank tells INDEX to return the entire column.

Sum by Column Header Name
Dynamically locate and sum the column based on its header text instead of a hardcoded column number.
Handle Dynamic Arrays Easily with WPS Spreadsheet
WPS Office provides robust support for dynamic arrays, advanced lookup functions, and complex data analysis. You can seamlessly use functions like FILTER, INDEX, and XLOOKUP to manage spill ranges just as you would in Microsoft Excel.
- 1. Open WPS Spreadsheet: Launch WPS Office and open your workbook containing the dataset.
- 2. Enter the FILTER formula: Create your initial dynamic array using the FILTER function to generate the spill range.
- 3. Apply the SUM and INDEX combination: In a new cell, type =SUM(INDEX(A1#,,3)) and press Enter to instantly calculate the total of the third column.

Frequently Asked Questions
What does the # symbol mean in Excel formulas?
The # symbol is the spilled range operator. It references the entire dynamic array returned by a formula, starting from the top-left cell. For example, A1# refers to all the data dynamically spilled from the formula located in cell A1.
Why does my CHOOSECOLS function return a #NAME? error?
The CHOOSECOLS function is available only in newer versions of Excel and WPS Office. If you see a #NAME? error, your version likely does not support it. You should use the =SUM(INDEX(A1#,,3)) alternative instead, as INDEX is universally supported.
Can I sum multiple columns from a spill range at once?
Yes. With the CHOOSECOLS function, you can specify multiple column indices separated by commas. For example, =SUM(CHOOSECOLS(A1#, 2, 3)) will sum all values in both the second and third columns of the spilled array.
How do I sum a column if the source range is fixed instead of a spill range?
If you are working with a standard fixed range rather than a dynamic array, you can use the INDEX function directly on the range. For example, use =SUM(INDEX(A1:D14,,3)) to sum the third column of the A1:D14 range.




