Excel - state abbreviations

Asked By gls858
18-Jun-07 02:32 PM
Does anyone have a way of converting state abbreviations to the full
state name? Example AZ to Arizona. I have two lists I need to sort by
state and compare. One list has the abbreviation and the other the full
name. Of course they don't sort the same.

gls858
Excel
(1)
VLOOKUP
(1)
Arkansas
(1)
Arizona
(1)
Coyrse
(1)
Noce
(1)
Usps
(1)
Desk
(1)
  Mike replied...
18-Jun-07 02:46 PM
There's a noce sorted list here

http://www.usps.com/ncsc/lookups/usps_abbreviations.html

They're the wrong way round for what you want but that's simply a matter of
manually reversing the columns. Then

=VLOOKUP("AZ",A1:B59,2,FALSE)

AZ could of coyrse be a cell reference

Mike
  gls858 replied...
18-Jun-07 04:13 PM
Thanks Mike. I'll have to give it a try. Just got something else thrown
on my desk so it may be a while before I get back to the lists. I'll
try and post back to let you know if I got it to work.

gls858
  gls858 replied...
19-Jun-07 06:45 PM
Thanks for the help Mike I finally got around to looking at this
and I can't seem to get VLOOKUP to do what I want. I'll try a more
detailed explanation of what I would like to do. Maybe that will help.
I have a list of names with address and the state is represented by
it's two letter abbreviation with multiple entries for each state
(over 500) like so:
AZ
AZ
AZ
AR
AR
AR
CA
CA


I would like to add another column with a formula that would change the
abbreviation to the full name like so:
Arizona
Arizona
Arizona
Arkansas
Arkansas
Arkansas
California
California

Is this possible with Vlookup?

gls858
  Chip Pearson replied...
19-Jun-07 06:59 PM
Assuming the following:

Abbreviations in K1:K50
Full Names in L1:L50

Your state abbreviations in A1:A50

use

=VLOOKUP(A1,$K$1:$L$50,2,FALSE)

to return the full name of the state whose abbreviation is in your data in
cell  A1.


--
Cordially,
Chip Pearson
Microsoft MVP  - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)
  gls858 replied...
20-Jun-07 10:50 AM
Thanks Chip! Worked like a charm. I am assuming the absolute value causes
the lookup to start at the top of the coll each time.

gls858
  Chip Pearson replied...
20-Jun-07 11:03 AM
Yes. Since the lookup range has absolute references, it will not change as
you copy/fill the formula down a column. The lookup value has a relative
range so that it will change as you fill down.


--
Cordially,
Chip Pearson
Microsoft MVP  - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)
  gls858 replied...
20-Jun-07 04:34 PM
Thanks for the explanation.

gls858
Create New Account
help
Validation lists Excel Hello all, I need some help on using functions with a validation list. There are Spirits, Liqueurs, Aperitiefs_ __Digestifs, Wines_ __ _Champ, Boxed_Wines, Bottle_Beers, D_Beers, Minerals, Sundries, "")) Pack size = IF(ISBLANK($A2), "", IF(VLOOKUP($A2, Cata01, 2, FALSE) = "Volume", Volume, IF(VLOOKUP($A2, Cata01, 2, FALSE) = "Mass", Mass, ""))) Minerals, volumes etc are range names. If you can the existing formulas and or method please do so. Thank you and best regards Max Excel Worksheet Discussions INDIRECT (1) VLOOKUP (1) ISBLANK (1) CHOOSE (1) MATCH (1) Aperitiefs (1) Devenshire (1) Catagories (1) Hi, Here US Countries Countries Countries Canada Alabama British Columbia Mexico Alaska Quebec Costa Rica Arizona Ontario Arkansas California 2. You apply range names to each as follows: Countries, US, Canada, Alabama respectively
altering text to other column Excel I have a database that includes states and district numbers in separate fields. I need change them to a third combined listing. For Example: Tennessee 5 and change to TN_05 Arkansas 2 and change to AR_02 I will eventually have over 3000 entries and any help would be greatly appreciated Excel Worksheet Discussions VLOOKUP (1) COUNTA (1) TEXT (1) Database (1) Subscribers (1) Devenshire (1) Tennessee (1 Arkansas (1) Assuming you are using a lookup table for the abbreviations (say, in Sheet2, columns J:K): = VLOOKUP(A1, Sheet2!J:K, 2, FALSE) & TEXT(B1, " \ _00") You will also need a list to return just the two letters. If you alredy have it you could use a vlookup function to return the abreviation combined with the concatenate function something like this: = Concatenate(vlookup(A1, $B$1:$C$52, 2, False), "_", D1) This assumes that the list I
vlookup Excel Hello to all, I have the archives excel with 12 sheets with data and a 13° for the totals. I have used in 13° the sheet in several columns vlookup+ vlookup+ +vlookup+ . . . . . . . . . . . . . . in order to add the data of the 12 sheets precedence. The formula has become the formula need modified manually. It's possible to insert simple macro that functions like vlookup that controls l' heading of column of 13° the sheet and verifies in the twelve 05 0, 07 0, 09 0, 11 . . . . . . . . . . . . . . . . . . . . . Sheet 13 cod val1 val2 val3 val4 A = VLOOKUP(. . . . )+ = VLOOKUP(. . .)+VLOOKUP(. . .)+VLOOKUP(. . .)+. . . . . . . . . . . . . . . . . B = VLOOKUP(. . . . )+ = VLOOKUP(. . .)+VLOOKUP(. . .)+VLOOKUP(. . .)+. . . . . . . . . . . . . . . . . C = VLOOKUP(. . . . )+ = VLOOKUP(. . .)+VLOOKUP(. . .)+VLOOKUP(. . .)+. . . . . . . . . . . . . . . . . D = VLOOKUP
excel Excel excel Excel Discussions Excel (1) ExcelSalesAid (1) GuillettMicrosoft (1) SalesAid (1) Dguillett1 (1) I will certainly try to - - Don Guillett Microsoft MVP Excel SalesAid Software dguillett1@austin.rr.com keywords: excel description: excel