Category: FUNCTION | Updated: 2026-11-22
How to Use the SHEET Function | Get the Number of the Current or Specified Sheet
Syntax
=SHEET([value])
- value (optional): Specifies the sheet name or a cell reference on the sheet whose number you want to find. If omitted, it returns the number of the current sheet.
Practical Table Example
This example shows how SHEET behaves when a spreadsheet has three sheets from left to right: “Cover”, “Jan Sales”, and “Feb Sales”.
| Target to Check | Formula | Result | Explanation |
|---|---|---|---|
| Current sheet (Cover) | =SHEET() |
1 |
Indicates it is the 1st sheet from the left |
| Specify by cell reference | =SHEET('Jan Sales'!A1) |
2 |
Returns the number of the sheet containing the referenced cell |
| Specify sheet name as text | =SHEET("Feb Sales") |
3 |
Returns the number of the sheet matching the sheet name |
Common Errors and Precautions
- Specifying a nonexistent sheet name: Passing a sheet name string that does not exist in the spreadsheet results in a
#N/Aerror. - Changes when reordering sheets: If you drag and reorder sheets, the return value of the
SHEETfunction automatically recalculates and updates.
Frequently Asked Questions
Q. What happens if you omit the argument in the SHEET function?
A. It returns the sheet number (position from the left) of the 'current sheet' where the formula is entered.
Q. Are hidden sheets included in the sheet number count?
A. Yes, hidden sheets are included and counted sequentially from the left as 1, 2, 3, and so on.