text: public bool IsSubTotal(int rowIndex, int columnIndex){bool subtotal = false;IEvaluationCell cell = Sheet.GetCell(rowIndex, columnIndex);if (cell != null && cell.CellType == CellType.Formula){IEvaluationWorkbook wb = _bookEvaluator.Workbook;foreach (Ptg ptg in wb.GetFormulaTokens(cell)){if (ptg is FuncVarPtg){FuncVarPtg f = (FuncVarPtg)ptg;if ("SUBTOTAL".Equals(f.Name)){subtotal = true;break;}}}}return subtotal;}