Hi @Hey_Matthew , this cannot be done with the Rule Engine as unfortunately it cannot perform calculations, but can only handle comparisons between columns and literals.
If you are using KNIME 5.3 or later, the new Expression node is ideally suited for this.
Note, that the Expression node also has a constant for Pi, so you don’t need it as a separate column. For example, if you had columns named “Radius” and “Volume of Sphere” you could write it as:
4/3 * PI * pow($["Radius"],3) = $["Volume of Sphere"]
If you need to allow for small rounding errors, you could write it like this:
abs(4/3 * PI * pow($["radius"],3) - $["volume of sphere"] ) < 0.00001
Try this. Rounding errors are tricky. As @takbb said, the Column Expressions node is more elegant, but requires a small bit of “coding”. Volume of Sphere.knwf (121.0 KB)