Skip to content

calculate cell formulas by default#26

Open
arteq wants to merge 1 commit intosegy:masterfrom
arteq:patch-1
Open

calculate cell formulas by default#26
arteq wants to merge 1 commit intosegy:masterfrom
arteq:patch-1

Conversation

@arteq
Copy link

@arteq arteq commented Feb 12, 2018

The 'setPreCalculateFormulas(true)' is needed to save the file with calculated forumulas. Without it if you have cell with formula ex. '=A1+A2' or `=SUM(A1:A2)' the result will be always zero until you reenter/recalculate the cell value once opened in Excel. Took me some time to figure this out, I belive it's the desired behavior for 99% developers who use any kind of formulas in generated spreadsheet so I'd make turned on by default.

The 'setPreCalculateFormulas(true)' is needed to save the file with calculated forumulas. Without it if you have cell with formula ex. '=A1+A2' or `=SUM(A1:A2)' the result will be always zero until you reenter/recalculate the cell value once opened in Excel. Took me some time to figure this out, I belive it's the desired behavior for 99% developers who use any kind of formulas in generated spreadsheet so I'd make turned on by default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant