[Solved] Calculation function not working

Discuss the spreadsheet application
Post Reply
sonkraus
Posts: 5
Joined: Wed Oct 29, 2014 3:52 pm

[Solved] Calculation function not working

Post by sonkraus »

I set my equation beginning with "=" but it doesn't calculate. Do I have something shut off?
Last edited by Hagar Delest on Wed Oct 29, 2014 11:14 pm, edited 1 time in total.
Reason: tagged [Solved].
open office 3.1 & windows 7
User avatar
Villeroy
Volunteer
Posts: 31365
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: calculation function not working

Post by Villeroy »

Tools>Options>Calc>View: Display Formulas = OFF
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
sonkraus
Posts: 5
Joined: Wed Oct 29, 2014 3:52 pm

Re: calculation function not working

Post by sonkraus »

thanks but when I get to "View" there is no "Display Formulas = Off"
open office 3.1 & windows 7
User avatar
RoryOF
Moderator
Posts: 35262
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: calculation function not working

Post by RoryOF »

Try
/Tools /Options /OpenOffice Calc /View and in the Display area uncheck the Formulae checkbox.
Apache OpenOffice 4.1.16 on Xubuntu 26.04.1 LTS
sonkraus
Posts: 5
Joined: Wed Oct 29, 2014 3:52 pm

Re: calculation function not working

Post by sonkraus »

Ok got there but formula checkbox is already unchecked so this is not problem
open office 3.1 & windows 7
User avatar
RoryOF
Moderator
Posts: 35262
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: calculation function not working

Post by RoryOF »

In that case, please upload to the Forum a small sample file with a trivial calculation so we can see what is happening/wrong.
Apache OpenOffice 4.1.16 on Xubuntu 26.04.1 LTS
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: calculation function not working

Post by acknak »

Check the cell format (menu: Format > Cell > Numbers ...). The format must be something OTHER THAN "Text" in order for the formula to be active.

If the cell format is Text, change it to Category: Number, Format: General (or click the "Reset" button below), then re-enter the formula (you have to change a character to make the edit take effect.
AOO4/LO5 • Linux • Fedora 23
sonkraus
Posts: 5
Joined: Wed Oct 29, 2014 3:52 pm

Re: calculation function not working

Post by sonkraus »

let me describe with this example. The cell is not maintaining the equation
A1 A2 A3
44 - 42 = 2 (the equation is "=A1-A2" in cell A3)

However when I change cell A1 or A2 to another number the equation doesn't calculate the change. To correct I have to go in cell 3 and re-enter the equation again. It seems like the equation works once and then like freezes
open office 3.1 & windows 7
coray80
Volunteer
Posts: 357
Joined: Thu Mar 01, 2012 6:41 am

Re: Calculation function not working

Post by coray80 »

Tick
menu > Tools > cell contents > auto calculate
OpenOffice 4.1.2 on Windows 7
If your question has been answered please add [solved] to the title by using the edit button at your first post
User avatar
Villeroy
Volunteer
Posts: 31365
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Calculation function not working

Post by Villeroy »

What do you do? Enter some formula in C1 -- say =A1+B1 -- and edit preceding values A1 and B1.
What do you get? The formula in C1 does not update when preceding values in A1 and B1 change.
What is wrong? You expect that C1 shows the new calculated value according to the modified values in A1 and B1.

Most answers assume the following scenario:
What do you do? Enter some formula in C1 -- say =A1+B1
What do you get? C1 displays the literal text "=A1+B1"
What is wrong? You would expect that C1 shows thenew calculated value according to the values in A1 and B1.
The misleading answers refer to 2 possible causes: there is an option to display all formulas instead of the results and you can format cells so they treat any input as literal text.

How To Ask Questions The Smart Way
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
sonkraus
Posts: 5
Joined: Wed Oct 29, 2014 3:52 pm

Re: Calculation function not working

Post by sonkraus »

problem solved see coray80 i.e cell contents not "auto calculate"
Thanks
open office 3.1 & windows 7
JamruLapor
Posts: 1
Joined: Thu Jan 11, 2018 9:53 pm

Re: [Solved] Calculation function not working

Post by JamruLapor »

After using these tips, I was still having the problem. It started working after introducing a space between the function name and the open parenthesis. In other words "=CONCATENATE(A1;B1;C1)" did not work, but "=CONCATENATE (A1;B1;C1)" did. Interestingly, I was unable to reproduce the original problem on another machine, even though both are running OpenOffice 4.1.5 on Windows 10.
OpenOffice 4.1.5, Windows 10
Post Reply