I\'m struggling for sometime with this problem and I am not able to find any solution on-line. Closest I get is how to write Basic function that can be used in Calc\'s formula,