CELL()

Syntax. CELL(info_type,reference)

Definition. This function returns information about the formatting, location, or contents of the upper-left cell in the range specified by the reference argument.

Arguments

  • info_type (required). An argument that specifies what type of information is returned.

  • reference (optional). Identifies the cell you want information about. If you omit this argument, the function returns the information for the last cell that was changed.

Background. To use this function, you need to know the information types and the corresponding results. These are listed in Table 11-2.

Table 11-2. Arguments Passed as Strings to the CELL() Function

Argument (Text)

Returns

address

The absolute reference to the upper-left cell as text (can include ...

Get Microsoft® Excel® 2010 Formulas & Functions Inside Out now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.