question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Formula not applied!

See original GitHub issue

In Excel Viewer C6 cell will not be displayed at all: sheet.getCell("C6").value = {formula:"SUM(C2:C5)"}; But Libre Office (Linux) will display cell and apply formula correctly. If I put it this way it will be displayed in Excel also: sheet.getCell("C6").value = {formula:"SUM(C2:C5)", result: 5}; But in this case result field needs to be calculated programatically instead in Excel. Is it even possible to apply formula to a cell so that Excel makes a calculation?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
nkagarwcommented, Jan 18, 2019

Setting cell.value.result=undefined is not causing excel to recalculate the formula automatically when I open the output in excel. I’m forced to do Ctrl+Alt+Shift+F9 to recalculate the formula. But, I was able to get the desired behavior by setting cell.model.result=undefined.

Thanks!

1reaction
mercmobilycommented, Jul 15, 2019

I know this issue is closed and I am late to the party, but please allow me to leave my 2c:

  • this precious, priceless hint should be documented
  • there should be a method to set a cell as “To recalculate”, to be used if exceljs modifies a cell that should trigger a recalculation
Read more comments on GitHub >

github_iconTop Results From Across the Web

Excel Formulas Not Working? 5 Ways to Fix Them - MakeUseOf
1. Calculation Options Set to Manual · 2. Cell Is Formatted as Text · 3. Show Formulas Button Is Turned On · 4....
Read more >
How to Fix Excel Formulas that are Not Calculating or Updating
When Excel is in Manual Calculation mode, the formulas in your worksheet will not calculate automatically. You can quickly and easily fix your ......
Read more >
Excel Formulas Not Working: Possible Reasons and How to ...
Excel Formulas Not Working: Possible Reasons and How to FIX IT! · Incorrect Syntax of the Function · Extra Spaces Causing Unexpected Results ......
Read more >
Excel Formulas Not Calculating? What to Check | Pryor Learning
1. Check for Automatic Recalculation ... On the Formulas ribbon, look to the far right and click Calculation Options. On the dropdown list,...
Read more >
6 Main Reasons for Excel Formulas Not Working (with Solutions)
6 Main Reasons for Excel Formula Not Working (with Solution) · #1 Cells Formatted as Text · #2 Accidentally Typed the keys CTRL...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found