The formula above is indeed the one you are looking for.
I can recommend the following to gain a deeper understanding of how formula’s work: Understanding Baserow Formulas // Baserow.
Furthermore, my advice is always to start small. Write a single if() function and check the result before you start nesting elements.
Also, check the documentation of each function. For example: when writing the if() function
You notice it requires 3 parameters:
- a bool expression that results to true or false
- what needs to be done if true
- what needs to be done if false
