
SHEET returns the index number of a sheet. If you leave the argument out, it returns the position of the sheet where the formula lives.
This is useful when tab order matters. Some workbooks rely on a fixed sheet sequence, and SHEET gives you a simple way to test or display that order.
Gives the numeric position of a sheet in the workbook.
The result is the sheet index, where 1 means the leftmost sheet.
=SHEET([value])
The argument is optional. You can omit it, use a sheet name, or use a reference that points to a sheet.
| Function | Main job | Use it when |
|---|---|---|
SHEET |
Returns one sheet position | You want to know where a sheet sits in the workbook order. |
SHEETS |
Returns a sheet count | You want the number of sheets in a workbook or reference. |
CELL |
Returns info about a cell | You need address-style details instead of a sheet index. |
ISREF |
Checks whether something is a reference | You want to validate a reference before working with it. |
This function is helpful in navigation helpers, workbook audits, and templates that depend on a fixed tab sequence. For example, you can show the current sheet index on the sheet itself or test whether a specific sheet is in the expected position.
Microsoft notes that the argument can be omitted. When you do that, SHEET() returns the index of the current sheet. When you pass a sheet name or reference, it returns the index for that target instead.
This is the simplest use.
=SHEET()
Return the index of the current sheet. Formula: =SHEET().
Use a sheet name when you want the position of a specific tab.
=SHEET("Summary")
Return the index of a named sheet. Formula: =SHEET("Summary").
A reference works too, as long as it points to the sheet you care about.
=SHEET(Sheet1!A1)
Return the index of the sheet behind a reference. Formula: =SHEET(Sheet1!A1).
This is a simple sequence check.
=SHEET()=1
Check whether the current sheet is the first tab. Formula: =SHEET()=1.
SHEET returns one sheet index.Tell your friends about this post