Information
Excel 2013
◉ 6 views
=SHEET()
The SHEET function returns the sheet number of the specified sheet or other reference.
Applies To:
Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=SHEET(value)
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 =SHEET() 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 |
|---|---|---|---|
value |
Any type | Optional | argument. Use this to specify the name of a sheet or a reference for which you want to obtain the sheet number. Otherwise, the function will return the number of the sheet containing the SHEET function. |
▣ Examples
یافتن شماره برگهای به نام QSalesByRegion (که دامنه آن کل کتاب کار را در بر میگیرد).
=SHEET(QSalesByRegion)
یافتن شماره برگه حاوی جدول Table1 (که دامنه آن کل کتاب کار را در بر میگیرد).
=SHEET(Table1)
خطای #NAME? را برمیگرداند چون نام مورد جستجو Hi_Temps محدود به کاربرگی است که آن را در خود دارد.
=SHEET(Hi_Temps)
جستجو و برگرداندن شماره برگه (۳) کاربرگ Stuff.
=SHEET("Stuff")
✦ Tips
- SHEET locating/identification capability includes all worksheets (visible, hidden, or very hidden) in addition to all other sheet types (macro, chart, or dialog sheets).
- If the value argument is not a valid sheet name, SHEET returns the #NA error value. For example, =SHEET(“badSheetName”) will return the #NA error value.
- SHEET is not available in the Object Model (OM) because the Object Model already includes similar functionality.
⚠ Common Errors
#REF!
If the value argument is not a valid reference, SHEET returns the #REF! error. For example, =SHEET(Sheet1!#REF) will return the #REF! error value.
Fix: مرجع واردشده را بررسی کنید که معتبر باشد و به سلول یا محدوده حذفشده اشاره نکند؛ برای مثال از Sheet1!#REF استفاده نکنید.
💬 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!