SHEETS function - The function returns the number of pages in a reference in Excel

SHEETS function: The function returns the number of pages in a reference. Support functions from Excel 2013 onwards. Syntax: SHEETS (reference)

The following article introduces you to the SHEETS function - one of the functions in the information function group is very popular in Excel.

SHEETS function - The function returns the number of pages in a reference in Excel Picture 1SHEETS function - The function returns the number of pages in a reference in Excel Picture 1

Description: The function returns the number of pages in a reference. Support functions from Excel 2013 onwards.

Syntax: SHEETS (reference)

Inside:

- reference: A reference to find the page number, is the required parameter.

Attention:

- SHEETS function includes all worksheets, along with all types of macro pages, charts .

- If the reference value is not valid -> the function returns the #REF! Error value

- SHEET function should not be used in the object model because that model already has similar features.

- In case of omitting reference parameter, the function returns the total number of pages in the current working window.

For example:

Calculate the number of pages in a reference described in the table below:

SHEETS function - The function returns the number of pages in a reference in Excel Picture 2SHEETS function - The function returns the number of pages in a reference in Excel Picture 2

- In the cell to calculate enter the formula : = SHEETS (C6)

SHEETS function - The function returns the number of pages in a reference in Excel Picture 3SHEETS function - The function returns the number of pages in a reference in Excel Picture 3

- Press Enter -> return value is:

SHEETS function - The function returns the number of pages in a reference in Excel Picture 4SHEETS function - The function returns the number of pages in a reference in Excel Picture 4

- Similarly copying the formula for the remaining values ​​results:

SHEETS function - The function returns the number of pages in a reference in Excel Picture 5SHEETS function - The function returns the number of pages in a reference in Excel Picture 5

- In case of omitting reference parameter -> function returns the total number of sheets of the current working window.

SHEETS function - The function returns the number of pages in a reference in Excel Picture 6SHEETS function - The function returns the number of pages in a reference in Excel Picture 6

Above are instructions and some specific examples when using SHEETS function in Excel.

Good luck!

4 ★ | 1 Vote