Syntax
=SHEETS([reference])Arguments
| Argument | Required | Description |
|---|---|---|
reference | Optional | A reference (the whole workbook when left out) |
How to use SHEETS
SHEETS takes no required arguments and 1 optional argument. Type =SHEETS( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=SHEETS()Result =SHEETS(A1)Result Related information functions
- ISOMITTEDTRUE when a LAMBDA argument was left out.
- ISREFChecks whether a value is a reference to cells.
- ISTEXTChecks whether a value is text.
- ISURLChecks whether a value looks like a web address.
- NConverts a value to a number: numbers stay, TRUE is 1, anything else is 0.
- NAReturns the #N/A error, meaning no value is available.
- SHEETReturns the number of a sheet (its position in the workbook), for the current sheet, a reference or a sheet name.
- SPARKLINEDraws a small chart (line, column, win/loss or bar) inside the cell from a row or column of numbers.
- TYPEReturns a number for the type of a value: 1 number, 2 text, 4 logical, 16 error, 64 array, 128 lambda.