REDUCE boils a whole array down to a single value by carrying an accumulator through it — a custom sum, a concatenated string, a product. It’s the dynamic-array way to do what a loop would do in code.
The example
REDUCE collapses the list to one answer.
| A | B | |
|---|---|---|
| 1 | Value | |
| 2 | 120 | |
| 3 | 80 | |
| 4 | 200 | |
| 5 | Sum of >100: | 320 |
The formula
The conditional sum, done with REDUCE:
How it works
REDUCE is a single-output accumulator:
- The first argument is the starting value (
0). - It walks
A2:A4; theLAMBDA(acc, val, …)updates the accumulator with each item. - Here it adds the value only when it’s over 100, so the running result ends at
320. - Unlike SCAN, REDUCE returns only the final value — one number (or one string), not a spilled series.
REDUCE shines for custom aggregations that have no built-in function — building a delimited string, multiplying with conditions, or accumulating an array with VSTACK. For plain sums/counts, SUMIFS is simpler; reach for REDUCE when the logic is unusual.
Try it: interactive demo
Set a threshold; REDUCE sums values above it from {120, 80, 200, 50}.
Variations
Build a delimited string
Concatenate items with REDUCE:
Product of a range
Multiply everything together:
Stack arrays into one
Combine per-row arrays vertically:
Pitfalls & errors
REDUCE returns one value. If you want the running series at each step, use SCAN instead.
Excel 365 only. Older versions lack LAMBDA helpers — use SUMIFS/SUMPRODUCT for the common cases.
Watch the seed type. Start with "" for string building, 0 for sums, 1 for products — the wrong seed type errors or skews the result.
Practice workbook
Frequently asked questions
What does the REDUCE function do in Excel?
What's the difference between REDUCE and SCAN?
When should I use REDUCE instead of SUMIFS?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class