|
|
Line 1: |
Line 1: |
− | {{Documentation/MasterTOC | + | {{DISPLAYTITLE:ROW 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:_INFO_function |
− | |ShowNextPage=block|NextPage=Documentation/How_Tos/Calc:_ROWS_function | + | |NextPage=Documentation/How_Tos/Calc:_ROWS_function |
− | |ShowPrevPage=block|PrevPage=Documentation/How_Tos/Calc:_INFO_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%;">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%; border-style: double; border-color:#778899;">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__ | + | |
| | | |
| == ROW == | | == ROW == |
Line 47: |
Line 16: |
| : If <tt>'''reference'''</tt> is omitted, the row number of the current cell (containing the formula) is returned. | | : If <tt>'''reference'''</tt> is omitted, the row number of the current cell (containing the formula) is returned. |
| | | |
− | : If <tt>'''reference'''</tt> is a range of cells <u>and</u> the formula is entered as an array formula (by pressing '''Ctrl-Shift Enter''' rather than '''Enter''') a single column array of row numbers is returned. | + | : If <tt>'''reference'''</tt> is a range of cells <u>and</u> the formula is entered as an array formula (by pressing {{key|Ctrl|Shift|Enter}} rather than '''Enter''') a single column array of row numbers is returned. |
| | | |
| === Example: === | | === Example: === |
Line 56: |
Line 25: |
| : if entered in cell D2, returns <tt>'''2'''</tt>. Cell D2 is on the second row. | | : if entered in cell D2, returns <tt>'''2'''</tt>. Cell D2 is on the second row. |
| | | |
− | <tt>'''ROW(D5:D8)'''</tt> (entered with the '''Enter''' key) | + | <tt>'''ROW(D5:D8)'''</tt> (entered with the {{key|Enter}} key) |
| : returns <tt>'''5'''</tt>. This is <u>not</u> an array formula, so the row number of the first cell D5 is returned. | | : returns <tt>'''5'''</tt>. This is <u>not</u> an array formula, so the row number of the first cell D5 is returned. |
| | | |
− | <tt>'''ROW(D5:D8)'''</tt> (entered with '''Ctrl-Shift-Enter''') | + | <tt>'''ROW(D5:D8)'''</tt> (entered with {{key|Ctrl|Shift|Enter}}) |
| : returns the single column array <tt>'''{5; 6; 7; 8}'''</tt>, as this <u>is</u> an array formula. If this formula is entered in cell A1, A1 will display <tt>'''5'''</tt>, A2 <tt>'''6'''</tt>, A3 <tt>'''7'''</tt> and A4 <tt>'''8'''</tt>. | | : returns the single column array <tt>'''{5; 6; 7; 8}'''</tt>, as this <u>is</u> an array formula. If this formula is entered in cell A1, A1 will display <tt>'''5'''</tt>, A2 <tt>'''6'''</tt>, A3 <tt>'''7'''</tt> and A4 <tt>'''8'''</tt>. |
| | | |