Difference between revisions of "Documentation/How Tos/Calc: AREAS function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
m (→See also:) |
||
Line 19: | Line 19: | ||
=== See also: === | === See also: === | ||
− | '''[[Documentation/How_Tos/Calc: ROWS function| | + | '''[[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: SHEETS function|SHEETS]]''' | '''[[Documentation/How_Tos/Calc: SHEETS function|SHEETS]]''' |
Revision as of 18:39, 19 February 2008
AREAS
Returns the number of areas in a given reference.
Syntax:
AREAS(reference)
- reference may consist of multiple ranges. AREAS returns the count of these ranges.
- This is mostly useful with a named reference; multiple ranges may be entered from Insert - Names - Define... by manually concatenating ranges in the Assigned To box.
Example:
AREAS(A5:B7)
- returns 1. The reference A5:B7 is a single range.
AREAS(myref)
- where you have defined myref in Insert - Names - Define... to be two ranges (eg by entering A1:A3;C1:C4 in the Assigned To box), returns 2.