Vlookup Function
The VLOOKUP function in Excel is a powerful tool for searching and retrieving data from a table. VLOOKUP stands for “Vertical Lookup,” which means that it searches for a value in the first column of a table and returns a corresponding value from a specified column in the same row.

Left Function
The LEFT function in Excel is a built-in text function that allows you to extract a specified number of characters from the beginning of a text string.

Goals
Please follow the directions given below, which include downloading the Excel worksheet required to perform the challenge tasks. Once you have completed the download, proceed to take the challenge and test your skills.

Task

Based on the Postal Abbreviations and Area Codes of the
States in the range A2:A51, type the names of the
corresponding states in the range B2:B51

Submission
Reply to this post with your formula code and solution file. Please be sure to blur or hide your formula code.

or =VLOOKUP(LEFT(D2:D51,2),D2:E51,MATCH(B1,D1:E1,0),0)

USING POSTAL CODE ABBREVIATION AND AREA CODES AS THE LOOKUP RANGE
=VLOOKUP(A2:A51,CHOOSE({1,2},D2:D51&H2:H51,E2:E51),2,0)

We can decide to hardcode the length of the abbreviation by 2. or use the LEN function. Both will still work fine considering the fact that it’s uniform.
For the second and third alternatives it will not also require absolute referencing.
`
I decided to stick to old formulas and not used any of the new formulas…

Thank you for participating in the Excel Challenge related to Vlookup & Left Functions related Workout! I hope you found this challenge to be a fun and engaging way to improve your Excel skills and learn more about how to work with Vlookup & Left Functions in Excel.

Formula to get the States Names: I have given a name to the range $D$1:$H$51 as “Location” and used the same in the formula. =VLOOKUP(LEFT($A2,2),Location,2,FALSE).