1
<!DOCTYPE KSpreadFunctions>
5
<GroupName>Lookup & Reference</GroupName>
11
<Comment>Row number</Comment>
15
<Comment>Column number</Comment>
19
<Comment>Absolute number (optional)</Comment>
23
<Comment>A1 style (optional)</Comment>
27
<Comment>Sheet name</Comment>
31
<Text>The ADDRESS creates a cell address. Parameter Row is the row number and Column is the column number.</Text>
32
<Text>Absolute number specifies the type of reference: 1 or omitted = Absolute, 2 = Absolute row, relative column, 3 = Relative row; absolute column and 4 = Relative.</Text>
33
<Text>A1 Style specifies the style of the address to return. If A1 is set to TRUE (default) the address is returned in A1 style if it is set to FALSE in R1C1 style.</Text>
34
<Text>Sheet name is the text specifying the name of the sheet.</Text>
35
<Syntax>ADDRESS(row; col; absolute; style; sheet name)</Syntax>
36
<Example>ADDRESS(6; 4) returns $D$6</Example>
37
<Example>ADDRESS(6; 4; 2) returns D$6</Example>
38
<Example>ADDRESS(6; 4; 2; FALSE; "Sheet1") returns Sheet1!R6C[4]</Example>
39
<Example>ADDRESS(6; 4; 1; FALSE; "Sheet1") returns Sheet1!R6C4</Example>
40
<Example>ADDRESS(6; 4; 4; TRUE; "Sheet1") returns Sheet1!D6</Example>
48
<Comment>Reference</Comment>
49
<Type range="true">String</Type>
52
<Text>Returns the number of areas in the reference string. An area can be asingle cell or a set of cells.</Text>
53
<Syntax>AREAS(reference)</Syntax>
54
<Example>AREAS(A1) returns 1</Example>
55
<Example>AREAS((A1; A2:A4)) returns 2</Example>
62
<Comment>Index</Comment>
66
<Comment>Arguments</Comment>
69
<Text>Returns the parameter specified by the index.</Text>
70
<Syntax>CHOOSE(index; parameter1; parameter2;...)</Syntax>
71
<Example>CHOOSE(1; "1st"; "2nd") returns "1st"</Example>
72
<Example>CHOOSE(2; 3; 2; 4) returns 2</Example>
80
<Comment>Reference</Comment>
84
<Text>The COLUMN function returns the column of given cell reference. If no parameter is specified the column of the current cell gets returned.</Text>
85
<Syntax>COLUMN(reference)</Syntax>
86
<Example>COLUMN(A1) returns 1</Example>
87
<Example>COLUMN(D2) returns 4</Example>
88
<Related>COLUMNS</Related>
89
<Related>ROW</Related>
97
<Comment>Reference</Comment>
101
<Text>The COLUMNS function returns the number of columns in a reference.</Text>
102
<Syntax>COLUMNS(reference)</Syntax>
103
<Example>COLUMNS(A1:C3) returns 3</Example>
104
<Example>COLUMNS(D2) returns 1</Example>
105
<Related>COLUMN</Related>
106
<Related>ROWS</Related>
111
<Name>INDIRECT</Name>
113
<Comment>Reference</Comment>
117
<Comment>A1 style (optional)</Comment>
121
<Text>Returns the content of the cell specified by the reference text. The second parameter is optional.</Text>
122
<Syntax>INDIRECT(referenceText, a1 style)</Syntax>
123
<Example>INDIRECT(A1), A1 contains "B1", and B1 1 => returns 1</Example>
124
<Example>INDIRECT("A1"), returns content of A1</Example>
132
<Comment>Reference</Comment>
136
<Text>The ROW function returns the row of given cell reference. If no parameter is specified the row of the current cell gets returned.</Text>
137
<Syntax>ROW(reference)</Syntax>
138
<Example>ROW(A1) returns 1</Example>
139
<Example>ROW(D2) returns 2</Example>
140
<Related>ROWS</Related>
141
<Related>COLUMN</Related>
149
<Comment>Reference</Comment>
153
<Text>The ROWS function returns the number of rows in a reference.</Text>
154
<Syntax>ROWS(reference)</Syntax>
155
<Example>ROWS(A1:C3) returns 3</Example>
156
<Example>ROWS(D2) returns 1</Example>
157
<Related>ROW</Related>
158
<Related>COLUMNS</Related>