# CELL Function

> Return the address, row, column, contents, type, format or width of a cell with the CELL formula function of TX Sheet Control: info_type values and reference.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > CELL Function
- **293 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/cell/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/cell/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/cell/llms-full.txt

---

Return information about the formatting, location or contents of a cell. `info_type` is the kind of information, such as `"address"`, `"row"`, `"col"`, `"contents"`, `"type"` (`"b"` for blank, `"l"` for text, `"v"` for a value), `"format"`, `"width"`, `"prefix"`, `"protect"`, `"color"`, `"parentheses"` or `"filename"`. `reference` is the cell; for a range, its upper-left cell is used, and without it, CELL describes the cell that holds the formula. An unknown `info_type` returns `#VALUE!`.

### Syntax

```text
CELL(info_type, reference)
```

Category: Information. Minimum arguments: 1. Maximum arguments: 2.

Available for supported offline calculation.

### Examples

```text
=CELL("address",A1)
```

The formula returns `$A$1`.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [CEILING.PRECISE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/ceiling-precise/llms-full.txt)
- **Next:** [CHAR Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/char/llms-full.txt)
