Difference between revisions of "Documentation/How Tos/Calc: Spreadsheet functions"

From Apache OpenOffice Wiki
Jump to: navigation, search
(List of Calc 'Spreadsheet' functions: OFFSET)
m
Line 50: Line 50:
 
|-valign="top"
 
|-valign="top"
 
|[[Documentation/How_Tos/Calc: AREAS function|'''AREAS''']]
 
|[[Documentation/How_Tos/Calc: AREAS function|'''AREAS''']]
|returns the number of individual ranges in a multiple range.
+
|returns the number of areas in a given reference.
  
 
|-valign="top"
 
|-valign="top"
Line 58: Line 58:
 
|-valign="top"
 
|-valign="top"
 
|[[Documentation/How_Tos/Calc: COLUMNS function|'''COLUMNS''']]
 
|[[Documentation/How_Tos/Calc: COLUMNS function|'''COLUMNS''']]
|returns the number of columns in a given range.
+
|returns the number of columns in a given reference.
  
 
|-valign="top"
 
|-valign="top"
Line 74: Line 74:
 
|-valign="top"
 
|-valign="top"
 
|[[Documentation/How_Tos/Calc: ROWS function|'''ROWS''']]
 
|[[Documentation/How_Tos/Calc: ROWS function|'''ROWS''']]
|returns the number of rows  in a given range.
+
|returns the number of rows  in a given reference.
  
 
|-valign="top"
 
|-valign="top"
Line 82: Line 82:
 
|-valign="top"
 
|-valign="top"
 
|[[Documentation/How_Tos/Calc: SHEETS function|'''SHEETS''']]
 
|[[Documentation/How_Tos/Calc: SHEETS function|'''SHEETS''']]
|returns the number of sheets, given a reference.
+
|returns the number of sheets in a given reference.
  
  

Revision as of 19:28, 19 February 2008

List of Calc 'Spreadsheet' functions

The so-called 'Spreadsheet' functions find values in tables, or cell references; they include LOOKUP, SEARCH, ADDRESS. They could thus also be described as 'Lookup' functions.


Spreadsheet Lookup functions
ADDRESS returns a text representation of a cell reference, given row and column numbers.
CHOOSE returns a value from a list, given an index number.
HLOOKUP returns a value from a table row, in the column found by lookup in the first row.
INDEX returns the contents of a cell, given row and column number.
INDIRECT returns a reference, given a text string.
LOOKUP returns result from one single-cell-wide table, corresponding to a lookup search in another.
MATCH returns the position in a single row or column table matching a search criterion.
OFFSET returns a modified reference, given a reference, an offset, and a desired size.
VLOOKUP returns a value from a table column, in the row found by lookup in the first column.


Spreadsheet Information functions
AREAS returns the number of areas in a given reference.
COLUMN returns the column number(s), given a reference.
COLUMNS returns the number of columns in a given reference.
ERRORTYPE returns the number corresponding to an error value.
INFO returns information about the current working environment.
ROW returns the row number(s), given a reference.
ROWS returns the number of rows in a given reference.
SHEET returns the sheet number, given a reference.
SHEETS returns the number of sheets in a given reference.


Other functions
DDE returns information from other documents and applications, using the "DDE" protocol.
HYPERLINK sets a cell to open a hyperlink (in another application) when clicked.
STYLE applies a style (for example a colour) to a cell.


See also

Functions listed by category

Personal tools