Hello, and thanks for read.
I want to translate country codes ISO to FIPS.
I have a column with ISO codes an other column with FIPS codes.
Equivalents in the same row.
I have other column with cities' names, next to other column with the ISO code of the country of city.
I want to translate each ISO code to FIPS code in the cities column.
For more comprehension, see this part of my spreadsheet
___________________________________________________________________________
ISO_COLUMN........FIPS_COLUMN.........................ISO_COLUMN_CITY.........CITY_COLUMN
ES................................SP................................................ES.............. ..................BARCELONA
AW................................AA.............................................ES................. ...............ZARZA
MA................................MO.............................................ES................. ...............ZUBIA
___________________________________________________________________________
There are many more cities with ES and many more different cities with the same ISO code, for this reason I don't want to do that manually.
I want to translate data in ISO_COLUMN_CITY using a function.
Last edited by rulo4; 11-12-2011 at 12:57 AM. Reason: solved!
If the columns that you showed are A, B, C, D, then assume E will have the FIPS code for that city.
In E2 use:
=VLOOKUP(C2,A:B,2,FALSE)
and copy down
Making the world a better place one fret at a time
||||||
If someone helped you, please click on the star icon at the bottom of their post
If your problem is solved, please update the first post:
EDIT, Go Advanced button, set Prefix to SOLVED
[code]
' Enclose code in tags like this
[/code]
Don't attach a screenshot--just attach your Excel file! It's easier and will let us experiment with your data, formulas, and code.
Thanks, was just what I wanted!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks