Class
CountIf

Implements the COUNTIF function, which counts cells in a range that meet a specified criteria.

Definition

Constructors

CountIf()

Initializes a new instance of the COUNTIF function.

Declaration

cs-api-definition
public CountIf()

Fields

FunctionName

The name of the function.

Declaration

cs-api-definition
public static readonly string FunctionName

Field Value

string

Properties

ArgumentConversionRules

Gets the argument conversion rules.

Declaration

cs-api-definition
public override ArgumentConversionRules ArgumentConversionRules { get; }

Property Value

ArgumentConversionRules

The argument conversion rules as ArgumentConversionRules.

Overrides FunctionBase.ArgumentConversionRules

FunctionInfo

Gets the function info.

Declaration

cs-api-definition
public override FunctionInfo FunctionInfo { get; }

Property Value

FunctionInfo

The function info as FunctionInfo.

Overrides FunctionBase.FunctionInfo

Name

Gets the name of the function.

Declaration

cs-api-definition
public override string Name { get; }

Property Value

string

The name as String.

Overrides FunctionBase.Name

Methods

EvaluateOverride(FunctionEvaluationContext<object>)

Evaluates the COUNTIF function and returns the count of cells matching the criteria.

Declaration

cs-api-definition
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<object> context)

Parameters

context

FunctionEvaluationContext<object>

The context.

Returns

RadExpression

Functions result as RadExpression.

Overrides FunctionWithArguments.EvaluateOverride(FunctionEvaluationContext<object>)