protected bool ShouldIgnore(FunctionArgument arg) { if (IgnoreHiddenValues && arg.ExcelStateFlagIsSet(ExcelCellState.HiddenCell)) { return true; } return false; }