public override void Calculate(CalculationData data) { // Check the forumla name and calculate it yourself if (data.FunctionName == "MyCompany.CustomFunction") { // This is our calculated value data.CalculatedValue = "Aspose.Cells."; } } }