SHEETS Function

The SHEETS function is one of the information functions. It is used to return the number of sheets in a reference.

The SHEETS function syntax is:

SHEETS(reference)

where reference is a reference for which you want to find out the number of sheets it contains. If reference is omitted, the number of sheets in the current workbook is returned.

To apply the SHEETS function,

  1. select the cell where you wish to display the result,
  2. click the Insert function
    icon situated at the top toolbar,
    or right-click within a selected cell and select the Insert Function option from the menu,
    or click the
    icon situated at the formula bar,
  3. select the Information function group from the list,
  4. click the SHEETS function,
  5. enter the required argument,
  6. press the Enter button.

The result will be displayed in the selected cell.

SHEETS Function