Formualizer Docs
ReferenceFunctionsInformation Functions

SHEETS

Returns the number of sheets in the workbook or reference span.

Summary

With no argument, returns the active workbook sheet count. With a reference, returns the number of sheets covered by that reference.

Returns the number of sheets in the workbook or covered by a 3D reference.

Examples

Workbook sheet count
Grid
CellValue
No inputs on Sheet1.
Formula
=
Result
Not evaluated yet.
Expected
1
Single-sheet reference count
Grid
CellValue
No inputs on Sheet1.
Formula
=
Result
Not evaluated yet.
Expected
1

FAQ

What does SHEETS return for ordinary references?

Ordinary references cover one sheet, so the result is 1.

Runtime metadata

Category

Information

Signature

SHEETS(arg1…: Any)

This function accepts a repeating argument pattern (min args: 0).

Arity

min 0, max variadic

Arguments

arg1

Any · Scalar

Caps

PURE

Source

On this page