[Solved] LibreOffice Calc IF function not working?

Discuss the spreadsheet application
Post Reply
reidnord
Posts: 2
Joined: Wed Jan 02, 2013 1:11 pm

[Solved] LibreOffice Calc IF function not working?

Post by reidnord »

Hey, just entered this forum searching for a strange case:
The IF functions always return #NAME

Code: =if (C2 = 3 ;"OK";"FAIL") I tried several variations without sucess.
I guess there is something with my setup:

LibreOffice 3.5.4.2 Bygg-ID: 350m1(Build:2) On top of Ubuntu 12.04 with Norwegian character set and keyboard.
Screendump to show the situation.
Screendump to show the situation.
screendump calc.png (7.9 KiB) Viewed 7539 times
Any idea, anyone?
Thanks
Reidar
Last edited by reidnord on Wed Jan 02, 2013 2:56 pm, edited 2 times in total.
LibreOffice 3.5.4.2
Bygg-ID: 350m1(Build:2)
on Ubuntu 12.04 (64 bit)
Shenshen
Posts: 10
Joined: Tue Jan 01, 2013 7:07 pm

Re: LibreOffice Calc IF function not working?

Post by Shenshen »

Bit of a stab in the dark, but in my version the delimiter inside the formula would need to be , not ;
Give it a try and let us know if that worked?
LibreOffice 3.4.5 on RedHat 6.3
FJCC
Moderator
Posts: 9635
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: LibreOffice Calc IF function not working?

Post by FJCC »

If the language is set to Norwegian, shouldn't the function name be entered in Norwegian? That is, instead of IF() use (if I can rely on Google translate) HVIS().
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
User avatar
RoryOF
Moderator
Posts: 35237
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: LibreOffice Calc IF function not working?

Post by RoryOF »

It worked for me on AOO 3.4.1 using ; - try IF instead of if.
Apache OpenOffice 4.1.16 on Xubuntu 24.04.4 LTS
Shenshen
Posts: 10
Joined: Tue Jan 01, 2013 7:07 pm

Re: LibreOffice Calc IF function not working?

Post by Shenshen »

Looking at the screenshot, do you have a space between if and (?
If you do, delete it.
LibreOffice 3.4.5 on RedHat 6.3
reidnord
Posts: 2
Joined: Wed Jan 02, 2013 1:11 pm

Re: LibreOffice Calc IF function not working?

Post by reidnord »

FJCC wrote:If the language is set to Norwegian, shouldn't the function name be entered in Norwegian? That is, instead of IF() use (if I can rely on Google translate) HVIS().
Thanks! You saved me form fooling around!

Thanks again

Reidar
LibreOffice 3.5.4.2
Bygg-ID: 350m1(Build:2)
on Ubuntu 12.04 (64 bit)
Post Reply