If
Checks whether a condition is met, returns one value if true and another value if false. 【logical】is the logical condition, an expression that evaluates to true or false. 【value1】is the value returned if the logical condition is true. 【value2】is the value returned if the logical condition is false. IF supports nested usage and can be used to check if a cell is blank/empty.
Input formula
Select a field or function
Number
Sum
Average
Max
Min
Round
Round Up
Round Down
Ceiling
Floor
Even
Odd
Int
Abs
Sqrt
Mod
Power
Exp
Log
Value
Text
Concatenate
Find
Search
Mid
Replace
Substitute
Len
Left
Right
Lower
Upper
Rept
T
Trim
Encode URL Component
Logic
If
Switch
True
False
And
Or
Xor
Blank
Error
Is Error
Not
Date
Today
Now
To Now
From Now
Date Add
Datetime Diff
Workday
Workday Diff
Is After
Is Before
Is Same
Datetime Format
Datetime Parse
Datestr
Timestr
Year
Month
Weekday
Weeknum
Day
Hour
Minute
Second
Set Locale
Set Timezone
Created Time
Last Modified Time
Array
Array Compact
Array Unique
Array Join
Array Flatten
Count
CountA
CountIf
CountAll
Object
Record ID
IF
Checks whether a condition is met, returns one value if true and another value if false. 【logical】is the logical condition, an expression that evaluates to true or false. 【value1】is the value returned if the logical condition is true. 【value2】is the value returned if the logical condition is false. IF supports nested usage and can be used to check if a cell is blank/empty.
Usage
IF(logical_test, value_if_true, value_if_false)
Example
IF(Score > 60, "Pass", "Fail")
IF(WaterTemp > 100, IF(WaterTemp < 212, "just right", "too hot"), "too cold")
IF(Date = BLANK(), "Please enter date", "Date entered")
![bika cta](/assets/blog/blog-cta.en.png)
Recommend Reading
- Bika.ai vs Airtable: To Notifying code review status
- Revolutionize Team Communication with Feishu Scheduled Notifications
- Airtable Pricing vs. Bika.ai Pricing: Which is More Advantageous for Notify about new content?
- Revolutionize Your Social Media Strategy with LinkedIn Post Automation
- Bika.ai vs Airtable: To Risk Assessment