Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
julieb
 
Posts: n/a
Default spell out state name from an abbreviation

I am entering an abbreviation of a state (along with a city name) in one cell
& needing it to spell out just the state name (fully) in a different cell
within the same excel workbook. How do I do this? Is there a program out
there that I can use? I need this to work on all the states.
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

In another location, perhaps a second sheet (say, sheet2), enter the
abbreviations and states:

A B
1 AL Alabama
2 AK Alaska
3 ...

Then, assuming your abbreviation is entered in sheet1, cell D1, use
VLOOKUP:


=VLOOKUP(D1, Sheet2!A:B, 2, FALSE)


In article ,
julieb wrote:

I am entering an abbreviation of a state (along with a city name) in one cell
& needing it to spell out just the state name (fully) in a different cell
within the same excel workbook. How do I do this? Is there a program out
there that I can use? I need this to work on all the states.

  #3   Report Post  
patrick
 
Posts: n/a
Default

Use a VLOOKUP on the list below. You can place the list in your worksheet
and hide it or on a separate worksheet. You must use FALSE to get the
correct state name. =VLOOKUP(A1,$A$1:$A$50,2,FALSE)
Good Luck
Pat F

AL ALABAMA
AK ALASKA
AZ ARIZONA
AR ARKANSAS
CA CALIFORNIA
CO COLORADO
CT CONNECTICUT
DE DELAWARE
DC DISTRICT OF COLUMBIA
FL FLORIDA
GA GEORGIA
HI HAWAII
ID IDAHO
IL ILLINOIS
IN INDIANA
IA IOWA
KS KANSAS
KY KENTUCKY
LA LOUISIANA
ME MAINE
MD MARYLAND
MA MASSACHUSETTS
MI MICHIGAN
MN MINNESOTA
MS MISSISSIPPI
MO MISSOURI
MT MONTANA
NE NEBRASKA
NV NEVADA
NH NEW HAMPSHIRE
NJ NEW JERSEY
NM NEW MEXICO
NY NEW YORK
NC NORTH CAROLINA
ND NORTH DAKOTA
OH OHIO
OK OKLAHOMA
OR OREGON
PW PALAU
PA PENNSYLVANIA
RI RHODE ISLAND
SC SOUTH CAROLINA
SD SOUTH DAKOTA
TN TENNESSEE
TX TEXAS
UT UTAH
VT VERMONT
VA VIRGINIA
WA WASHINGTON
WV WEST VIRGINIA
WI WISCONSIN
WY WYOMING


"JE McGimpsey" wrote:

In another location, perhaps a second sheet (say, sheet2), enter the
abbreviations and states:

A B
1 AL Alabama
2 AK Alaska
3 ...

Then, assuming your abbreviation is entered in sheet1, cell D1, use
VLOOKUP:


=VLOOKUP(D1, Sheet2!A:B, 2, FALSE)


In article ,
julieb wrote:

I am entering an abbreviation of a state (along with a city name) in one cell
& needing it to spell out just the state name (fully) in a different cell
within the same excel workbook. How do I do this? Is there a program out
there that I can use? I need this to work on all the states.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
city, state, zip in same cell whs2002 Excel Discussion (Misc queries) 2 April 29th 05 07:02 AM
Splitting City State Zip Pete Provencher Excel Worksheet Functions 2 February 7th 05 09:33 PM
Auto spell check as in word NC Excel Discussion (Misc queries) 2 January 27th 05 05:43 PM
Zip - State - County dandigger Excel Discussion (Misc queries) 2 January 26th 05 08:54 PM
spell check protected document Sportingspaniel Excel Discussion (Misc queries) 1 January 10th 05 11:40 AM


All times are GMT +1. The time now is 03:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"