Difference between revisions of "Documentation/How Tos/Calc: SHEETS function"
From Apache OpenOffice Wiki
< Documentation | How Tos
m (→See also:) |
m |
||
(9 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:SHEETS function}} |
+ | {{Documentation/CalcFunc SpreadsheetTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_SHEET_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_DDE_function | ||
+ | }}__NOTOC__ | ||
== SHEETS == | == SHEETS == | ||
− | Returns the number of sheets in a given | + | Returns the number of sheets in a given reference. |
=== Syntax: === | === Syntax: === | ||
− | <tt>'''SHEETS( | + | <tt>'''SHEETS(reference)'''</tt> |
− | : <tt>''' | + | : <tt>'''reference'''</tt> may be given either explicitly (<tt>'''Sheet1.A1:Sheet3.G12'''</tt>) or by name (<tt>'''myref'''</tt>). |
+ | |||
+ | : If the named reference contains multiple ranges, the sum of the sheets in each range is returned, irrespective of any duplication. | ||
=== Example: === | === Example: === | ||
Line 19: | Line 26: | ||
: returns <tt>'''1'''</tt>; <tt>'''D8'''</tt> is interpreted as a one cell range, on a single sheet (the current sheet). | : returns <tt>'''1'''</tt>; <tt>'''D8'''</tt> is interpreted as a one cell range, on a single sheet (the current sheet). | ||
− | + | {{SeeAlso|EN| | |
− | + | * [[Documentation/How_Tos/Calc: ROWS function|ROWS]] | |
− | + | * [[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: Spreadsheet functions|Spreadsheet functions]] | ||
− | + | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | |
− | + | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | |
+ | [[Category: Documentation/Reference/Calc/Spreadsheet functions]] |