0
0
Excelspreadsheet~10 mins

LAMBDA for custom functions in Excel - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the formula to create a simple LAMBDA that adds 5 to a number.

Excel
=LAMBDA(x, x [1] 5)
Drag options to blanks, or click blank then click option'
A+
B-
C*
D/
Attempts:
3 left
💡 Hint
Common Mistakes
Using minus (-) instead of plus (+)
Using multiplication (*) or division (/)
2fill in blank
medium

Complete the formula to create a LAMBDA that multiplies two numbers a and b.

Excel
=LAMBDA(a, b, a [1] b)
Drag options to blanks, or click blank then click option'
A*
B+
C-
D/
Attempts:
3 left
💡 Hint
Common Mistakes
Using plus (+) or minus (-) instead of multiplication
Using division (/) by mistake
3fill in blank
hard

Fix the error in the LAMBDA formula that should subtract b from a.

Excel
=LAMBDA(a, b, a [1] b)
Drag options to blanks, or click blank then click option'
A/
B+
C*
D-
Attempts:
3 left
💡 Hint
Common Mistakes
Using plus (+) instead of minus (-)
Using multiplication (*) or division (/)
4fill in blank
hard

Fill the blank to create a LAMBDA that returns TRUE if x is greater than y.

Excel
=LAMBDA(x, y, x [1] y)
Drag options to blanks, or click blank then click option'
A=
B<
C>
D<>
Attempts:
3 left
💡 Hint
Common Mistakes
Using less than (<) or equals (=) instead of greater than (>)
Using not equal (<>) by mistake
5fill in blank
hard

Fill the blank to create a LAMBDA that returns the maximum of two numbers a and b.

Excel
=LAMBDA(a, b, IF(a [1] b, a, b))
Drag options to blanks, or click blank then click option'
A=
B>
C<
D<>
Attempts:
3 left
💡 Hint
Common Mistakes
Using less than (<) instead of greater than (>)
Using equals (=) or not equal (<>) incorrectly