SHEET Function
Return the number of a worksheet. Without an argument, SHEET returns the number of the sheet that contains the formula. With a sheet name as text, it returns the number of that sheet, and #N/A when no sheet has that name. With a cell reference as value_or_reference, it returns the number of the sheet that holds the cell; in TX Sheet Control, a reference to an empty cell returns #N/A.
Syntax
SHEET(value_or_reference)
Category: Information. Minimum arguments: 0. Maximum arguments: 1.
Available for supported offline calculation.
Examples
=SHEET()
The formula returns 1 in the first sheet of the workbook.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.