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.


1 Answer 1


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:


It's a locale issue as answered here

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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