# CellObject

Source: /xlsx-format/api-reference/interfaces/cellobject

Worksheet Cell Object containing value, format, formula, and metadata

```ts
interface CellObject
```

## Properties

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| ` v ` | ` string \| number \| boolean \| Date ` | No | Raw cell value (string, number, boolean, or Date) |
| ` w ` | ` string ` | No | Formatted text representation of the cell value |
| ` t ` | [` ExcelDataType `](</xlsx-format/api-reference/types/exceldatatype/>) | Yes | Cell data type code |
| ` f ` | ` string ` | No | Cell formula string (without leading "=") |
| ` F ` | ` string ` | No | Range of a shared/array formula (e.g. "A1:B2") |
| ` D ` | ` boolean ` | No | If true, the formula is a dynamic array formula |
| ` r ` | ` any ` | No | Rich text / XML representation |
| ` h ` | ` string ` | No | HTML rendering of the cell (when cellHTML option is enabled) |
| ` c ` | [` Comments `](</xlsx-format/api-reference/interfaces/comments/>) | No | Comments attached to this cell |
| ` z ` | [` NumberFormat `](</xlsx-format/api-reference/types/numberformat/>) | No | Number format string or index |
| ` l ` | [` Hyperlink `](</xlsx-format/api-reference/interfaces/hyperlink/>) | No | Hyperlink on this cell |
| ` s ` | [` CellStyle `](</xlsx-format/api-reference/interfaces/cellstyle/>) | No | Style object (when cellStyles option is enabled) |
| ` XF ` | ` { numFmtId?: number; numFmt?: ` [` NumberFormat `](</xlsx-format/api-reference/types/numberformat/>) ` } ` | No | Raw XF (extended format) record data |
