Forum Discussion

elliotdixon's avatar
elliotdixon
Responsive Resident
10 years ago
Solved

Lookup two columns - Related()?

Hi All, I think I should be using the related function here but am not sure. Just want to do a lookup on another table   I have a locations table Location_ID Location Name 1 Mars...
  • konstantinos's avatar
    10 years ago

    You can try this 

    =
    LOOKUPVALUE (
        locations[Location Name];
        locations[Location_ID]; routes[Location_from]
    )
        & " to "
        & LOOKUPVALUE (
            locations[Location Name];
            locations[Location_ID]; routes[Location_to]
        )