Challenge - 5 Problems
LAMBDA Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate1:30remaining
Output of a simple LAMBDA function
What is the output of this formula when entered in a cell?
=LAMBDA(x, x*3)(5)Excel
=LAMBDA(x, x*3)(5)
Attempts:
2 left
💡 Hint
Think about what the LAMBDA function does with the input 5 and the formula x*3.
✗ Incorrect
The LAMBDA function takes the input 5 as x and multiplies it by 3, resulting in 15.
❓ Function Choice
intermediate1:30remaining
Choose the correct LAMBDA to calculate area of a rectangle
Which LAMBDA formula correctly calculates the area of a rectangle given length and width?
Attempts:
2 left
💡 Hint
Area of a rectangle is length multiplied by width.
✗ Incorrect
Option D multiplies length and width, which is the correct formula for area.
🎯 Scenario
advanced2:00remaining
Using LAMBDA with LET to calculate discounted price
You want to create a custom function using LAMBDA and LET to calculate a discounted price.
The discount is 10% of the original price.
Which formula correctly returns the discounted price when you input the original price?
The discount is 10% of the original price.
Which formula correctly returns the discounted price when you input the original price?
Attempts:
2 left
💡 Hint
Discount is 10% of price, so multiply price by 0.1.
✗ Incorrect
Option A correctly calculates discount as 10% of price and subtracts it from price.
📊 Formula Result
advanced2:00remaining
Output of recursive LAMBDA function for factorial
What is the output of this formula?
Assume FACT is the name of the LAMBDA function itself (recursive call).
=LAMBDA(n, IF(n<=1, 1, n*FACT(n-1)))(4)Assume FACT is the name of the LAMBDA function itself (recursive call).
Excel
=LAMBDA(n, IF(n<=1, 1, n*FACT(n-1)))(4)
Attempts:
2 left
💡 Hint
Think about how Excel handles recursive LAMBDA calls and if FACT is defined.
✗ Incorrect
The formula references FACT inside itself but FACT is not defined, so it causes an error.
❓ data_analysis
expert2:30remaining
Analyzing output of a LAMBDA function with multiple parameters
Given the formula:
What is the output?
=LAMBDA(a, b, c, IF(a>b, c, a+b))(3, 5, 10)What is the output?
Excel
=LAMBDA(a, b, c, IF(a>b, c, a+b))(3, 5, 10)
Attempts:
2 left
💡 Hint
Check the condition a>b and decide which value IF returns.
✗ Incorrect
Since 3 is not greater than 5, the formula returns a+b = 3+5 = 8.