CELL
Information

Returns information about the formatting, location, or contents of a cell

Syntax:

=CELL(info_type, [reference])

Example:

=CELL("type", A1)