SHEET

returns sheet number of a reference · from excel · excel: not yet compared · sheets: not yet compared

signature

SHEET([value])

returns: number

argumentrequired
value optional

examples

formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.

fx =SHEET() 1

errors

error values observed from the engine — each with a call that produces it.

errorproduced by
#N/A =SHEET("alpha")

related

  • CELL information about a cell's formatting, location or contents
  • ERROR.TYPE returns number corresponding to an error type
  • FORMULATEXT returns formula as a text string
  • INFO information about the operating environment
  • ISBLANK returns TRUE if value is blank
  • ISDATE true when a value can be read as a date