For good one year, I have followed discussion about LAMBDA function in Excel. Finally the day came, that I found LAMBDA in my own Excel 365. LAMBDA is very versatile function, I just show one example to enjoy the LAMBDA.
If you are working with business-to-business sale persons, they talk prices without value added tax. When I think prices, I think with VAT. So, I need to multiply sales persons’ price with 1,24 to have the prices I understand.
In Excel this can be done in multiple ways.

Write a formula to add 24 % as above.
Another option is to write a custom function. Function is a predefined calculation which returns you a value based on input value(s).

Z_vat is a function. We need to have price to calculate Z_vat. Simply, price multiplied by 1,24 equals to Z_vat meaning the price with value added tax. Save the function in the personal workbook and the custom function is available in all the Excel workbooks.

Use Z_vat as any other function.
Also LAMBDA can be used for calculating value added tax price.

Select formulas and name manager.

The first argument in LAMBDA is price and second price multiplied by 1,24.


This is done with LAMBDA.
In this example, custom function with VBA might have been handier than LAMBDA. Still, LAMBDA offers lots of possibilities. VBA can get long and complex, then LAMBDA is better solution.










