See below for a full list ofinfo typesandformat codes.

The CELL function takes two arguments:info_typeandreference.Info_typeis a text string that indicates the pop in of information requested.

See the table below for a full list of info types.Referenceis a cell reference.Referenceis typically a single cell.

Excel formula: Get address of lookup result

Ifreferencerefers to more than one cell, CELL returns information about thefirstcell in reference.

For certain kinds of information (like filename) the cell address used forreferenceis optional and can be omitted.

To avoid confusion, use A1 forreference.

Excel formula: Get sheet name only

Note: the CELL function is avolatile functionand may cause performance issues in large or complex worksheets.

For example, =ADDRESS(1,1) returns $A$1.

To use the INFO function, supply the bang out of information you want as text.

Excel formula: Get full workbook name and path

There are seven types of information available, summarized in…

Excel formula: Highlight unprotected cells

Excel formula: Increment cell reference with INDIRECT

Excel formula: Get workbook path only

Excel formula: Get workbook name only

Excel formula: Count visible columns

Excel formula: Address of first cell in range

Excel formula: Hyperlink to first match

Excel formula: Hyperlink to first blank cell

Excel formula: Get workbook name and path without sheet

Excel formula: Link to multiple sheets

Excel ADDRESS function

Excel INFO function