BONUS!

Method 4:

A fourth option that came to my mind when I was creating the thumbnail for the video was the LOOKUP formula:

=LOOKUP(B2,$H$2:$H$7,$G$2:$G$7)

Leila Gharani

Founder of XelPlus and ten-time Microsoft MVP. Leila helps over 500,000 professionals master Excel, Power BI, and data automation through practical, real-world training.