The IF function tests a condition and displays the result based on the condition. It is considered TRUE if the condition is met and it is considered FALSE if the condition is not met.
Formula:
=IF(Condition, Action if True, Action if False)
Video Tutorial:
Let us place a condition and display the result based on that, using the IF function, with the help of the below video