Excel Writer / Sheet Appender with Excel Formulas

Hello, I’m using Table Creator to write excel formulas (vlookups to existing sheets) and would like to output them to Excel. Though when I use the existing excel writing nodes, the cells with formulas don’t execute, they are stagnant data values.

Has anyone been able to export excel formulas??

Thank you

Kunal, even though you can save formulas to Excel as text to be run they need to be changed to the type general. You can do necessary connections between data in KNIME directly. Or, create data and formula sheets in excel and populate from KNIME only data sheet.

Hi izaychik63, thanks for your response. Once I output to Excel the type is already General, however the formulas don’t execute. I’m not sure I understand “Or, create data and formula sheets in excel and populate from KNIME only data sheet.” this solution, could you walk me through an example?

It is not clear why you use KNIME to populate formulas in Excel? You can use your car as nut cracker too but over tools are cheaper. KNIME by itself cannot update Excel sheets just replace them. So, if you have permanent calculation but changing data you can place formulas referencing data on one sheet and data on the different one. For lookup you can use Join node in KNIME and export ready result to Excel. Just my recommendation.

4 Likes

Thanks for the response, however after all the manipulation of the data in Knime, the report is going to another employee who will manually change the data in one sheet. I’m trying to pull in his changes to an area in the sheets I’ve created in knime. Because of this second user manually updated data, I need to be able to write formulas and have them execute…

Could you provide an example of the data you receiving and the final result with formulas?

So for example, the formula I’ve written in the cell of the table creator is =VLOOKUP($D$8,SHEETNAME!$B:$X,3,FALSE), however when writing this to excel, it simply shows this formula in the cell vs executing the formula. This is the issue

In this entry I discussed several possibilities how to bring formulas from knime to excel. Unfortunately they involve using Python. But it is possible.

5 Likes

Thanks for this reply, I will look into the solution

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.