Feature request: multi-reference ranges (eg. A1:B2:C3:D4:E5
)
#1460
Replies: 3 comments 7 replies
-
Hi @argandsolutions, thank you for reaching out. I'm not sure what you mean. The example you provided works in HyperFormula if you remove the redundant middle cell addresses from the range specifications: import HyperFormula from 'hyperformula';
const hf = HyperFormula.buildFromArray([
['=SUMIFS(A2:C2, D2:F2, ">1")'],
[1, 2, 3, 4, 5, 6]
],{
licenseKey: 'gpl-v3',
});
console.log(hf.getSheetValues(0)); Can you describe the requested feature in more detail and provide more examples? |
Beta Was this translation helpful? Give feedback.
-
ODFF reference on ranges: https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part4-formula/OpenDocument-v1.3-os-part4-formula.html#__RefHeading__1018032_715980110 |
Beta Was this translation helpful? Give feedback.
-
@argandsolutions It's a valid feature request. It just needs the proper specification. The HyperFormula team will probably consider it low-priority, but it's still worth discussing. The main issue is that, as far as I can see, Microsoft Excel interprets such ranges differently from the OpenFormula standard. OpenFormulaAccording to the Standard, range Microsoft ExcelI couldn't find any official reference describing the syntax of range specification in Excel, but it seems that If we were to consider adding this feature, we would need to choose one of the above semantics or implement both and introduce a configuration option to switch between them. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Idea
Could we add support for individual cells within the sum/criteria ranges for SUMIFS?
Example
=SUMIFS(A2:B2:C2, D2:E2:F2, ">1")
At present, i've found that only ranges (sum or criteria) within the same column are supported i.e. =SUMIFS(A2:A4, B2:B4, ">0")
I'd be happy to contribute towards this functionality if that would be helpful.
Beta Was this translation helpful? Give feedback.
All reactions