lookup_by_column function

Use one column to pick values from other columns.