?
Solved

Fill continents

Posted on 2014-11-13
3
Medium Priority
?
291 Views
Last Modified: 2014-11-15
I need to find a quick way to fill column A here in this online Google spreadsheet https://docs.google.com/spreadsheets/d/1hpp_HYEOVPzBnfCRZwQfpsYuAxkK8e31OVeFzAz4tsg/edit#gid=323269223 with continents for 228 countries shown in the adjacent column B.  Assistance is greatly appreciated.
0
Comment
Question by:frugalmule
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 52

Assisted Solution

by:Rgonzo1971
Rgonzo1971 earned 1000 total points
ID: 40441958
Hi,

pls refer to

http://en.wikipedia.org/wiki/List_of_sovereign_states_and_dependent_territories_by_continent_%28data_file%29

it contains the iso code for continent EU = europe, OC = Oceania, AF = Africa etc.

and countries

Regards
0
 
LVL 81

Accepted Solution

by:
byundt earned 1000 total points
ID: 40441975
This problem would be far easier to solve manually than with an automated tool. Having collected postage stamps in my youth, I knew every single one off the top of my head.

Because you asked for an automated solution, I downloaded data from http://www.clearias.com/countries-world-listed-continent/ to look-up the continents given the country name. I needed to use some text manipulation formulas to turn the single-column list (continent name followed by country names) into a two-column list.

After doing so, I found discrepancies between the way you listed country names and the way they were shown in the data from the web. To resolve this issue, I installed Microsoft's "Fuzzy Lookup" add-in from http://www.microsoft.com/en-us/download/details.aspx?id=15011

To use the Fuzzy Lookup add-in, I put your data in a table named tbCountries and the data from the web in a table named tbLookup. I then matched the Countries column in tbCountries with the CountryData column in tbLookup. I also checked tbLookup.ContinentData as the only output column. Using this setup, I then positioned the cursor in cell A11 of tbCountries and clicked the Go button on the add-in. The add-in then populated most of the cells in your table.

After running the Fuzzy Lookup add-in, a number of cells were left blank. Most of these were in the Caribbean or Pacific Ocean. I populated these cells manually, and colored them in yellow in the attached workbook.
CountriesBY.xlsx
0
 
LVL 81

Expert Comment

by:byundt
ID: 40441988
FWIW, you had the capital cities offset by one row in a number of places (such as Cuba) in your workbook. Drawing on my youthful experience as a stamp collector, I fixed the ones that I caught in the workbook I posted. I did not check if the remainder of the columns were also incorrectly offset--but now notice that the UTC column is also incorrect.
0

Featured Post

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
First of all let me say that the only language that I speak is English, but in answering questions here I often come across people whose English skills are not the best and I’d like to be able to communicate better with them, and the following descr…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate the easy use of Gmail embedding images in your email so the recipient of your email can view them in context.

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question