마음으로 찍는 사진

Google Spreadsheet에 있는 GoogleLookUp이라는 함수를 아시나요? 본문

Web

Google Spreadsheet에 있는 GoogleLookUp이라는 함수를 아시나요?

마음으로 찍는 사진 2008. 3. 7. 08:51
Google Spreadsheets을 써보셨나요? 여기에는 GoogleLookUp이라고 하는 재미 있는 함수가 있다네요. (via ReadWriteWeb)

이 함수는 두 셀에 있는 내용을 기반으로 Google에서 검색을 한 뒤에 그 결과값을 뿌려 주는 함수 입니다.

위 사이트에 올라온 간단한 사례를 보면...
1. Create a Google Spreadsheet
2. Tape "bmw" in A2, "mercedes" in A3 and "nissan" in A4
3. Select A2:A4 and, while holdind the Ctrl key, expand your selection until A50.
4. Say "wow"
5. Tape "employees" from B2 to B50.
6. Enter "=googlelookup(A2; B2)" in C2 and expand the formula until C50
7. "wow", again
물론 wow는 감탄사 인거 아시지요???? 이렇게 하고나면...
사용자 삽입 이미지
이런 결과를 얻을 수 있습니다. 물론 각 결과에 마우스 커서를 가져가면 어떤 검색 결과를 통해서 값을 얻게 되었는지를 알려줍니다.

또한 아래와 같은 다른 사례에도 적용을 할 수 있다고 합니다.
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
Actors (like "Audrey Hepburn"): date of birth, place of birth, nationality
Politicians (like "Anwar Al-Sadat"): date of birth, place of birth, nationality
U.S. Presidents (like "Zachary Taylor"): date of birth, place of birth, political party
Baseball Players (like "Wade Boggs"): games, at bats, earned run average, position
Chemical Elements (like "Helium"): atomic number, discovered by, atomic weight
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
재미 있는 기능이지요? Web Office와 검색엔진의 절묘한 조화가 만든 함수 입니다. 결과를 알고 보면 함수이름이 참 절묘하다는 것도 알 수 있습니다. :)