Information
Excel 2013
◉ 3 views
=SHEETS()
Returns the number of sheets in the workbook or the number of sheets in a reference
=SHEETS([reference])
Hover argument names in the table for details.
Output typeNumber
Popularity20 / 100
VolatileNo
Dynamic ArrayNo
📥 Download sample .xlsx — Coming soon
▦ Try in Playground
Dedicated file for this function — safe & lightweight · sample data + live formulas
⬇ Download Sample Workbook
A dedicated .xlsx for =SHEETS() with Persian sample data & live formulas — open in Excel and practice.
- Sheet “Sample” — data table + formula in place
- Sheet “Guide” — syntax, arguments & tips from this page
- Instant & secure (token + rate limit)
🧠 🧠 Quiz this function
%d questions — syntax, example & errors — test yourself!
◧ Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
reference |
Reference | Optional | Reference whose sheets are counted — default: entire workbook |
▣ Examples
Example 1
=SHEETS()
Example 2
="Page " & SHEET() & " of " & SHEETS()
✦ Tips
- Hidden sheets are also counted.
- The result updates automatically when sheets are added or removed.
- To get the number of a specific sheet, use the SHEET function.
⚠ Common Errors
#REF!
The input reference is not valid
Fix: Correct the reference
💬 Comments & Q&A 0 approved
🔒 Your comment will be published after review.Share your thoughts — visible after admin approval
No comments yet — be the first!