1. Home
  2. Data Science
  3. Power BI
  4. What is the correct IF() syntax?

Added 12 Sep 2025

What is the correct IF() syntax?

  1. =IF(logical_test, {[value_if_true]}, {[value_if_false]})
  2. =IF(logical_test, TRUE([value_if_true]), FALSE([value_if_false]))
  3. =IF(logical_test: [value_if_true], [value_if_false])
  4. =IF(logical_test, [value_if_true], [value_if_false]) Correct answer

Correct answer

D. =IF(logical_test, [value_if_true], [value_if_false])

15 views

MCQSEXAM

Explanation

The IF function uses the syntax: =IF(logical_test, [value_if_true], [value_if_false]).

Reference

Asked in: Microsoft Excel Certification

https://support.microsoft.com/en-us/office/if-function

Preparing for an exam?

Doubts & discussion

Not sure why the answer is D? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Power BI MCQs

Practise all Power BI MCQs

Similar MCQs