Mixing decimal numbers in Calc
Posted: Sun May 26, 2019 5:07 pm
Hi,
I regularly have issues with numbers formatting. I mainly use the French (Canada) locale (as is my OS as well). But I set the numbers in cell to be English (Canada), to follow a more natural format for the numbers using a '.' (dot) instead of the comma. If I use 2 cells with numbers such as 123.45 and/or 123,45 I can sum these cells without any trouble. Mixing them works just fine.
However, if I use a formula like "=A2+B2" then it gets ugly.
A2=123.45
B2=123.45
C2=A2+B2 = 246.90
A2=123,45 (notice the comma here)
B2=123.45
C2=A2+B2 = 246.90
C2=123.45+123.45 = #NAME?
C2=123,45+123,45 = 246.90
I cannot find a way to seamlessly make it work. It's confusing cause I can "almost" always use the 'dot' notation when entering numbers (or currency), but when a put in an explicit addition ('+'), I have to use the comma where everywhere else it's the dot.
Do anyone have an idea how to fix that ???
Thanks in advance
I regularly have issues with numbers formatting. I mainly use the French (Canada) locale (as is my OS as well). But I set the numbers in cell to be English (Canada), to follow a more natural format for the numbers using a '.' (dot) instead of the comma. If I use 2 cells with numbers such as 123.45 and/or 123,45 I can sum these cells without any trouble. Mixing them works just fine.
However, if I use a formula like "=A2+B2" then it gets ugly.
A2=123.45
B2=123.45
C2=A2+B2 = 246.90
A2=123,45 (notice the comma here)
B2=123.45
C2=A2+B2 = 246.90
C2=123.45+123.45 = #NAME?
C2=123,45+123,45 = 246.90
I cannot find a way to seamlessly make it work. It's confusing cause I can "almost" always use the 'dot' notation when entering numbers (or currency), but when a put in an explicit addition ('+'), I have to use the comma where everywhere else it's the dot.
Do anyone have an idea how to fix that ???
Thanks in advance