Solved

Fill continents

Posted on 2014-11-13
3
244 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 50

Assisted Solution

by:Rgonzo1971
Rgonzo1971 earned 250 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 250 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Learn about cloud computing and its benefits for small business owners.
Explore the encryption capabilities built into Google Apps and how these features can help you meet privacy policy and regulatory compliance, but are not a full solution. Understand and compare the most popular email encryption services for Google A…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial demonstrates in Google Analytics how to create a custom report that shows you traffic over time using the month of year dimensions. There are also instructions on how to fix Google's odd month of year formatting, which Microsoft …

756 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