Beginner

Look up a value in a table

Find a key in one column and return the matching value from another.

The formula

=XLOOKUP("Apple", A:A, B:B)

How it works

Lookup value
Apple
AB
1FruitPrice
2Apple1.20
3Banana0.50
4Cherry3.00
Result
1.20

Find Apple in the Fruit column, return its Price.

Functions used