Repository navigation
Replace ={Sheet1!$A:$A} with a named range?
#1532
Replies: 3 comments
|
Hey, @jablko, thanks for reaching out. As you observed yourself, it is possible to define a named expression that corresponds to a range: hf.addNamedExpression('myRange', '=Sheet1!$A:$A');And it seems to be working inside formulas: hf.setCellContents(addr, '=SUM(myRange)');But for some reason, it returns an error when you try to use it directly in a cell: hf.setCellContents(addr, '=myRange'); // ERROR: 'Cell range not allowed.'It looks like a bug in HyperFormula that we need to examine closely to determine why it works this way. Thank you for reporting it. |
|
Let's continue the discussion on this issue here: #1533 |
|
Please note that HyperFormula feature requests have been moved to the Handsontable forums: |
Uh oh!
There was an error while loading. Please reload this page.
Is it possible to replace the formula
={Sheet1!$A:$A}with a named range i.e.=myRange? Is there a trick I don't yet know?The following:
Prints:
All reactions