Introduction
Create custom functions in Excel
()
What you should know before starting
()
1. Introducing Custom Functions in Excel
Explore custom functions in Excel VBA
()
Describe the Excel formula language
()
Describe the goals of formula programming
()
Manage formulas on the Formula Bar
()
2. Creating a Custom Function
Define a function using LAMBDA
()
Assign a function name to a LAMBDA
()
Define a variable using LET
()
Use a LET statement in a LAMBDA
()
Refer to Excel tables in a LAMBDA
()
3. Adding Logic to a Custom Function
Create logical branches using IF and IFS
()
Select a value using CHOOSE
()
Select a value or display a default value using SWITCH
()
4. Creating Custom Functions for Specific Solutions
Scenario: Calculate Economic Order Quantity
()
Scenario: Calculate quality of service
()
Scenario: Calculate process capacity given a batch size
()
Scenario: Clean up imported text
()
5. Using LAMBDA within Other Functions
Update values using MAP
()
Summarize values using REDUCE
()
Calculate intermediate values using SCAN
()
Generate an array of values using MAKEARRAY
()
Apply a LAMBDA to an array by column using BYCOL
()
Apply a LAMBDA to an array by row using BYROW
()
Manage LAMBDA output
()
Troubleshoot LAMBDA output
()
Conclusion
Further resources
()
Ex_Files_CreateCustomFunctions.zip
(177 KB)