Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How To Compare Two Lists in Excel
  • Create Scatter Chart in Excel
  • Data Series in Excel
  • Number and Text Filters Examples in Excel
  • Conditional Formatting New Rule with Formulas in Excel

References

  • How to use Excel ROW Function
  • INDEX function: Description, Usage, Syntax, Examples and Explanation
  • How to calculate two-way lookup VLOOKUP in Excel Table
  • To count total rows in a range in Excel
  • How to retrieve first match between two ranges in Excel

Data Validations

  • Excel Data validation must not contain
  • Excel Data validation specific characters only
  • Excel Data validation allow uppercase only
  • Excel Data validation exists in list
  • Excel Data validation number multiple 100

SHEETS function: Description, Usage, Syntax, Examples and Explanation

by

What is SHEETS function in Excel?

SHEETS function is one of the Information functions in Microsoft Excel that returns the number of sheets in a reference.

Syntax of SHEETS function

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.

SHEETS formula explanation

  • 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.
  • SHEETS is not available in the Object Model (OM) because the Object Model already includes similar functionality.

Example of SHEETS function

Steps to follow:

1. Open a new Excel worksheet.

2. Copy data in the following table below and paste it in cell A1

Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.

You can adjust the column widths to see all the data, if need be.

Formula Description Result
=SHEETS() Because there is no Reference argument specified, the total number of sheets in the workbook is returned (3). 3
=SHEETS(My3DRef) Returns the number of sheets in a 3D reference with the defined name My3DRef, which includes Sheet2 and Sheet3 (2). 2

Post navigation

Previous Post:

MODE.MULT function: Description, Usage, Syntax, Examples and Explanation

Next Post:

231 Keyboard Shortcut Keys In Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • Check multiple cells are equal in Excel
  • Extract multiple matches into separate rows in Excel
  • Not Equal To ‘<>‘ operator in Excel
  • How to return blank in place of #DIV/0! error in Excel
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Count dates in current month in Excel
  • EDATE function: Description, Usage, Syntax, Examples and Explanation
  • How to get same date next month or previous month in Excel
  • Get day name from date in Excel
  • Display Days in month in Excel

Grouping

  • Map text to numbers in Excel
  • Group times into 3 hour buckets in Excel
  • Map inputs to arbitrary values in Excel
  • Group numbers with VLOOKUP in Excel
  • Group arbitrary text values in Excel

General

  • Lock Cells in a Worksheet Excel
  • Select, Insert, Rename, Move, Delete Worksheets in Excel
  • How to get random value from list or table in Excel
  • Check if multiple cells have same value with case sensitive in Excel
  • List sheet names with formula in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning