LAMBDA: build your own function
Turn a business rule into your own function with LAMBDA, test it on one row, and run it down a whole column with MAP or across each row with BYROW.
In this lesson
=LAMBDA(param1, [param2, …], calculation)is a recipe.=MAP(range1, [range2, …], LAMBDA(…))runs it once per cell.=BYROW(range, LAMBDA(row_name, …))runs it once per row, so the calculation can be MAX, SUM or AVERAGE of the row.
Try a free lesson first
Why your formula broke when you copied it
Lock a cell with $ so a formula keeps working when you copy it down.
Beginner · 7 min · Free, with no sign-up
Do the free lesson on your computer.
Send yourself the link and open it on a laptop or desktop.
On your computer, go tolearnford.com/go/GX5R
This lesson is in the full Excel course
US$149 once
Tax included. New lessons are added as they're written.
Get the full course, US$14930-day money-back guarantee if you've opened fewer than 10 paid lessons.
- All 217 Excel lessons open today, and every new one as it's written.
- The Roadmap, Skills and all eight paths.
- A cheat sheet for every lesson you finish.
- Skill
- Dynamic arrays
- Stage
- Analyst
Where it sits in Dynamic arrays
- What "spilling" means9 min
- CHOOSECOLS and VSTACK10 min
- LET: name the parts of a formula9 min
- LAMBDA: build your own functionThis lesson11 min
The steps
12 steps: 5 explanations, 4 Do this, 3 questions, then Your turn.
Try a free lesson first
Why your formula broke when you copied it
Lock a cell with $ so a formula keeps working when you copy it down.
Beginner · 7 min · Free, with no sign-up
Do the free lesson on your computer.
Send yourself the link and open it on a laptop or desktop.
On your computer, go tolearnford.com/go/GX5R