Here is my Full Walkthrough of the KNIME Workflow, enjoy!
Description: Using KNIME Analytics Platform to replicate and automate one of the commonly used Excel Functions – Inserting and Calculating Formula.
What makes Excel so versatile and able to meet all the demands of its users, is its ability to insert and calculate Formula, but as we are undergoing digital transformation across all industries, we should find a way to simplify and automate our tasks and reports. The largest hindrance in completely automating Excel files are those that contain Formula. What user need is to replicate the formula that they used in their Excel files at the same time automate to provide time saves for the user. So I have created a KNIME Workflow with a ready-made Python Script to automate spreadsheet that contains any Formula by simply copying them and pasting it to the KNIME Workflow or from an External File that would be fed into the workflow. This KNIME Workflow has functionalities as listed below
- Inserting Formula
- Inserting Array Formula (includes CTRL+SHIFT+ENTER Function)
- Autofill Formula (Drag Formula Down &/or Right)
- Calculate / Refresh Formula
Users can reuse the workflow or its nodes in their respective projects without any Python programming background, but they should take note of the requirements that need to be installed first before they can run the KNIME workflow.
Please take note that there will be special handling for Dynamic Array Formula which requires knowledge on Column Expression Node Syntax.
Requirements:
How to Set Up the KNIME Python Extension
Note: You may require to install KNIME extensions to use some of the nodes in the workflow.
Python Libraries Required:
To Install Python Libraries, Go to Start Menu, Select Anaconda3 Folder, Select Anaconda Prompt (Anaconda3), Type: pip install name_of_python_library
Note: You may require additional modules if the listed libraries have pre-requisite modules needed to install first in order to run such as (Ast, Jpype, Numpy, Pickle, etc.) if this did not came with the Anaconda3 installation.
Author: Daniel Si
Read Further Here