Dapatkan informasi tentang sel
=CELL(info_type, [reference])
| Parameter | Deskripsi |
|---|---|
info_type |
The type of information to return about the reference. |
reference |
[optional] The reference from which to extract information. |
For example, to get the column number for C10:
=CELL("col", C10) // returns 3
To get the address of A1 as text:
=CELL("address",A1) // returns "$A$1"
To get the full path and workbook name for the current worksheet:
=CELL("filename",A1) // path + filename
CELL can also return format code information. For example, if A1 contains the number 100 with the currency number format applied, the CELL function wi
=CELL("format",A1) // returns "C2"
When requesting the info_type "format" or "parentheses", a set of empty parentheses "()" is appended to the format returned if the number format uses
=CELL("format",A1) // returns "F0()"