
LogicalLevel: ExpertAvailable in: Excel 365 / 2021+
In this article
- Syntax
- Examples
- Example 1
- Related functions
REDUCE is SCAN that returns only the final result — useful for repeated clean-up steps.
Syntax
=REDUCE(initial_value, array, LAMBDA(acc, value, calculation))
| Argument |
What it means |
array |
Values to process one by one. |
Examples
Example 1
=REDUCE(A2, {"-","/"," "}, LAMBDA(t, c, SUBSTITUTE(t, c, "")))
Remove several characters from a code in one formula.
SCAN · LAMBDA · SUBSTITUTE
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
✨ Ask AI about this articleStuck on a step? Ask a question and the AI answers using this article.
Free · AI can be wrong