Difference between revisions of "Documentation/How Tos/Calc: AREAS function"

From Apache OpenOffice Wiki
Jump to: navigation, search
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Documentation/MasterTOC
+
{{DISPLAYTITLE:AREAS function}}
|bookid=1234'''
+
{{Documentation/CalcFunc SpreadsheetTOC
|booktitle=<div style="padding: 8px; font-size: 140%; font-weight: bold; background-color: #9BC0F5;">CALC FUNCTIONS</div>
+
|ShowPrevNext=block
|ShowParttitle=block|parttitle=[[Documentation/How_Tos/Calc:_Spreadsheet_functions|<div style="font-size: 140%;">Spreadsheet Functions]]
+
|PrevPage=Documentation/How_Tos/Calc:_VLOOKUP_function
|ShowNextPage=block|NextPage=Documentation/How_Tos/Calc:_COLUMN_function
+
|NextPage=Documentation/How_Tos/Calc:_COLUMN_function
|ShowPrevPage=block|PrevPage=Documentation/How_Tos/Calc:_VLOOKUP_function
+
}}__NOTOC__
|ShowPrevPart=block|PrevPart=Documentation/How_Tos/Calc:_Number_Conversion_functions
+
|ShowNextPart=block|NextPart=Documentation/How_Tos/Calc:_Statistical_functions
+
|toccontent= <div style="padding: 4px; font-size: 130%; font-weight: hidden; background-color:#DCE9FC;">FUNCTIONS</div>
+
 
+
<div style="font-size: 140%; border-style: outset outset outset none; border-color:#DCE9FC;">Spreadsheet Lookup functions</div>
+
* [[Documentation/How_Tos/Calc:_ADDRESS_function|<div style="font-size: 120%;">Address]]
+
* [[Documentation/How_Tos/Calc:_CHOOSE_function|<div style="font-size: 120%;">Choose]]
+
* [[Documentation/How_Tos/Calc:_HLOOKUP_function|<div style="font-size: 120%;">Hlookup]]
+
* [[Documentation/How_Tos/Calc:_INDEX_function|<div style="font-size: 120%;">Index]]
+
* [[Documentation/How_Tos/Calc:_INDIRECT_function|<div style="font-size: 120%;">Indirect]]
+
* [[Documentation/How_Tos/Calc:_LOOKUP_function|<div style="font-size: 120%;">Lookup]]
+
* [[Documentation/How_Tos/Calc:_MATCH_function|<div style="font-size: 120%;">Math]]
+
* [[Documentation/How_Tos/Calc:_OFFSET_function|<div style="font-size: 120%;">Offset]]
+
* [[Documentation/How_Tos/Calc:_VLOOKUP_function|<div style="font-size: 120%;">Vlookup]]
+
 
+
<div style="font-size: 140%; border-style: outset outset outset none; border-color:#DCE9FC;">Spreadsheet Information functions</div>
+
* [[Documentation/How_Tos/Calc:_AREAS_function|<div style="font-size: 120%; border-style: double; border-color:#778899;">Areas]]
+
* [[Documentation/How_Tos/Calc:_COLUMN_function|<div style="font-size: 120%;">Column]]
+
* [[Documentation/How_Tos/Calc:_COLUMNS_function|<div style="font-size: 120%;">Columns]]
+
* [[Documentation/How_Tos/Calc:_ERRORTYPE_function|<div style="font-size: 120%;">Errortype]]
+
* [[Documentation/How_Tos/Calc:_INFO_function|<div style="font-size: 120%;">Info]]
+
* [[Documentation/How_Tos/Calc:_ROW_function|<div style="font-size: 120%;">Row]]
+
* [[Documentation/How_Tos/Calc:_ROWS_function|<div style="font-size: 120%;">Rows]]
+
* [[Documentation/How_Tos/Calc:_SHEET_function|<div style="font-size: 120%;">Sheet]]
+
* [[Documentation/How_Tos/Calc:_SHEETS_function|<div style="font-size: 120%;">Sheets]]
+
 
+
<div style="font-size: 140%; border-style: outset outset outset none; border-color:#DCE9FC;">Other functions</div>
+
* [[Documentation/How_Tos/Calc:_DDE_function|<div style="font-size: 120%;">Dde]]
+
* [[Documentation/How_Tos/Calc:_HYPERLINK_function|<div style="font-size: 120%;">Hyperlink]]
+
* [[Documentation/How_Tos/Calc:_STYLE_function|<div style="font-size: 120%;">Style]]
+
}}__TOC__
+
  
 
== AREAS ==
 
== AREAS ==
Line 45: Line 14:
 
: <tt>'''reference'''</tt> may consist of multiple ranges. <tt>'''AREAS'''</tt> returns the count of these ranges.
 
: <tt>'''reference'''</tt> may consist of multiple ranges. <tt>'''AREAS'''</tt> 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.
+
: This is mostly useful with a named reference; multiple ranges may be entered from {{menu|Insert|Names|Define…}} by manually concatenating ranges in the '''Assigned To''' box.
  
 
=== Example: ===
 
=== Example: ===
Line 52: Line 21:
  
 
<tt>'''AREAS(myref)'''</tt>
 
<tt>'''AREAS(myref)'''</tt>
: where you have defined <tt>'''myref'''</tt> in '''Insert - Names - Define...''' to be two ranges (eg by entering <tt>'''$A$1:$A$3;$C$1:$C$4'''</tt> in the '''Assigned To''' box), returns <tt>'''2'''</tt>.
+
: where you have defined <tt>'''myref'''</tt> in {{menu|Insert|Names|Define…}} to be two ranges (eg by entering <tt>'''$A$1:$A$3;$C$1:$C$4'''</tt> in the '''Assigned To''' box), returns <tt>'''2'''</tt>.
  
{{Documentation/SeeAlso|
+
{{SeeAlso|EN|
 
* [[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]]

Latest revision as of 11:56, 2 February 2024



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.



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_AREAS_function&oldid=259987"
Views
Personal tools
Navigation
Tools