Skip to main content
2 of 3
added 37 characters in body

If cell A1 contains 'john' then cell B1 should equal 'red', if cell A2 contains 'paul' then cell V2 should equal 'blue'

Let's say we have a table like below which pairs each name with a colour:

Name Colour
Paul blue
John red

I would like a formula in the 2nd column below that will say: if cell contains 'Paul' then colour is 'blue' etc.

Data Colour
Paul*22342 ?
John/23rff ?

Any help would be much appreciated!