Difference between revisions of "Documentation/How Tos/Calc: AREAS function"
From Apache OpenOffice Wiki
< Documentation | How Tos
OOoWikiBot (Talk | contribs) m (Bot: Adding Category: Documentation) |
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
||
Line 28: | Line 28: | ||
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
− | [[Category: Documentation]] | + | [[Category: Documentation/Reference/Calc]] |
Revision as of 08:56, 24 November 2009
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 $A$1:$A$3;$C$1:$C$4 in the Assigned To box), returns 2.