Function · Information

Excel SHEET function

The Excel SHEET function returns a sheet's position in the workbook. In a file whose sheets are Jan, Feb, and Mar, SHEET("Feb") is 2. Moving Feb to the front makes it 1.

Excel 2013 and later, including Microsoft 365 and Excel for the web. Also in Google Sheets.

Syntax =SHEET([value])

SHEET
=SHEET("Feb")

Arguments

NameRequiredWhat to pass
valueOptionalA sheet name, or a reference. If omitted, SHEET returns the number of the sheet that contains the formula. The first sheet is 1.

Examples

The middle sheet in a three-sheet workbook

=SHEET("Feb")

Result 2

=SHEET(B1)B2
Sheets
AB
1NameFeb
2Number2
A picture of the sheet, not a live calculator. The pictured workbook's tabs are Jan, Feb, and Mar, in that order.

SHEET returns the position of a sheet, starting at 1 for the leftmost tab. In a workbook whose tabs are Jan, Feb, and Mar, SHEET("Feb") is 2. Drag Feb to the front and the same formula returns 1. The number is not a name. It changes when the tabs move, and hidden sheets still occupy a number.

With no argument, SHEET returns the number of the sheet that holds the formula. A one-sheet file is 1. SHEETS counts sheets, and SHEET returns one sheet’s number. Excel 2010 does not have SHEET. A wrong name is #N/A, not 0.