Skip to main content

Look up value

Find the first row whose column holds a value and return another column of that row, or a fallback value when no row matches.

Command in the Data Table toolkit · id ooa.datatable/lookup · 6 inputs (4 required), 3 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
TableTableYesTable to look in.
Look in columnStringYesColumn that holds the value to look for.
Value to look forAnyYesNumbers compare by value; text by equality.
Return the value of columnStringYesColumn whose value is returned from the matching row.
Value when not foundAnyNoReturned when no row matches; empty when not set.
Match caseBooleanNofalseCompare text with upper/lower case taken into account.

Outputs​

OutputTypeWhat it is
valueAnyThe value from the return column, or the fallback when nothing matches.
foundBooleanTrue when a row matches.
rowNumberZero-based number of the matching row, or -1.