Hi Greg,
Welcome to ExcelFox !!
Convert the list into a table. In Excel select the range > click on Insert menu > Table > OK.
Now you can use this table across the workbook.
The formula would be:
=VLOOKUP(A2,Table1,2,0)
Hi Greg,
Welcome to ExcelFox !!
Convert the list into a table. In Excel select the range > click on Insert menu > Table > OK.
Now you can use this table across the workbook.
The formula would be:
=VLOOKUP(A2,Table1,2,0)
Cheers !
Excel Range to BBCode Table
Use Social Networking Tools If You Like the Answers !
Message to Cross Posters
@ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)
Hi,
Thanks, this reply is very helpful however I need to re-state my request. I wish to create a custom function (i.e. Abbrev2StName) which can be accessed from any Excel worksheet. The Abbrev2StName function would call a cell location containing the state abbreviation and the result is the State name in a different cell location. For example:
The content of cell A2 contains CA
The content of cell B2 contains =Abbrev2StName(A2)
The result in cell B2 contains = California
Thanks in advance for your reply.
Kind regards,
Greg
Bookmarks