CELL Function
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
CELL(info_type, reference)
Category: Information. Minimum arguments: 1. Maximum arguments: 2.
Available for supported offline calculation.
Examples
=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.