- Advanced Excel Functions Tutorial
- Advanced Excel Functions - Home
- Compatibility Functions
- Advanced Excel Functions - Cube
- Database Functions
- Date & Time Functions
- Engineering Functions
- Financial Functions
- Information Functions
- Advanced Excel Functions - Logical
- Lookup & Reference Functions
- Math & Trignometric Functions
- Statistical Functions
- Useful Resources
- Quick Guide
- Useful Resources
- Discussion
Information - SHEETS Function
Description
The SHEETS function returns the number of sheets in a reference.
Syntax
SHEETS (reference)
Arguments
Argument | Description | Required/ Optional |
---|---|---|
Reference | 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. |
Optional |
Notes
SHEETS includes all worksheets (visible, hidden, or very hidden) in addition to all other sheet types (macro, chart, or dialog sheets).
If reference is not a valid value, SHEETS returns the #REF! error value.
Applicability
Excel 2013, Excel 2016
Example
advanced_excel_information_functions.htm
Advertisements