Products | Versions |
---|---|
Spotfire Statistica | 13.1 and higher |
Lookup(key-value, table-ref, col-idx [, range])
The lookup function looks for a value in the first column of a table or range you specify, and return the corresponding value from a column you specify. The lookup table/range must be sorted by the key column.
Click here for more details on the lookup function
Example, "Batch Date">=Lookup("A1234","R1C2:R"+ToString(NCases)+"C6",4)
Using this formula as the inclusion criteria in a subset node will return all rows in the input data in which the value in ˜Batch Date" is later than or equal to the value found in the fourth column of the specified range where the value "A1234" occurs within this range for the first time.