Skip to main content
Row

ErrorType Enum

Lists errors that can occur in cells.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public enum ErrorType

Members

Name Description
None

There is no error in the cell.

Value

The formula includes a value of the wrong data type. This error is indicated as #VALUE!.

DivisionByZero

The formula includes division by zero or by a cell that does not contain any data. This error is indicated as #DIV/0!.

Number

The formula or function includes invalid numeric values. This error is indicated as #NUM!.

Name

The formula includes text that is not recognized (for example, a defined name that does not exist, a function name that is spelled incorrectly, a cell range reference without colon, etc.). This error is indicated as #NAME?.

Reference

The formula include an invalid cell reference. This error is indicated as #REF!.

NotAvailable

The value is not available to the formula or function. This error is indicated as #N/A.

Null

The specified intersection includes two ranges that do not intersect. This error is indicated as #NULL!.

Related API Members

The following properties accept/return ErrorType values:

Remarks

If a cell contains a formula that cannot be calculated correctly, this cell displays an error. In this case, the cell value’s CellValue.IsError property returns true and the CellValue.ErrorValue property returns the ErrorValueInfo object that provides information on the error that occurred in the cell. The ErrorValueInfo.Type property returns ErrorType enumeration member that specifies an error type.

For more information on cell values, see the Cell Data Types document.

See Also