Difference between revisions of "Documentation/How Tos/Calc: SHEETS function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(→Syntax:) |
m (→See also:) |
||
Line 21: | Line 21: | ||
=== See also: === | === See also: === | ||
'''[[Documentation/How_Tos/Calc: ROWS function|ROWS]]''', | '''[[Documentation/How_Tos/Calc: ROWS function|ROWS]]''', | ||
− | '''[[Documentation/How_Tos/Calc: COLUMNS function|COLUMNS]]''' | + | '''[[Documentation/How_Tos/Calc: COLUMNS function|COLUMNS]]''', |
+ | '''[[Documentation/How_Tos/Calc: AREAS function|AREAS]]''' | ||
'''[[Documentation/How_Tos/Calc: Information functions|Information functions]]''', | '''[[Documentation/How_Tos/Calc: Information functions|Information functions]]''', | ||
'''[[Documentation/How_Tos/Calc: Spreadsheet functions|Spreadsheet functions]]''' | '''[[Documentation/How_Tos/Calc: Spreadsheet functions|Spreadsheet functions]]''' |
Revision as of 19:12, 19 February 2008
SHEETS
Returns the number of sheets in a given range.
Syntax:
SHEETS(range)
- range is a range of cells, given either explicitly (Sheet1.A1:Sheet3.G12) or by name (myrangename) if a range name has been defined.
Example:
SHEETS(Sheet1.A1:Sheet3.G12)
- returns 3, if Sheet3 follows Sheet2 which follows Sheet1; there are thus three sheets in this range.
SHEETS(G4:H6)
- returns 1; G4:H6 is interpreted as a range on a single sheet (the current sheet).
SHEETS(D8)
- returns 1; D8 is interpreted as a one cell range, on a single sheet (the current sheet).