Handle sharedFormula cells from exceljs #1448
Replies: 3 comments 4 replies
-
Hi @eddiesholl, thanks for reaching out to us 👋 According to the ExcelJS docs, a shared formula is an optimization used by Excel to keep the xlsx files smaller and less repetitive. Please, let me know if this solution works for you ;) |
Beta Was this translation helpful? Give feedback.
-
[Note to self] Related: https://handsoncode.slack.com/archives/C031GBX62SE/p1703083619846689 (resource not available publically) |
Beta Was this translation helpful? Give feedback.
-
The File import guide and the example code will be updated by PR: #1470 and deployed during the upcoming HyperFormula release. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to set up a fairly straightforward workflow using exceljs to modify a sheet, then pull it into hyperformula to achieve recalculation of formula values. Basically following the example at https://hyperformula.handsontable.com/guide/file-import.html#overview
The content is failing to be parsed on cells with a
sharedFormula
present. Is it right that hyperformula can't process this syntax?I haven't been able to find anything in the exceljs docs to prevent use of shared formulas.
I was messing around with a solution that uses a parser and an unparser to shift cell references based on the offset to the master. Given that's all using private APIs it felt like a risky way to do it, I was hoping there might be a better known solution available? I've seen mention of the idea of making those APIs public but nothing beyond that, ie #854
Beta Was this translation helpful? Give feedback.
All reactions