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.


  • 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)



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 live online training, plus books, videos, and digital content from nearly 200 publishers.