Difference between revisions of "Documentation/How Tos/Calc: ROWS function"
From Apache OpenOffice Wiki
< Documentation | How Tos
m |
m |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:ROWS function}} |
+ | {{Documentation/CalcFunc SpreadsheetTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_ROW_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_SHEET_function | ||
+ | }}__NOTOC__ | ||
== ROWS == | == ROWS == | ||
Line 9: | Line 14: | ||
: <tt>'''reference'''</tt> may be given either explicitly (eg <tt>'''A3:B5'''</tt>) or by name (eg <tt>'''myref'''</tt>). | : <tt>'''reference'''</tt> may be given either explicitly (eg <tt>'''A3:B5'''</tt>) or by name (eg <tt>'''myref'''</tt>). | ||
− | : It is possible to define a name to represent more than one range (eg by entering <tt>'''$A$1:$A$3;$C$1:$C$4'''</tt> in the '''Assigned To''' box of the | + | : It is possible to define a name to represent more than one range (eg by entering <tt>'''$A$1:$A$3;$C$1:$C$4'''</tt> in the '''Assigned To''' box of the {{menu|Insert|Names|Define…}} dialog). In this case <tt>'''ROWS'''</tt> sums the number of rows in each range, irrespective of any duplication of rows. |
=== Example: === | === Example: === | ||
Line 24: | Line 29: | ||
: where <tt>'''myref'''</tt> has been defined as the multiple range <tt>'''$A$1:$A$3;$C$1:$C$4'''</tt>, returns <tt>'''7'''</tt>; | : where <tt>'''myref'''</tt> has been defined as the multiple range <tt>'''$A$1:$A$3;$C$1:$C$4'''</tt>, returns <tt>'''7'''</tt>; | ||
− | {{ | + | {{SeeAlso|EN| |
* [[Documentation/How_Tos/Calc: COLUMNS function|COLUMNS]] | * [[Documentation/How_Tos/Calc: COLUMNS function|COLUMNS]] | ||
* [[Documentation/How_Tos/Calc: SHEETS function|SHEETS]] | * [[Documentation/How_Tos/Calc: SHEETS function|SHEETS]] |