View Single Post
  #2   Report Post  
Old August 13th 08, 07:21 PM posted to microsoft.public.excel.worksheet.functions
Bob Phillips[_3_] Bob Phillips[_3_] is offline
external usenet poster
First recorded activity by ExcelBanter: Jun 2008
Posts: 2,420
Default Covert Text String Data

You need to build a lookup table of two columns, state abbreviation and then
name, and lookup that value




"Pat" wrote in message
I need take a column of abbreviated state names (in random order and
frequency) in sheet 1 and have them converted to the states full name in
appropriate cell in sheet 2. Here's an example:

Sheet 1 Sheet 2
Row 2 column 4 = MD Row 2 column 5 = Maryland
Row 3 column 4 = AK Row 3 column 5 = Alaska

So the sheet one abbreviation needs to go through some process where it
looks at all 50 states and then selects the right state. I tried to do an
"IF" but that has a limit of about 7 or 8 and that's all. Obviously I
something that will do 50. Any suggestions?