Bug 87479 - Formula not getting calculated in libre office 4.3.4.1
Summary: Formula not getting calculated in libre office 4.3.4.1
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Libreoffice (show other bugs)
Version: 4.3.4.1 release
Hardware: All Windows (All)
: medium critical
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-19 07:32 UTC by SriJanani
Modified: 2015-01-04 11:29 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
formula issue (144.42 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-12-19 07:32 UTC, SriJanani
Details

Description SriJanani 2014-12-19 07:32:24 UTC
Created attachment 111029 [details]
formula issue

Can you help me the issue attached. 

Attached is the ods sheet

Steps to reproduce: 

*Open the file
*Go to sheet FG Capacity
*The sheet has all linked formulaes
*The problem where values are not getting updated is at column=AD(=AC*M4)
*Column C is the input column- for example if we enter value in C column it should auto refresh all the formulas.
*Weired thing is except columnAD all the values(cell values) are getting auto refreshed.

Steps Tried: 

* File is in ODS format
* Sheet does not have any external link
* this particular sheet is created in Libre calc
* Recalculate and auto recalculate not work
* Hard Recalculate ctrl+shft+f9 also does not work
* Deleted and readded the sheet does not work
* Deleted/inserted column does not work

Please advice.

Regards,
SriJanani
Comment 1 m.a.riosv 2014-12-20 01:15:05 UTC
Hello SriJanani,

Thank you for reporting the bug. To be certain the reported issue is not related to corruption in the user profile, could you rename this LibreOffice user directory ( see https://wiki.documentfoundation.org/UserProfile#Default_location or http://ask.libreoffice.org/en/question/903/where-are-the-libreoffice-data-profile-files/ ) and re-test?

I think works fine for me. if I put 250 in C4, AC4 change to 9.
Cells have rounded format so is necessary change in the input cell value enough to change the result.
Comment 2 aaker 2015-01-03 23:40:20 UTC
SriJanani

I assume your formula in "AD" is working as expected. Substituting al the refs by the appropriate values, you will get "=O4/C4*20*(((C4*(1+E4))*(1+H4))*(1+K4))/20".
Multiplying and subsequent dividing by 20 cancels out:
"=O4/C4*(((C4*(1+E4))*(1+H4))*(1+K4))"
Normalizing with the brackets you will get
"=O4/C4*C4*(1+E4)*(1+H4)*(1+K4)"
Once more dividing and subsequent multiplying by "C4" cancels out.
So changing the value in "C4" will change nothing to the result of your formula in "AD4".

cheers
Markus
Comment 3 aaker 2015-01-04 11:29:20 UTC
(In reply to aaker from comment #2)
> SriJanani
> 
> I assume your formula in "AD" is working as expected. Substituting al the
> refs by the appropriate values, you will get
> "=O4/C4*20*(((C4*(1+E4))*(1+H4))*(1+K4))/20".
> Multiplying and subsequent dividing by 20 cancels out:
> "=O4/C4*(((C4*(1+E4))*(1+H4))*(1+K4))"
> Normalizing with the brackets you will get
> "=O4/C4*C4*(1+E4)*(1+H4)*(1+K4)"
> Once more dividing and subsequent multiplying by "C4" cancels out.
> So changing the value in "C4" will change nothing to the result of your
> formula in "AD4".
> 
> cheers
> Markus

Verify proper calculation of formula by changing value in "O4"


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.