EXCEL CELL FUNCTION

This function returns a text value that provides information about a cell. By providing the info type, you may use CELL to extract a wide range of information about a reference.

Syntax:

=CELL (info_type, [reference])

Parameter list:

  • info type – the type of reference information to return; info type is listed below.
  • [optional] reference The source of information to be extracted.

Step By Step Guide of CELL Function

Example:

In this example, we first use the CELL function’s first parameter “col” to calculate the column number of cell E20. Second, we use “row” as the first argument to calculate the row number of cell A25. Third, we use the first parameter “contents” to find the contents of cell A3, which is “Good Morning.” Fourth, we determine the kind of cell content by utilising the first argument, “type,” which is the data type value, which is v.

We use the first parameter as “format” in the fifth and sixth parameters to determine the format of the cell contents mentioned in the second parameter. Fifth, we obtain the letter G because the cell content in A4 is in General format, thus we get the letter G. Similarly, the content of A5 is represented as a number, so the solution will be F2.

  • Always use double quotes around the info type. =CELL(“col”, C19) returns 3 as a result of the formula. A complete collection of info types is listed here, along with a key to the codes that CELL produces when the info type is formatted.
  • CELL will return information on the first cell in reference when reference refers to several cells.
  • If you used the Info type argument in the CELL function as “format” and then changed the format of the referenced cell, you’ll need to recalculate the worksheet to update the CELL function results.

Related Functions

HLOOKUP Function

HLOOKUP Function

Explore Now

VLOOKUP Function

VLOOKUP Function

Explore Now

INDEX Function

INDEX Function

Explore Now

MATCH Function

MATCH Function

Explore Now

DATE Function

DATE Function

Explore Now

IF Function

IF Function

Explore Now

OR Function

OR Function

Explore Now

AND Function

AND Function

Explore Now

RANK Function

RANK Function

Explore Now

SUMIF Function

SUMIF Function

Explore Now

XIRR Function

XIRR Function

Explore Now

WORKDAYS Function

WORKDAYS Function

Explore Now