SHEET function in Excel
Returns the sheet number of the referenced sheet
=SHEET(value)SHEET syntax and parameters
One argument, zero required.
- valueanyOptional
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.
SHEET examples
Formulas you'll actually reuse.
The position of the current tab in the workbook:
=SHEET()Result
3The position of a tab by name — handy for tab-order checks:
=SHEET("Budget")Result
2
SHEET in Google Sheets
Same name — your formula ports as-is.
Try SHEET in the playground
Edit the example — nothing to install.
Preloaded with the SHEET formula from Example 1 — change anything and watch it respond.
SHEET errors
What they mean — and the fixes.
#N/ANo sheet has that name, or the reference isn't valid — names are case-insensitive but must otherwise match exactly.
Related functions
More ways Excel gets this done.
- CELLReturns information about the formatting, location, or contents of a cellThis function is not available in Excel for the web.InfoGoogle Sheets
- ERROR.TYPEReturns a number corresponding to an error typeInfoGoogle Sheets
- INFOReturns information about the current operating environmentThis function is not available in Excel for the web.InfoNo Google Sheets equivalent
- ISBLANKReturns TRUE if the value is blankInfoGoogle Sheets
- ISERRReturns TRUE if the value is any error value except #N/AInfoGoogle Sheets
- ISERRORReturns TRUE if the value is any error valueInfoGoogle Sheets