INDIRECT() returns the cell or area reference denoted by the text argument.
Syntax:
INDIRECT(ref_text,isA1Style)
ref_text a string representation of the desired reference as it would
normally be written in a cell formula.
isA1Style (default TRUE) specifies whether the ref_text should be
interpreted as A1-style or R1C1-style.
| Modifier and Type | Field and Description |
|---|---|
| public static final FreeRefFunction | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| public ValueEval | evaluate(ValueEval[]
the pre-evaluated arguments for this function. args is never args, OperationEvaluationContext null,
nor are any of its elements.primarily used to identify the source cell containing the formula being evaluated.
may also be used to dynamically create reference evals. ec)Implements org.
|
| private static boolean | |
| private static ValueEval | |
| private static String[] | Returns: array of length 2: {workbookName, sheetName,}. Second element will always be present. First element may be null if sheetName is unqualified. Returnsnull if text cannot be parsed.
|
| private static String | Returns: null if there is a syntax error in any escape sequence
(the typical syntax error is a single quote character not followed by another).
|
| instance | back to summary |
|---|---|
| public static final FreeRefFunction instance | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| Indirect | back to summary |
|---|---|
| private Indirect() | |
| canTrim | back to summary |
|---|---|
| private static boolean canTrim(CharSequence text) | |
| evaluate | back to summary |
|---|---|
| public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) Implements org.
| |
| evaluateBooleanArg | back to summary |
|---|---|
| private static boolean evaluateBooleanArg(ValueEval arg, OperationEvaluationContext ec) throws EvaluationException | |
| evaluateIndirect | back to summary |
|---|---|
| private static ValueEval evaluateIndirect(final OperationEvaluationContext ec, String text, boolean isA1style) | |
| parseWorkbookAndSheetName | back to summary |
|---|---|
private static String[] parseWorkbookAndSheetName(CharSequence text)
| |
| unescapeString | back to summary |
|---|---|
private static String unescapeString(CharSequence text)
| |