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

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Automated text replacement %s)
m
Line 27: Line 27:
 
* [[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/Reference/Calc]]
+
[[Category: Documentation/Reference/Calc/Spreadsheet functions]]

Revision as of 11:36, 17 May 2010


SHEET

Returns the sheet number, given a reference.

Syntax:

SHEET(reference)

returns the sheet number of reference, where reference is a reference to a cell.
If reference is omitted, the sheet number of the current sheet (containing the formula) is returned.

Example:

SHEET(Sheet2.C4)

returns 2, if you have 3 sheets - Sheet1, Sheet2, Sheet3 - in that order, because Sheet2 is the second sheet.

SHEET()

returns the current sheet number (of the sheet containing the formula).

Template:Documentation/SeeAlso

Personal tools