Google Drive Blog
The latest news and updates from the Google Drive team.
Tips & Tricks: GoogleLookup in Google spreadsheets
Monday, July 26, 2010
Have you been frustrated trying to find the populations or capitals of a list of countries? Would you like to easily get a list of the birthdays of all of your favorite musicians and actors? The GoogleLookup function in Google spreadsheets does all of the work, and in a matter of seconds you have all of the information you want. Using the information collected from the Web using Google Search, the GoogleLookup function finds the values for straightforward facts about specific things.
To use the GoogleLookup function, enter the following formula in the desired spreadsheet cell:
=GoogleLookup(“entity” ; “attribute”)
where “entity” represents the name of the entity you want to access and “attribute” is the type of information that you want to retrieve.
For example, I want to know the atomic number of gold. In this case, gold is the entity while atomic number is the attribute. In the desired cell, I enter =GoogleLookup(“Gold” , “Atomic Number”). Be sure to include quotation marks around both the entity and the attribute.
The atomic number of gold, 79, then shows up in the cell in which the formula was entered.
After experimenting with one GoogleLookup formula, I’d like to apply the formula to a larger list of elements, and also get information on the atomic weight. Instead of typing the formula out like before, I want to click the cell of the first entity in my list, in this case it’s gold. Next, I want to reference the cell in which I name the attribute I’m looking up, in this case, atomic number. Then I want to freeze the appropriate rows and columns with the “$” symbol.
Freezing the appropriate row and column allows me to drag the formula across to the “Atomic Weight” column and down the other rows to apply the formula to all of the other entities. When I apply the formula to all of the other cells, the results will show.
Keep in mind that while the GoogleLookup function knows quite a bit, it doesn't know everything. Although not all of the formulas you try will work, we encourage you to experiment. When GoogleLookup isn't sure if an answer isn't the best one for your entry, you'll see a dialog box with a handful of possible answers that you can choose from. Just select the cell and click
More Options...
to select a different value.
Here are a few more examples of entities you can access using the GoogleLookup formula, and a few popular attributes:
Countries and Territories
(like "Burkina Faso"): population, capital, largest city, gdp
U.S. States
(like "Tennessee"): area, governor, nickname, flower
Rivers
(like "Amazon River"): origin, length
Cities and Towns
(like "Chicago"): state, mayor, elevation
Musicians
(like "John Lennon"): date of birth, place of birth, nationality
Politicians
(like "Anwar Al-Sadat"): date of birth, place of birth, nationality
Baseball Players
(like "Wade Boggs"): games, at bats, earned run average, position
Chemical Compounds
(like "Isopropyl Alcohol"): chemical formula, melting point, boiling point, density
Stars
(like "Betelgeuse"): constellation, distance, mass, temperature
Planets
(like "Saturn"): number of moons, length of day, distance from sun, atmosphere
Dinosaurs
(like "Velociraptor"): height, weight, when it lived
Ships
(like "USS Chesapeake"): length, displacement, complement, commissioned
Companies
(like "Hewlett-Packard"): employees, ceo, ticker
Checkout the video below to see the GoogleLookup function in action and don't forget to give it a try to see what kind of facts you can find.
Posted by: Julia Harter, Consumer Operations Associate
Labels
#SafeOnline
accessibility
add-ons
Android
app scripts
apps
attachments
avery
back to school
blind
braille
charts
chat
Chrome
Chrome extensions
chrome web apps
Cloud Connect
collaboration
comments
community
discussions
docs
docs editors
document list
documents
documents list
drawings
Drive
drivebacktoschool
easybib
education
enterprise
Faces of Docs
folders
forms
gmail
gone google
Google Apps Blog
Google Apps Script
Google Cloud Connect
google docs
Google Docs Viewer
google documents
google drive
Google Drive Blog
Google Pack
Google Sites
Google+
googlenew
Guest Post
hangout on air
help
holiday
images
iOS
Keep
letterfeed
low-vision
mailchimp
mobile
nanowrimo
OCR
office compatibility mode
offline
paperless
pdfs
photo
photos
presentations
product ideas
profiles
quickoffice
Reddit
research
save to drive
screen reader
scripts
security
sharing
sheet
sheets
shortcut
slides
spell check
spreadsheets
stock photos
storage
students
suggested edits
tables
teachers
team
templates
videos
Viewer
work
Archive
2016
Sep
May
Apr
Feb
Jan
2015
Dec
Nov
Oct
Jul
Mar
Feb
Jan
2014
Dec
Nov
Oct
Sep
Aug
Jun
Apr
Mar
Jan
2013
Dec
Nov
Oct
Sep
Aug
Jun
May
Apr
Mar
Feb
Jan
2012
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
2011
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2010
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2009
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2008
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2007
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2006
Dec
Nov
Oct
Feed
Visit our site
Google Drive
Google Docs, Sheets, Slides
Google
on
Follow @googledrive
Give us feedback in our
Product Forum
.