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

Data Analysis

  • How to create dynamic reference table name in Excel
  • How to Create One and Two Variable Data Tables in Excel
  • Conditional Formatting Rules in Excel
  • How to add Trendline to a chart in Excel
  • How to create running total in an Excel Table

References

  • How to use Excel FORMULATEXT function
  • Approximate match with multiple criteria in Excel
  • Perform case-sensitive Lookup in Excel
  • Merge tables with VLOOKUP in Excel
  • Multi-criteria lookup and transpose in Excel

Data Validations

  • Excel Data validation with conditional list
  • Excel Data validation whole percentage only
  • Excel Data validation must begin with
  • Excel Data validation require unique number
  • Excel Data validation don’t exceed total

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

  • OR function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel AND Function
  • How to use Excel FALSE Function
  • IF with wildcards in Excel
  • IF, AND, OR and NOT Functions Examples in Excel

Date Time

  • Calculate expiration date in Excel
  • How to get Weekdays, Working days between Two Dates in Excel
  • Roll back weekday to Friday base on a particular date in Excel
  • Convert date string to date time in Excel
  • How to get Holiday Date from Year in Excel

Grouping

  • How to randomly assign people to groups in Excel
  • Categorize text with keywords in Excel
  • Group times into 3 hour buckets in Excel
  • Calculate conditional mode with criteria in Excel
  • Running count group by n size in Excel

General

  • How to Insert Cells, Row and Rows in Excel
  • Automatically fill series of cells in Excel using AutoFill
  • Find Most Frequently Occurring Word in Excel Worksheet
  • How to calculate percent change in Excel
  • Hide and Unhide Columns or Rows in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning