SHEET function
Returns the position number of a sheet in the workbook: the current sheet, the sheet of a reference, or a sheet named in text.
Available in Excel 2013 and later, Microsoft 365, Excel for the web
Excel 2013 and laterWorks in Google Sheets
Syntax
SHEET([value])| Argument | What it means | |
|---|---|---|
value | Optional | A reference (e.g. Mar!A1), a defined name, or a sheet name as text (e.g. "Feb"). If omitted, the sheet containing the formula is used. |
Returns: A whole number: 1 for the first sheet tab, 2 for the second, and so on.
How SHEET works
SHEET tells you where a sheet sits in the row of tabs at the bottom of the workbook. Without an argument it returns the number of the sheet the formula is on; with a reference it returns the number of the sheet that reference points to; and with a sheet name in quotes it looks that name up. Hidden sheets are counted too, so the number can differ from what you see in the tab bar.
The position is useful in monthly workbooks where each tab is one period: a sheet can compute "I am month number 3" and pull the previous month's figures from the sheet before it with INDIRECT, or a summary can check that tabs are in the expected order. If the reference or sheet name is not valid, SHEET returns an error, as described below.
Examples
1Number of the sheet that holds the formula
| A | |
|---|---|
| 1 | 1 |
Result: 1
Assuming a workbook with the tabs Summary, Jan, Feb and Mar in that order, a formula on Summary returns 1.
2Position of another sheet
| A | B | |
|---|---|---|
| 1 | 4 |
Result: 4
In the same workbook, the reference points to the Mar sheet, the fourth tab, so the result is 4. =SHEET("Feb") would return 3.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#REF! | The reference is not valid. | Check the reference; for sheet names with spaces use quotes: 'Mar 2026'!A1. |
#N/A | A sheet name given as text does not exist. | Check the spelling of the sheet name. |
Tips
- Hidden sheets count, so
=SHEET()on the third visible tab can return 4 if a hidden sheet comes before it. - Use SHEETS to count sheets rather than locate one.
Google Sheets
SHEET also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
SHEET in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Danish | ARK |
| Dutch | BLAD |
| Finnish | TAULUKKO |
| French | FEUILLE |
| German | BLATT |
| Hungarian | LAP |
| Italian | FOGLIO |
| Norwegian (Bokmål) | ARK |
| Polish | ARKUSZ |
| Portuguese (Brazil) | PLAN |
| Portuguese (Portugal) | FOLHA |
| Russian | ЛИСТ |
| Spanish | HOJA |
| Swedish | BLAD |
| Turkish | SAYFA |