Returns the number of sheets in the specified cell reference.
Syntax
![]() |
---|
FUNC( [Reference r] ) → Integer |
If the value of the specified argument is not a valid cell reference, the function returns the #REF! error value. If r is omitted, the function returns the number of sheets in the current workbook.
Formula
![]() |
---|
=SHEETS() |
Function Reference
COLUMNS Function
ROWS Function
SHEET Function