Sheets Function
Purpose Return value Syntax =SHEETS([reference]) reference - [optional] A valid Excel reference. Using the SHEETS function The SHEETS function returns the total number of sheets in a given reference. SHEETS takes one argument, reference , which should be a cell reference, or a 3D reference . When no references are supplied SHEETS returns the total number of sheets in the workbook. The SHEETS function includes hidden sheets. Examples For example, in a workbook that contains 5 sheets, the following formula will return 5:...