IIF() Function

The IIF() statement has the following format:

=IIF( Expression to evaluate,
         what-to-do when the expression is true,
         what-to-do when the expression is false )

Parameter1: It should be a bollean expression.
Paremeter2: This value will return when Expression is true.
Paremeter3: This value will return when Expression is false.

IIF() is same as IF ELSE function.

Example

Microsoft Ignite Cloud Skills Challenge
Microsoft offering a free Certification exam on Cloud Skills Challenge for the month March 2021. You can learn new skills from Microsoft website ...
Microsoft offering Free Azure AI Fundamentals Certification Exam (AI-900) if you Attend a Microsoft Azure Virtual Training Day on select dates available.
Microsoft offering Free Azure Fundamentals Certification Exam (AZ-900) if you Attend a Microsoft Azure Virtual Training Day on select dates available.
Microsoft offering Free Azure Data Fundamentals Certification Exam (DP-900) if you Attend a Microsoft Azure Virtual Training Day on select dates available.