Skip to main content

ErrorType Enum

Lists errors that can occur in cells.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core


public enum ErrorType


Name Description

There is no error in the cell.


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


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


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


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?.


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


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


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:


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