6

I have problems with my IF command in Google Sheets. If gives #ERROR! all the time. See this simple test:

Error screen shot

Not even if I put in the number directly and avoid references:

Error screen shot 2

Am I using the IF wrong? Or what could such a problem be? This example is from a new document.

0

1 Answer 1

6

I noticed that you are in Denmark.

Do you by chance write one and a half as 1,5 rather than 1.5?

If so, you need to use semi-colons rather than commas. Try:

=IF(3>1;1;0)

It's a locale issue as answered here

1
  • 1
    Great! Well spotted :) Thanks a lot for both answers.
    – Steeven
    Commented Oct 3, 2013 at 14:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.