Formula

ChartDataCell.Formula property

获取或设置 A1 样式的公式。

public string Formula { get; set; }

例子

[C#]
IChartDataCell cell = workbook.GetCell(0, "B2");
cell.Formula = "1 + SUM(F2:H5)";

也可以看看