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 ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.