public class LookupReferenceCalculator extends Object
| Constructor and Description |
|---|
LookupReferenceCalculator() |
| Modifier and Type | Method and Description |
|---|---|
protected static Ptg |
calcAddress(Ptg[] operands)
ADDRESS
Creates a cell address as text, given specified row and column numbers.
|
protected static Ptg |
calcAreas(Ptg[] operands)
AREAS
Returns the number of areas in a reference.
|
protected static Ptg |
calcChoose(Ptg[] operands)
CHOOSE
Chooses a value from a list of values
Note, this function does not support one specific use-case.
|
protected static Ptg |
calcColumn(Ptg[] operands)
COLUMN
Returns the column number of a reference
|
protected static Ptg |
calcColumns(Ptg[] operands)
COLUMNS
Returns the number of columns in an array reference or array formula
|
protected static Ptg |
calcHlookup(Ptg[] operands)
HLOOKUP: Looks in the top row of an array and returns the value of the
indicated cell.
|
protected static Ptg |
calcHyperlink(Ptg[] operands)
HYPERLINK
Creates a shortcut or jump that opens a document
stored on a network server, an intranet, or the Internet
Function just returns the "friendly name" of the link,
Excel doesn't appear to validate the url ...
|
protected static Ptg |
calcIndex(Ptg[] operands)
INDEX
Returns a value or the reference to a value from within a table or range.
|
protected static Ptg |
calcIndirect(Ptg[] operands)
INDIRECT
Returns a reference indicated by a text value
INDIRECT(ref_text,a1)
Ref_text is a reference to a cell that contains an A1-style
reference, an R1C1-style reference, a name defined as a reference,
or a reference to a cell as a text string.
|
static Ptg |
calcLookup(Ptg[] operands)
LOOKUP
The LOOKUP function returns a value either from a one-row or one-column range
You can also use the LOOKUP function as an alternative to the IF function for elaborate tests or
tests that exceed the limit for nesting of functions.
|
static Ptg |
calcMatch(Ptg[] operands)
MATCH
Looks up values in a reference or array
Returns the relative position of an item in an array that matches a specified value in a
specified order.
|
protected static Ptg |
calcOffset(Ptg[] operands)
calcOffset
Returns a reference to a range that is a specified number of rows and columns from a cell or range of cells.
|
protected static Ptg |
calcRow(Ptg[] operands)
ROW
Returns the row number of a reference
Note this is 1 based, ie Row1 = 1.
|
protected static Ptg |
calcRows(Ptg[] operands)
ROWS
Returns the number of rows in a reference
ROWS(array)
Array is an array, an array formula, or a reference to a range of cells for which you want the number of rows.
|
protected static Ptg |
calcTranspose(Ptg[] operands)
TRANSPOSE
Returns the transpose of an array
The TRANSPOSE function returns a vertical range of cells as a horizontal range, or vice versa.
|
protected static Ptg |
calcVlookup(Ptg[] operands)
VLOOKUP
Looks in the first column of an array and moves across the row to return the value of a cell
Searches for a value in the leftmost column of a table, and then returns a value in the same row
from a column you specify in the table.
|
protected static Ptg calcAddress(Ptg[] operands)
protected static Ptg calcAreas(Ptg[] operands)
protected static Ptg calcChoose(Ptg[] operands)
protected static Ptg calcColumn(Ptg[] operands)
protected static Ptg calcColumns(Ptg[] operands)
protected static Ptg calcHlookup(Ptg[] operands) throws FunctionNotSupportedException
FunctionNotSupportedExceptionprotected static Ptg calcHyperlink(Ptg[] operands)
protected static Ptg calcIndex(Ptg[] operands)
protected static Ptg calcIndirect(Ptg[] operands)
public static Ptg calcLookup(Ptg[] operands)
public static Ptg calcMatch(Ptg[] operands)
protected static Ptg calcOffset(Ptg[] operands)
protected static Ptg calcTranspose(Ptg[] operands)
protected static Ptg calcRow(Ptg[] operands) throws FunctionNotSupportedException
FunctionNotSupportedExceptionprotected static Ptg calcRows(Ptg[] operands) throws FunctionNotSupportedException
FunctionNotSupportedExceptionprotected static Ptg calcVlookup(Ptg[] operands) throws FunctionNotSupportedException
FunctionNotSupportedExceptionCopyright © 2002–2019 Starter Inc.. All rights reserved.