Excel supports reusable lambdas: https://support.microsoft.com/en-us/office/lambda-function-b...
Abstractly.
Listing all possible inputs with their outputs, and then doing a lookup....that's only sometimes useful.
If we're talking Excel 2021, Excel 2019, etc. then no.