That's a VLOOKUP formula.