- the logic test
- the value if true
- the value if false
If these are placed in a different order, the function will return an error message or give you an answer you were not expecting.
In addition to the order of arguments, the syntax also refers to the separators between the arguments. Most functions, including the IF function, use the comma as a separator.
The syntax of the IF function is:
=IF(logic test, value if true, value if false)
Note: Since the syntax of the IF function requires a comma to separate the three arguments of the function, you cannot use a comma as a separator in numbers greater than a thousand. If you do, Excel gives you an error message.

