Excel writer is doing great job in writing data to Excel, either by appending data to end or by selecting sheets to write to.
When sharing Excel worksheet with audience it is sometimes required to provide interaction with Pivot Table, or some existing formulas within the workbook, in order to benefit from the KNIME data injection to Excel, we need the ability to name the range of the data, so later use it to refresh Pivot table, or activate formula using this range.
@david_abekasis you could use Python’s openpyxl package to provide Excel with a named area:
Yes, I actually found this option before, and asked it as a possible new feature.
Actually your suggestion of creating Excel table is a wider option, that includes table filter, sorting and designing and assign a name to the range, while named range is only the name for that range of cells.
see whats-the-difference-between-a-table-and-a-named-range-in-excel-2007, but that is already off-topic.
Hello @david_abekasis ,
have a look at the new Excel Cell Updater node that we have released with KNIME Analytics Platform 4.5. You can specify the cell coordinates you want to write.
Bye
Tobias
I have “met” this new great tool, but it does not answer my request,
as cell updater requires the “original” named range, to not change,
while we’re talking about writing arbitrary data table, and to name its range accordingly.
For what it is worth I brought the example to the new python environment so the use of openpyxl might serve as an example
@david_abekasis the Excel functions in KNIME are expanding but for a lot of things you would have to use python or R packages like openpyxl.
Although it does not answer your question you are aware of the Continental Excel nodes I assume:
This is great, thank you for taking the step further, and having examples on the new Python integration, and the required implementation of named ranges or Table as you did.
And yes we are already using continental nodes, Thanks.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.