Ask Your Question
2

What does the error message "Incorrect number of arguments in IF. Expected 2-3 arguments, but received 4 arguments" mean?

asked 2023-07-03 22:33:02 +0000

nofretete gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-07-03 22:59:02 +0000

huitzilopochtli gravatar image

This error message means that an IF statement was called with four arguments, when it should have been called with only two or three arguments. The correct syntax for an IF statement is: "IF(condition, valueiftrue, [valueiffalse])". So if there are four arguments, it means that there is an extra argument which is causing the error.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-07-03 22:33:02 +0000

Seen: 13 times

Last updated: Jul 03 '23