Skip to main content

Lookup

The Lookup task allows populating of additional information about entries in a column from another reference view.

This task is very similar to the TODOjoinViews task supported by Mammoth. The key difference is that Lookup brings only one column from the reference view while Join can bring multiple columns from the reference view.

This task is similar to doing a VLOOKUP in Microsoft Excel.

Quickstart

Let us start with the following sample data:

Student IDTotal Marks
2239
1232
4200

The data is a collection of Student IDs. Let us also assume that we have a reference view containing the following data:

IDName
1Alice
2Bob
3Chuck
4Diana

Let us assume that you want to populate the Mark Sheet with the Student Name. You can achieve that by completing the following steps:

  1. Go to Combine.
  2. Select the Lookup function.
  3. Select Student ID as the Key Column.
  4. Select Students → View 1 as the Lookup Table.
  5. Under the Lookup Table, Select ID as the Key Column, Name as the value column.
  6. Enter Name as the new column name.
  7. Click APPLY.

The final result will appear as shown below:

Student IDTotal MarksName
2239Bob
1232Alice
4200Diana

Supported Options

  • Source Key Column: The column used as the key when performing Lookup.
  • Lookup Table: The view used as the reference table when performing Lookup.
  • Lookup Key Column: The column in the reference table used as the key when performing Lookup.
  • Lookup Value Column: The column in the reference table used as the value when performing Lookup.
  • Apply result into: This option allows configuration of the destination of the results by this task. See result documentation.