As you explore and transform your data, you might need to create new custom columns based on formulas of your choice. You can do that easily by adding a new formula-based column as a step in your recipe.
Open your recipe and click on New Step on top
In the Search bar that appears, look for Formula and select the New Formula option
You can now add a formula of your choice and the desired name for the new column getting created.