Syntax
=SHEET([value])Arguments
| Argument | Required | Description |
|---|---|---|
value | Optional | A reference or the name of a sheet (the current sheet when left out) |
How to use SHEET
SHEET takes no required arguments and 1 optional argument. Type =SHEET( 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.
=SHEET()Result =SHEET(Data!A1)Result =SHEET("Data")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.
- SHEETSReturns the number of sheets in a reference, or in the workbook when left out.
- 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.