REDUCE
Carry an accumulating value through an array to produce a final result.
Syntax
=REDUCE([initial_value], array, lambda)Worked example
Walk through the numbers and retain the final total.
=REDUCE(0,{2;4;6},LAMBDA(total,item,total+item))Result 12
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceREDUCE Function in Excel (Extract Uppercase Words ONLY 🚀)
Practice REDUCE
Start at zero and use a LAMBDA to accumulate a single total from A2:A4.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 | ||
| 4 |
Show example formula
=REDUCE(0,A2:A4,LAMBDA(total,item,total+item)) Lesson quiz
Answer three questions to see your level in this lesson.
