Select the “if” formula

We want to perform two different actions depending on the month of the year. For this reason, we need to use the following formula:

if(condition, value 1, value2)

This formula will check if the written condition is true or false and create a new series with value 1 when the condition is true, and value 2 when the condition is false.