What is the function of the IF function in Excel?
- A Perform logical tests (correct answer)
- B Perform given tasks
- C Perform all functions
- D Format cells
Correct answer: A. Perform logical tests
The IF function performs a logical test and returns one value if it is true and another if it is false.
Example: =IF(A1>=50, “Pass”, “Fail”).