SHEETS

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

signature

SHEETS([reference])

returns: number

argumentrequired
reference 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 =SHEETS() 1

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