Im trying to write the same formula I have in excel in to Airtable and Airtable erases everything but the first if(and()) statement.
Im trying to write the same formula I have in excel in to Airtable and Airtable erases everything but the first if(and()) statement.
Best answer by Kenneth_Raghuna
IF(Statement = 1, "3",
IF(
AND(0 < Statement2, Statement2 <=50),
1,
IF(
AND(50 < Statement2, Statement2 <= 100),
1.5,
IF(
Statement2 > 100,
2
)
)
)
)
You just had the commas in the wrong spot. When you nest IF() statements, make sure to put the next condition to check in the value2 (false return) location.
IF(condition, value1, value2)
Note that the closing parenthesis is after value2.
Separating things by more lines can make things easier. Sometimes I prefer to write it out this way:
IF(
Condition,
value1(true return),
value2(false return)
)Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.