SOLVED

IF Function not working on desktop app but OK online

Copper Contributor

I've been using excel on and off for over 20 years. My problem is that a simple IF statement works online but not on my desktop app.

 

=IF(C4=C5, "True", "False") was created online without errors and works, C4=1, C5=2

 

When I create the same on the desktop app I get this

daveg_i_norge_0-1728931242341.png

 I have the problem on both of my PC's. If I use the formula wizard I get the same error.

Any help would be appreciated.

 

Dave.

6 Replies

@daveg_i_norge 

Try replacing comma with semicolon.

@Detlef_Lewin thanks for a quick reply. I have tried ; and . and , this is driving me crazy. 
if I download the file created online and open it on the desktop app it functions correctly , if I try and edit the formula it errors with the same message as before. 

 

@daveg_i_norge 

Press the Windows key+R to activate the Run dialog.

Type    control international   and press Enter or click OK.

Click Additional settings...

What is the List separator?

HansVogelaar_0-1728940172056.png

Activate the Currency tab.

What are the Decimal symbol and the Digit grouping symbol?

HansVogelaar_0-1728940300790.png

 

@HansVogelaar Thanks for you reply

 

List separator: .

Decimal symbol: ,

Digit grouping: .

 

daveg_i_norge_0-1728980949594.png

 

daveg_i_norge_1-1728980971101.png

 

 

best response confirmed by daveg_i_norge (Copper Contributor)
Solution

@daveg_i_norge 

Thank you. Point is not a good choice for the List separator. I'd set it to semicolon ;

You can then use ; between the arguments of a formula:

 

=IF(C4=C5; "True"; "False")

I was just working with that as you replied. Yes setting the List Separator to ; has solved the problem.
Thank you for your time .
1 best response

Accepted Solutions
best response confirmed by daveg_i_norge (Copper Contributor)
Solution

@daveg_i_norge 

Thank you. Point is not a good choice for the List separator. I'd set it to semicolon ;

You can then use ; between the arguments of a formula:

 

=IF(C4=C5; "True"; "False")

View solution in original post