SHEETS function
Summary
Returns the number of sheets in a reference
Syntax
SHEETS(reference)
The SHEETS function syntax has the following arguments.
• Reference Optional. Reference is a reference for which you want to know the number of sheets it contains. If Reference is omitted, SHEETS returns the number of sheets in the workbook that contains the function.
• Reference Optional. Reference is a reference for which you want to know the number of sheets it contains. If Reference is omitted, SHEETS returns the number of sheets in the workbook that contains the function.
Example
=SHEETS()
=SHEETS(My3DRef)
=SHEETS(My3DRef)