| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 
 | <!DOCTYPE KSpreadFunctions>
<KSpreadFunctions>
<Group>
    <GroupName>Lookup & Reference</GroupName>
   <Function>
       <Name>ADDRESS</Name>
       <Type>String</Type>
       <Parameter>
           <Comment>Row number</Comment>
           <Type>Int</Type>
       </Parameter>
       <Parameter>
           <Comment>Column number</Comment>
           <Type>Int</Type>
       </Parameter>
       <Parameter>
           <Comment>Absolute number (optional)</Comment>
           <Type>Int</Type>
       </Parameter>
       <Parameter>
           <Comment>A1 style (optional)</Comment>
           <Type>Boolean</Type>
       </Parameter>
       <Parameter>
           <Comment>Sheet name</Comment>
           <Type>String</Type>
       </Parameter>
       <Help>
           <Text>The ADDRESS creates a cell address. Parameter Row is the row number and Column is the column number.</Text>
           <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>
           <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>
           <Text>Sheet name is the text specifying the name of the sheet.</Text>
           <Syntax>ADDRESS(row; col; absolute; style; sheet name)</Syntax>
           <Example>ADDRESS(6; 4) returns $D$6</Example>
           <Example>ADDRESS(6; 4; 2) returns D$6</Example>
           <Example>ADDRESS(6; 4; 2; FALSE; "Sheet1") returns Sheet1!R6C[4]</Example>
           <Example>ADDRESS(6; 4; 1; FALSE; "Sheet1") returns Sheet1!R6C4</Example>
           <Example>ADDRESS(6; 4; 4; TRUE; "Sheet1") returns Sheet1!D6</Example>
       </Help>
   </Function>
   <Function>
       <Name>AREAS</Name>
       <Type>Int</Type>
       <Parameter>
           <Comment>Reference</Comment>
           <Type range="true">String</Type>
       </Parameter>
       <Help>
           <Text>Returns the number of areas in the reference string. An area can be asingle cell or a set of cells.</Text>
           <Syntax>AREAS(reference)</Syntax>
           <Example>AREAS(A1) returns 1</Example>
           <Example>AREAS((A1; A2:A4)) returns 2</Example>
       </Help>
   </Function>
   <Function>
       <Name>CELL</Name>
       <Type>Any</Type>
       <Parameter>
           <Comment>Type</Comment>
           <Type>String</Type>
       </Parameter>
       <Parameter>
           <Comment>Reference</Comment>
           <Type range="true">Reference</Type>
       </Parameter>
       <Help>
           <Text>Returns information about position, formatting or contents in a reference.</Text>
           <Syntax>CELL(type; reference)</Syntax>
           <Example>CELL("COL", C7) returns 3</Example>
           <Example>CELL("ROW", C7) returns 7</Example>
           <Example>CELL("ADDRESS", C7) returns $C$7</Example>
       </Help>
   </Function>
   <Function>
       <Name>CHOOSE</Name>
       <Parameter>
           <Comment>Index</Comment>
           <Type>Int</Type>
       </Parameter>
       <Parameter>
           <Comment>Arguments</Comment>
       </Parameter>
       <Help>
           <Text>Returns the parameter specified by the index.</Text>
           <Syntax>CHOOSE(index; parameter1; parameter2;...)</Syntax>
           <Example>CHOOSE(1; "1st"; "2nd") returns "1st"</Example>
           <Example>CHOOSE(2; 3; 2; 4) returns 2</Example>
       </Help>
   </Function>
   <Function>
       <Name>COLUMN</Name>
       <Type>Int</Type>
       <Parameter>
           <Comment>Reference</Comment>
           <Type>String</Type>
       </Parameter>
       <Help>
           <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>
           <Syntax>COLUMN(reference)</Syntax>
           <Example>COLUMN(A1) returns 1</Example>
           <Example>COLUMN(D2) returns 4</Example>
           <Related>COLUMNS</Related>
           <Related>ROW</Related>
       </Help>
   </Function>
   <Function>
       <Name>COLUMNS</Name>
       <Type>Int</Type>
       <Parameter>
           <Comment>Reference</Comment>
           <Type>String</Type>
       </Parameter>
       <Help>
           <Text>The COLUMNS function returns the number of columns in a reference.</Text>
           <Syntax>COLUMNS(reference)</Syntax>
           <Example>COLUMNS(A1:C3) returns 3</Example>
           <Example>COLUMNS(D2) returns 1</Example>
           <Related>COLUMN</Related>
           <Related>ROWS</Related>
       </Help>
   </Function>
   <Function>
       <Name>INDEX</Name>
       <Parameter>
           <Comment>Reference</Comment>
           <Type>String</Type>
       </Parameter>
       <Parameter>
           <Comment>Row</Comment>
           <Type>Int</Type>
       </Parameter>
       <Parameter>
           <Comment>Column</Comment>
           <Type>Int</Type>
       </Parameter>
       <Help>
           <Text>If a range is given, returns value stored in a given row/column. If one cell is given, which contains an array, then one element of the array is returned.</Text>
           <Syntax>INDEX(cell, row, column)</Syntax>
           <Syntax>INDEX(range, row, column)</Syntax>
           <Example>INDEX(A1:C3;2;2), returns contents of B2</Example>
           <Example>INDEX(A1;2;2), if A1 is a result of array calculation, returns its (2,2) element.</Example>
       </Help>
   </Function>
   <Function>
       <Name>INDIRECT</Name>
       <Parameter>
           <Comment>Reference</Comment>
           <Type>String</Type>
       </Parameter>
       <Parameter>
           <Comment>A1 style (optional)</Comment>
           <Type>Boolean</Type>
       </Parameter>
       <Help>
           <Text>Returns the content of the cell specified by the reference text. The second parameter is optional.</Text>
           <Syntax>INDIRECT(referenceText, a1 style)</Syntax>
           <Example>INDIRECT(A1), A1 contains "B1", and B1 1 => returns 1</Example>
           <Example>INDIRECT("A1"), returns content of A1</Example>
       </Help>
   </Function>
   <Function>
       <Name>ROW</Name>
       <Type>Int</Type>
       <Parameter>
           <Comment>Reference</Comment>
           <Type>String</Type>
       </Parameter>
       <Help>
           <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>
           <Syntax>ROW(reference)</Syntax>
           <Example>ROW(A1) returns 1</Example>
           <Example>ROW(D2) returns 2</Example>
           <Related>ROWS</Related>
           <Related>COLUMN</Related>
       </Help>
   </Function>
   <Function>
       <Name>ROWS</Name>
       <Type>Int</Type>
       <Parameter>
           <Comment>Reference</Comment>
           <Type>String</Type>
       </Parameter>
       <Help>
           <Text>The ROWS function returns the number of rows in a reference.</Text>
           <Syntax>ROWS(reference)</Syntax>
           <Example>ROWS(A1:C3) returns 3</Example>
           <Example>ROWS(D2) returns 1</Example>
           <Related>ROW</Related>
           <Related>COLUMNS</Related>
       </Help>
   </Function>
   <Function>
       <Name>SHEET</Name>
       <Type>Int</Type>
       <Parameter>
           <Comment>Reference</Comment>
           <Type>Reference</Type>
       </Parameter>
       <Help>
           <Text>Returns the sheet number of the reference or the string representing a sheet name.</Text>
           <Syntax>SHEET(reference)</Syntax>
           <Example>SHEET(Sheet1!C7) returns 1</Example>
           <Example>SHEET(Sheet2!C7) returns 2</Example>
       </Help>
   </Function>
   <Function>
       <Name>SHEETS</Name>
       <Type>Int</Type>
       <Parameter>
           <Comment>Reference</Comment>
           <Type>Reference</Type>
       </Parameter>
       <Help>
           <Text>Returns the number of sheets in a reference or current document.</Text>
           <Syntax>SHEETS(reference)</Syntax>
       </Help>
   </Function>
   <Function>
       <Name>LOOKUP</Name>
       <Parameter>
           <Comment>Lookup value</Comment>
           <Type>String/Numeric</Type>
       </Parameter>
       <Parameter>
           <Comment>Lookup vector</Comment>
           <Type>String/Numeric</Type>
       </Parameter>
       <Parameter>
           <Comment>Result vector</Comment>
           <Type>String/Numeric</Type>
       </Parameter>
       <Help>
           <Text>The LOOKUP function looks up the first parameter in the lookup vector. It returns a value in the result Vector with the same index as the matching value in the lookup vector. If value is not in the lookup vector it takes the next lower one. If no value in the lookup vector matches an error is returned. The lookup vector must be in ascending order and lookup and result vector must have the same size. Numeric values, string and boolean values are recognized. Comparison between strings is case-insensitive.</Text>
           <Syntax>LOOKUP(value; lookup vector; result vector)</Syntax>
           <Example>LOOKUP(1.232; A1:A6; B1:B6) for A1 = 1, A2 = 2 returns the value of B1.</Example>
       </Help>
   </Function>
   <Function>
       <Name>HLOOKUP</Name>
       <Type>String/Numeric</Type>
       <Parameter>
           <Comment>Lookup value</Comment>
           <Type>String/Numeric</Type>
       </Parameter>
       <Parameter>
           <Comment>Data source</Comment>
           <Type>Array</Type>
       </Parameter>
       <Parameter>
           <Comment>Row</Comment>
           <Type>Int</Type>
       </Parameter>
       <Parameter>
           <Comment>Sorted (optional)</Comment>
           <Type>Boolean</Type>
       </Parameter>
       <Help>
           <Text>Look for a matching value in the first row of the given table, and return the value of the indicated row.</Text>
           <Text>Looks up the 'lookup value' in the first row of the 'data source'. If a value matches, the value in the 'row' and the column, the value was found in, is returned. If 'sorted' is true (default), the first row is assumed to be sorted. The search will end, if the 'lookup value' is lower than the value, currently compared to.</Text>
           <Syntax>HLOOKUP(Lookup value; data source; Row; Sorted)</Syntax>
       </Help>
   </Function>
   <Function>
       <Name>VLOOKUP</Name>
       <Type>String/Numeric</Type>
       <Parameter>
           <Comment>Lookup value</Comment>
           <Type>String/Numeric</Type>
       </Parameter>
       <Parameter>
           <Comment>Data source</Comment>
           <Type>Array</Type>
       </Parameter>
       <Parameter>
           <Comment>Column</Comment>
           <Type>Int</Type>
       </Parameter>
       <Parameter>
           <Comment>Sorted (optional)</Comment>
           <Type>Boolean</Type>
       </Parameter>
       <Help>
           <Text>Look for a matching value in the first column of the given table, and return the value of the indicated column.</Text>
           <Text>Looks up the 'lookup value' in the first column of the 'data source'. If a value matches, the value in the 'column' and the row, the value was found in, is returned. If 'sorted' is true (default), the first column is assumed to be sorted. The search will end, if the 'lookup value' is lower than the value, currently compared to.</Text>
           <Syntax>VLOOKUP(Lookup value; data source; Column; Sorted)</Syntax>
       </Help>
   </Function>
   <Function>
       <Name>MULTIPLE.OPERATIONS</Name>
       <Type>String/Numeric</Type>
       <Parameter>
           <Comment>Formula cell</Comment>
           <Type>Reference</Type>
       </Parameter>
       <Parameter>
           <Comment>Row cell</Comment>
           <Type>Reference</Type>
       </Parameter>
       <Parameter>
           <Comment>Row replacement</Comment>
           <Type>Reference</Type>
       </Parameter>
       <Parameter>
           <Comment>Column cell (optional)</Comment>
           <Type>Reference</Type>
       </Parameter>
       <Parameter>
           <Comment>Column replacement (optional)</Comment>
           <Type>Reference</Type>
       </Parameter>
       <Help>
           <Text>MULTIPLE.OPERATIONS executes the formula expression pointed to by FormulaCell and all formula expressions it depends on while replacing all references to RowCell with references to RowReplacement respectively all references to ColumnCell with references to ColumnReplacement. The function may be used to easily create tables of expressions that depend on two input parameters.</Text>
           <Syntax>MULTIPLE.OPERATIONS(Formula cell; Row cell; Row replacement; Column cell; Column replacement)</Syntax>
       </Help>
   </Function>
   <Function>
       <Name>MATCH</Name>
       <Type>Int</Type>
       <Parameter>
           <Comment>Search value</Comment>
           <Type>String/Numeric</Type>
       </Parameter>
       <Parameter>
           <Comment>Search region</Comment>
           <Type>Reference/Array</Type>
       </Parameter>
       <Parameter>
           <Comment>Match type (optional)</Comment>
           <Type>Int</Type>
       </Parameter>
       <Help>
           <Text>Finds a search value in a search region, and returns its position (starting from 1). Match type can be either -1, 0 or 1 and determines how is searched for the value. If match type is 0, the index of the first value that equals search value is returned. If match type is 1 (or omitted), the index of the first value that is less than or equal to the search value is returned and the values in the search region must be sorted in ascending order. If match type is -1, the smallest value that is greater than or equal to the search value is found, and the search region needs to be sorted in descending order.</Text>
           <Syntax>MATCH(Search value; Search region; Match type)</Syntax>
       </Help>
   </Function>
   <Function>
       <Name>OFFSET</Name>
       <Type>Reference</Type>
       <Parameter>
           <Comment>Reference or range</Comment>
           <Type>Reference</Type>
       </Parameter>
       <Parameter>
           <Comment>Number of rows to offset</Comment>
           <Type>Int</Type>
       </Parameter>
       <Parameter>
           <Comment>Number of columns to offset</Comment>
           <Type>Int</Type>
       </Parameter>
       <Parameter>
           <Comment>Height of the offset range (optional)</Comment>
           <Type>Int</Type>
       </Parameter>
       <Parameter>
           <Comment>Width of the offset range (optional)</Comment>
           <Type>Int</Type>
       </Parameter>
       <Help>
           <Text>Modifies a reference's position and dimension.</Text>
           <Syntax>OFFSET(Reference reference; Integer rowOffset; Integer columnOffset; Integer newHeight; Integer newWidth)</Syntax>
       </Help>
   </Function>
</Group>
</KSpreadFunctions>
 |