Computer PPSC
What is IF function in excel?
Explanation
Excel's IF is a logical function with the syntax =IF(condition, value_if_true, value_if_false). It tests a condition and returns one value when the condition is TRUE and another when it is FALSE — e.g. =IF(A1>50,"Pass","Fail").
Related facts:
IF belongs to Excel's Logical function category, alongside AND, OR and NOT.
IF can be nested for multiple conditions; newer Excel also has IFS and SWITCH.
Logical functions return TRUE/FALSE values that drive decision-making in spreadsheets.
Exam tip: Function-category questions (IF = logical, SUM = math, VLOOKUP = lookup) are standard MS Office MCQs.