NEW Geloky now works inside Claude, ChatGPT and Cursor. See how Geloky inside Claude & ChatGPT →

Excel add-in

Geloky for Excel

Geocode and clean addresses, find the address of a point, measure distances and routes, find each customer’s nearest store, fill a distance matrix, list the US ZIP codes around a place and look up US ZIP codes, counties and cities without leaving your workbook: with eleven formulas for a few cells, or the Geloky pane for a whole column. Every lookup is paid from the same API wallet as the Geloky API.

Formulas=GELOKY.GEOCODE, =GELOKY.REVERSE, =GELOKY.DISTANCE, =GELOKY.ROUTE, =GELOKY.DISTANCE_MATRIX, =GELOKY.NEAREST, =GELOKY.ZIP_RADIUS, =GELOKY.CLEAN, =GELOKY.ZIP, =GELOKY.COUNTY, =GELOKY.CITY
Extra columnsTime zone anywhere; county, census tract and congressional district in the US, $0.001 more a lookup
PaneHome › Geloky, for a whole column at once
Price$0.001 per lookup, found or not, from your Geloky API wallet, and $0.002 an address cleaned. ZIP codes within a radius and the ZIP code, county and city lookups charge only what they find
Works inExcel for Microsoft 365 on Windows and Mac, Excel on the web, Excel 2021 and Excel 2024. Not on iPad or phones.
CountriesAddresses in every country; ZIP codes within a radius, and the ZIP code, county and city lookups, in the US
InstallDownload the add-in file and upload it in Excel, or ask your Microsoft 365 admin to add it for everyone
Your first formula
B2  350 5th Ave, New York, NY 10118
C2  =GELOKY.GEOCODE(B2)
Fills three cells
C2  40.748377
D2  -73.984854
E2  350 5th Ave, New York,
    New York, 10118

Install

Geloky for Excel is added from a small file, geloky-excel.xml, not from Microsoft’s add-in store. The file only tells Excel where the add-in lives on geloky.com: it holds no code and no key, and the add-in updates itself.

Excel on the web

  1. Open a workbook and choose Home › Add-ins › More Add-ins. In a narrow window, Add-ins is under ⋯ at the end of the Home tab.
  2. On the My Add-ins tab, choose Manage My Add-ins › Upload My Add-in, pick geloky-excel.xml and press Upload.
  3. The Geloky button appears at the right end of the Home tab, or under its ⋯.

Excel on the web keeps the add-in in this browser. In another browser, or after clearing this one’s data, upload the file again.

Excel for Windows

  1. Choose Home › Add-ins › More Add-ins.
  2. On the My Add-ins tab, choose Manage My Add-ins › Upload My Add-in, pick geloky-excel.xml and press Upload.
  3. The Geloky button appears at the right end of the Home tab, in every workbook.

No Upload in your Excel? Your company may have turned it off: ask your Microsoft 365 admin to add Geloky for you, as below.

Excel for Mac

  1. In Finder, choose Go › Go to Folder and open ~/Library/Containers/com.microsoft.Excel/Data/Documents/wef. If there is no wef folder, make one there.
  2. Put geloky-excel.xml in it, then quit Excel and open it again.
  3. Choose Home › Add-ins, then Geloky under Developer Add-ins. The Geloky button appears on the Home tab.

For everyone in a company

A Microsoft 365 admin adds Geloky once, for the people they choose, in Excel on Windows, Mac and the web: in the Microsoft 365 admin center, Settings › Integrated apps › Upload custom apps, choose Office Add-in and give the file’s link, https://geloky.com/excel/geloky-excel.xml. It reaches Excel within a day or so, and each person then pastes their own API key.

The add-in file
https://geloky.com/excel/
  geloky-excel.xml
Where to add it
Excel on the web and Windows
Home › Add-ins › More Add-ins
  › My Add-ins › Manage My Add-ins
  › Upload My Add-in

Excel for Mac: put the file in
~/Library/Containers/
  com.microsoft.Excel/Data/
  Documents/wef

Connect your account

  1. Create a free Geloky account if you don’t have one, and top up the API wallet on the API tab of your dashboard. Top-ups start at $5; your first one comes with $10 extra.
  2. Copy your API key from the same tab.
  3. In Excel, press Geloky on the Home tab. Paste the key in the pane and press Save key. Geloky checks it and shows the Geocode tab.

Excel keeps the key on this computer, never in the workbook, and it works in every workbook you open here. In Excel on the web it’s kept in this browser.

Where everything is
Home › Geloky › Geocode
  a whole column at once
Home › Geloky › Formulas
  a short formula guide
Home › Geloky › Account
  your key and wallet

Prices and caching

  • $0.001 per lookup: an address or a point, found or not, and a distance. A distance between two new addresses is three lookups, $0.003. Errors like a wrong key or an empty wallet are never charged.
  • Routes: $0.001 per leg and per new address. Nearest location: $0.003 per customer by road (its 3 closest locations compared), $0.001 in a straight line, and $0.001 per new address.
  • ZIP codes within a radius: $0.001 per place found, however many ZIP codes it lists, and $0.001 more for an address. A place not found costs nothing.
  • Address cleaning: $0.002 per address with GELOKY.CLEAN, found or not; empty cells and placeholders like n/a cost nothing.
  • US ZIP code, county and city lookups: $0.001 per ZIP code, county or place found; one that isn’t found costs nothing.
  • Extra columns: $0.001 more per address or point, whichever of them you ask for.
  • Kept for 6 hours: results are kept on this computer (in Excel on the web, in this browser), so recalculating, sorting or copying formulas doesn’t charge again.
  • Repeats are free: an address that appears twice in a column or a formula is looked up and paid once.
  • Values that stay: the pane writes plain values, which never recalculate. To keep a formula’s results for good, copy the cells and paste them as values.

The wallet is shared with the Geloky API, the Google Sheets add-on and the MCP server for AI assistants. Set an email reminder for a low balance on the API tab of your dashboard.

What a column costs
500 addresses, 13 of them repeated
= 487 lookups × $0.001 = $0.49

Formulas

Eleven formulas

Type them like any other formula. Excel puts an add-in’s name and a dot before its formulas, so each one starts with GELOKY., and typing =GELOKY. lists them all. Each fills the cells to its right (and below, for a range), so leave those cells empty; otherwise Excel shows #SPILL!. While Geloky looks things up, the cells show #BUSY!.

GELOKY.GEOCODE

=GELOKY.GEOCODE(address, [extras])

Finds the latitude, longitude and matched address of an address, in three cells side by side, and, if you ask, its time zone, county, census tract and district.

$0.001 per new address, $0.002 with extras
ArgumentWhat it does
address
required
An address in a cell (B2) or in quotes. A column (B2:B100) looks up every row at once, one row of results each. Cells side by side (B2:D2: street, city, ZIP) are joined with commas into one address. Empty rows give empty results.
extras
optional
Extra columns after the three, for $0.001 more an address: "timezone", "county", "census" (tract and block group) or "district" (congressional), several separated by commas, or "all". US only, except the time zone.

What it returns

CellHolds
1stLatitude, a number with 6 decimals
2ndLongitude, a number with 6 decimals
3rdThe address Geloky matched, or No match (the first two cells stay empty)
4th onWith extras, as asked: time zone, UTC offset and daylight saving; county and county FIPS; census tract and block group; congressional district (120th Congress); then the match level. Outside the US the US cells stay empty, and so do they when the match is only a city or a postcode.
  • Up to 1,000 new addresses per formula. For a longer column use the Geloky pane.
  • Formulas filled down a column are looked up together, a batch at a time, as fast as one formula on the whole column.
  • Street, city, postal code and country give the best match. Leave out business names and unit numbers.
Formulas
=GELOKY.GEOCODE(B2)
=GELOKY.GEOCODE(B2:B100)
=GELOKY.GEOCODE(B2:D2)
=GELOKY.GEOCODE("1 Centre St, New York, NY")
=GELOKY.GEOCODE(B2, "county,timezone")
=GELOKY.GEOCODE(B2:B4) in C2
C          D           E
40.748377  -73.984854  350 5th Ave, …
40.71298   -74.003758  1 Centre St, …
                       No match

GELOKY.REVERSE

=GELOKY.REVERSE(latitude, [longitude], [extras])

Finds the nearest address to a latitude and longitude.

$0.001 per new point
ArgumentWhat it does
latitude
required
A latitude from −90 to 90 (C2 or 40.74838), a column of them (C2:C100), a two-column range of latitude and longitude (C2:D100), or text with both, like "40.74838, -73.98485".
longitude
optional
A longitude from −180 to 180, or a column of them as long as the latitude column. Leave it out when the first argument holds both.
extras
optional
The same extra columns as GELOKY.GEOCODE’s, after the address, for $0.001 more a point. When the first argument holds both coordinates, they go second: =GELOKY.REVERSE(C2:D100, "county").

What it returns

One cell with the address, or one per row for a range. A row that isn’t a pair of coordinates says Not coordinates; a point with no address near it says No match. Up to 1,000 new points per formula.

Formulas
=GELOKY.REVERSE(C2, D2)
=GELOKY.REVERSE(40.74838, -73.98485)
=GELOKY.REVERSE(C2:D100)
=GELOKY.REVERSE("40.71297, -74.00412")
=GELOKY.REVERSE(C2:D3)
350 5th Ave, New York, NY, 10118, USA
1 Centre St, New York, NY, 10007, USA

GELOKY.DISTANCE

=GELOKY.DISTANCE(origin, destination, [units], [way])

Measures the road distance and travel time between two places, each an address or a point, in two cells side by side.

$0.001 per new address and per new distance
ArgumentWhat it does
origin
required
The start. An address in a cell (B2) or in quotes, or street, city and ZIP in cells side by side (B2:D2). Or a point: its latitude and longitude in two cells side by side (E2:F2), or text like "40.7447, -73.9485". Two numbers are a point; anything else is an address. A range of rows (B2:B51) measures row by row.
destination
required
The end, in the same forms. A single place on either side is used for every row of the other: one depot and a column of stops, for example.
units
optional · default "mi"
"mi" for miles or "km" for kilometers ("miles" and "kilometers" work too).
way
optional · default "car"
"car", "truck" or "walk".

What it returns

CellHolds
1stThe distance, in the units asked for
2ndThe travel time in minutes, or Straight line when there is no road between the points and the distance is measured as the crow flies

A trip that can’t be measured at all says No route. An address that isn’t found says Origin not found, Destination not found or Origin and destination not found: its lookup costs $0.001, and the distance isn’t measured or charged. Numbers that can’t be a point say Not coordinates.

  • Addresses are found as =GELOKY.GEOCODE finds them, from the same 6-hour cache: an address =GELOKY.GEOCODE looked up costs nothing here.
  • A trip between two new addresses costs $0.003: two lookups and the distance, as in the API. A repeated address is paid once, so one depot and 50 stops cost $0.101.
  • Up to 200 new distances and 1,000 new addresses per formula. For more rows, use several formulas, or upload the sheet to batch distances.
Formulas
=GELOKY.DISTANCE(B2, C2)
=GELOKY.DISTANCE(E2:F2, G2:H2,
  "km", "truck")
=GELOKY.DISTANCE(
  "11 Wall St, New York", B2:B51)
Results
350 5th Ave → 1 Centre St, car, mi
2.926   22.28
The same by truck, km
4.746   24
New York to London
3457.45  Straight line
An origin Geloky can’t find
Origin not found

GELOKY.ROUTE

=GELOKY.ROUTE(stops, [units], [way], [what])

Plans one road route through 2 to 25 stops in the order given, each an address or a point, and gives its distance and travel time, or every leg’s.

$0.001 per leg and per new address
ArgumentWhat it does
stops
required
The stops in the order to visit them, 2 to 25: a column, one stop a row (B2:B8), or a row of cells (B2:F2). Each is an address, or street, city and ZIP side by side, or a point: its latitude and longitude in two cells side by side, or text like "40.7128, -74.006".
units
optional · default "mi"
"mi" for miles or "km" for kilometers.
way
optional · default "car"
"car", "truck", "walk", or "straight" for straight lines.
what
optional · default "total"
"total" for the whole route, or "legs" for a row per leg.

What it returns

CellHolds
1stThe distance, in the units asked for
2ndThe travel time in minutes, or Straight line

With "legs", one row per leg, from each stop to the next: put the formula beside the second stop, so each leg sits beside the stop it ends at. A stop that isn’t found says Stop 3 not found, with its number: its lookup costs $0.001, and the route isn’t measured or charged. Numbers that can’t be a point say Not coordinates.

  • A route through three new addresses costs $0.005: two legs and three addresses. An address the route comes back to is paid once, and one =GELOKY.GEOCODE looked up in the last 6 hours costs nothing.
  • For more than 25 stops, split the route at a stop and add the parts up.
  • Travel times are the usual times of the fastest route, without live traffic.
Formulas
=GELOKY.ROUTE(B2:B4)
=GELOKY.ROUTE(B2:B8, "km", "truck")
=GELOKY.ROUTE(B2:B8, "mi", "car",
  "legs")
Results
New York, Philadelphia, Washington, mi
238.286  301.6
The same, a row per leg
94.59    121.56
143.696  180.04
A stop Geloky can’t find
Stop 2 not found

GELOKY.DISTANCE_MATRIX

=GELOKY.DISTANCE_MATRIX(origins, [destinations], [units], [way], [what])

Fills a grid with the road distance, or the travel time, from every origin to every destination: a row for each origin and a column for each destination. Leave out the destinations to measure one list within itself.

$0.001 per new address and per new pair by road
ArgumentWhat it does
origins
required
Where the trips start: a column of places, one a row (B2:B6). Each is an address in a cell, or street, city and ZIP side by side, or a point: its latitude and longitude in two cells side by side, or text like "38.9044, -77.0643".
destinations
optional
Where the trips end, in the same forms: a column of places, or a row of three or more (E1:G1), as across the top of a grid. Leave it out to measure the origins within one list, each to every other.
units
optional · default "mi"
"mi" for miles or "km" for kilometers.
way
optional · default "car"
"car", "walk", or "straight" for a straight line.
what
optional · default "distance"
"distance", or "time" for the travel time in minutes.

What it returns

A grid of numbers, a row for each origin and a column for each destination: put the formula one cell right of the first origin, below a row of destination names. A place to itself is 0. A pair with no road between its places says No route; one with a place that isn’t found says Origin not found or Destination not found, and numbers that can’t be a point say Not coordinates. A pair routing couldn’t reach right now says Not measured yet: it costs nothing, and running the formula again measures it.

  • An address is looked up as =GELOKY.GEOCODE looks it up, from the same cache: $0.001 once, found or not. Each new pair by road costs $0.001; in a straight line each origin costs $0.001, however many destinations. Two depots and three stores as addresses cost $0.011: 5 addresses and 6 pairs.
  • Distances and times come together: a second formula for "time" on the same places costs nothing for 6 hours. A new row or column measures only its own pairs.
  • Up to 2,500 pairs and 500 places per formula. For bigger lists, upload them to the Distance matrix, up to a million pairs.
  • Travel times are the usual times of the fastest route, without live traffic.
Examples
=GELOKY.DISTANCE_MATRIX(B2:B3, D2:D4)
=GELOKY.DISTANCE_MATRIX(B2:B3, D2:D4,
  "mi", "car", "time")
=GELOKY.DISTANCE_MATRIX(B2:B3, E1:G1, "km")
=GELOKY.DISTANCE_MATRIX(B2:B20)
Results
Two depots by three stores, miles
12.614  13.168  10.852
15.64   10.654  16.908
The same in minutes
26.66   28.8    22.13
39.68   24.01   38.5
A store Geloky can’t find
Destination not found

GELOKY.NEAREST

=GELOKY.NEAREST(customers, locations, [names], [units], [way])

Finds the nearest of your locations, such as stores, warehouses or offices, to each customer. Every location is measured in a straight line first; by road, the 3 closest are then compared and the quickest wins.

$0.003 per new customer by road, + $0.001 per new address
ArgumentWhat it does
customers
required
A column of customers, one a row (B2:B51), or one in a cell. Each is an address, or street, city and ZIP side by side, or a point: its latitude and longitude in two cells side by side, or text like "40.6703, -73.979".
locations
required
Your locations, up to 500: a column, one a row (Stores!B2:B20), in the same forms. Addresses among them are looked up once and kept for 6 hours, like any other.
names
optional
A column as long as the locations, with a name or a code for each (Stores!A2:A20), shown instead of the location as you wrote it.
units
optional · default "mi"
"mi" for miles or "km" for kilometers.
way
optional · default "car"
"car" or "walk" to compare by road, or "straight" for a straight line only.

What it returns

CellHolds
1stThe nearest location: its name, or the location as you wrote it
2ndThe distance to it, by road or in a straight line
3rdThe travel time in minutes, or Straight line when no road leads there or road answers aren’t available right now

One row of three cells per customer. A customer that isn’t found says No match and costs only its lookup.

  • By road, each customer is measured to its 3 closest locations: $0.003. In a straight line, $0.001. Each new address, a customer’s or a location’s, costs $0.001 once: two customers, one of them an address, cost $0.007.
  • Up to 1,000 new customers per formula and 500 locations. For bigger lists, upload them to the Nearest location tool.
Formulas
=GELOKY.NEAREST(B2:B51, Stores!B2:B20)
=GELOKY.NEAREST(B2:B51, Stores!B2:B20,
  Stores!A2:A20)
=GELOKY.NEAREST(B2, F2:G20, , "km", "walk")
Results
120 Franklin St, Brooklyn, NY 11222
Long Island City store  2.473  15.61
40.6703, -73.979
Brooklyn store          1.47   11.75

GELOKY.ZIP_RADIUS

=GELOKY.ZIP_RADIUS(place, radius, [units], [people_only])

Lists every US ZIP code within a radius of a place, nearest first and separated by commas, in one cell. The place is a US ZIP code, an address or a point.

$0.001 per new place, $0.001 more for an address
ArgumentWhat it does
place
required
A US ZIP code (60201; one that lost its leading zero, like 2134, is read as 02134), an address in a cell or in quotes, or a point: its latitude and longitude in two cells side by side (E2:F2) or text like "41.8789, -87.6359". A range of rows (B2:B101) lists each row’s ZIP codes in its own cell.
radius
required
How far from the place: above 0, up to 100 miles (160 km). One number for every row, or a range with one radius per row (C2:C101). A ZIP code is listed when its centre is inside the circle.
units
optional · default "mi"
"mi" for miles or "km" for kilometers, for the radius.
people_only
optional · default FALSE
TRUE leaves out ZIP codes where nobody lives: PO boxes, single buildings and businesses.

What it returns

One cell per place with its ZIP codes, nearest first: 60201, 60204. A place that isn’t found says No match, and a ZIP code that isn’t in use says Unknown ZIP code; neither costs anything. A place with no ZIP code centre within its radius says No ZIP codes in this radius. Numbers that can’t be a point say Not coordinates.

  • A place costs $0.001 however many ZIP codes it gets, and an address $0.001 more, for finding it: a ZIP code or a point is $0.001 in all, an address $0.002. A place repeated down a column is paid once.
  • Up to 1,000 new places per formula. For a longer list, use several formulas, or upload it to the ZIP code radius tool, which also gives each ZIP code’s city, state, distance and population.
  • Every US ZIP code is there, Puerto Rico and the other territories too. Distances are straight lines to each ZIP code’s centre.
Formulas
=GELOKY.ZIP_RADIUS(B2, 10)
=GELOKY.ZIP_RADIUS(B2:B101, C2:C101)
=GELOKY.ZIP_RADIUS(
  "233 S Wacker Dr, Chicago", 15,
  "km", TRUE)
Results
60201, within 1 mile
60201, 60204
The same, only where people live
60201
A ZIP code that isn’t in use
Unknown ZIP code

GELOKY.CLEAN

=GELOKY.CLEAN(address)

Cleans each address and finds it on the map: one spelling, its parts in their own cells, the ZIP code filled in when it was missing and corrected when it was wrong, ZIP+4 for a US building, a status that says whether to trust it, and notes on what changed. It is the same cleaning as the address cleaning tool, from map data, not USPS CASS certification.

$0.002 per new address
ArgumentWhat it does
address
required
An address in a cell or in quotes, a column of them (B2:B100), or street, city and ZIP in cells side by side (B2:D2), which are joined with commas.

What it returns

14 cells per address: cleaned address, street, unit, city, state, ZIP code, ZIP+4, country, country code, latitude, longitude, status, notes and same as.

  • Status is OK; Check when two places fit, only the street or the town was found, it matched a place name or the city changed; or Not found.
  • Notes say what changed or why to check it, like ZIP code was 60607 or Unit kept as written.
  • Same as names the first address of the range that this one repeats, however it was written; it’s empty for the first one.
  • $0.002 per new address, found or not; a repeat is paid once, and empty cells and placeholders like n/a cost nothing. Up to 1,000 new addresses per formula; for a longer column, upload it to the address cleaning tool.
  • A cleaned address is found on the map too, so GELOKY.GEOCODE, distances and routes use it for 6 hours at no cost.
Formulas
=GELOKY.CLEAN(B2)
=GELOKY.CLEAN(B2:B100)
=GELOKY.CLEAN(B2:D2)
Results
233 s wacker dr chicago il 60607
233 S Wacker Dr, Chicago, IL 60606
ZIP+4 · status · notes
60606-7147 · OK · ZIP code was 60607
n/a
Not found · No address  free

GELOKY.ZIP

=GELOKY.ZIP(zip)

Looks up a US ZIP code in the newest release of Geloky’s US ZIP code database: its centre point, city, state, main county, population and time zone. US only.

$0.001 per ZIP code found
ArgumentWhat it does
zip
required
A US ZIP code (60601), a ZIP+4 (60601-1234) or one that lost its leading zero (2138 is read as 02138), in a cell or in quotes. A column (B2:B500) gives a row per ZIP code.

What it returns

13 cells per ZIP code: ZIP code, latitude, longitude, city, state, state name, county FIPS, county, population, time zone, ZIP area, approximate and military.

  • ZIP area is TRUE for the ZIP codes the Census Bureau draws as areas, FALSE for PO box, single-company and military ones. Approximate is TRUE when the point is the middle of the census tract that holds most of its addresses, or its town’s centre. Military is TRUE for APO, FPO and DPO ZIP codes, which have no point, county or time zone.
  • A ZIP code that isn’t in use says Unknown ZIP code, and text that isn’t one says Not a ZIP code; neither costs anything.
  • $0.001 per ZIP code found; a ZIP code repeated down a column is paid once. Up to 1,000 new ZIP codes per formula.
Formulas
=GELOKY.ZIP(B2)
=GELOKY.ZIP(B2:B500)
=GELOKY.ZIP("02138")
Results
60601
60601 · 41.885155 · -87.621512
Chicago · IL · Illinois
17031 · Cook · 15235
America/Chicago · TRUE · FALSE · FALSE
99999
Unknown ZIP code  free

GELOKY.COUNTY

=GELOKY.COUNTY(county)

Looks up a US county in Geloky’s US county database by its FIPS code or its name and state: its names, state, centre point, population and time zone. US only.

$0.001 per county found
ArgumentWhat it does
county
required
A county’s FIPS code (17031; 6037 is read as 06037) or its name and state, in any spelling: "Cook County, IL", "Orleans Parish, Louisiana", "Baltimore City, MD". Name and state may sit in two cells side by side. A column gives a row per county.

What it returns

9 cells per county: FIPS code, name, full name, state, state name, latitude, longitude, population and time zone.

  • A name several counties share, without its state, says how many match and the first of them: 30 counties match: Washington County, AL; Washington County, AR; Washington County, CO… Add the state. It costs nothing, nor does County not found.
  • $0.001 per county found; a county repeated down a column is paid once. Up to 1,000 new counties per formula.
Formulas
=GELOKY.COUNTY(B2)
=GELOKY.COUNTY("Cook County, IL")
=GELOKY.COUNTY(B2:C200)
Results
17031
17031 · Cook · Cook County
IL · Illinois
41.894294 · -87.645455
5182090 · America/Chicago
Washington County
30 counties match: …  free

GELOKY.CITY

=GELOKY.CITY(place)

Looks up a US city, town or other place in Geloky’s US city database: its type, county, centre point, population, time zone and the ZIP codes that serve it. US only.

$0.001 per place found
ArgumentWhat it does
place
required
A place’s name and state ("Chicago, IL", "Chicago, Illinois"), in one cell or two side by side; its Census place code (1714000); or its USGS id. A column gives a row per place.

What it returns

15 cells per place: name, name without accents, type, state, state name, county FIPS, county, latitude, longitude, population, time zone, number of ZIP codes, ZIP codes, Census place code and USGS id.

  • Type is city, town, village, borough, CDP (a community the Census Bureau counts) or community. ZIP codes are in one cell, separated by commas.
  • A name several places share says how many match and the biggest of them: 22 places match: Springfield, MO; Springfield, MA; Springfield, IL… Add the state. It costs nothing, nor does Place not found.
  • $0.001 per place found; a place repeated down a column is paid once. Up to 1,000 new places per formula.
Formulas
=GELOKY.CITY(B2)
=GELOKY.CITY("Chicago, IL")
=GELOKY.CITY(B2:C200)
Results
Chicago, IL
Chicago · city · IL · Cook
2711226 · America/Chicago
88 · 60018, 60106, 60601, …
1714000 · 428803
Springfield
22 places match: …  free

Running formulas again

Excel shows a formula’s last answer, errors included, until it runs again: when a cell it reads changes, or when you edit the formula and press Enter. So a formula that showed “Add your Geloky API key” waits for one of those.

Saving a key in the pane runs the formulas that were waiting for one by itself. After a top-up, or when Geloky didn’t answer, press Run Geloky formulas again on the pane’s Formulas tab: every Geloky formula in the workbook that shows an error runs again. The others keep their results, so nothing is paid twice, and lookups from the last 6 hours come from the cache at no cost.

Opening a workbook again keeps the results it was saved with. A formula that showed an error may show #NAME? until the add-in has loaded; Run Geloky formulas again brings it back.

Run again
F2, Enter
  this formula
Home › Geloky › Formulas
  › Run Geloky formulas again
  each Geloky formula that shows an error

Formula errors

A formula that can’t answer shows #N/A or #VALUE!; point at the warning sign beside the cell to read why. A wrong key or an empty wallet costs nothing, and lookups that finished before an error are kept for 6 hours, so running the formula again doesn’t pay for them twice.

MessageWhat it means
#N/A · Add your Geloky API key in Home › Geloky. The formula runs again once it’s saved.No key is saved on this computer.
#N/A · This Geloky API key isn’t valid. Paste the current one in Home › Geloky › Account.The key was mistyped or replaced on your dashboard.
#N/A · Your Geloky API wallet is empty. Top up at geloky.com/dashboard/tab/api, then press Run Geloky formulas again in Home › Geloky › Formulas.Top up, then run the formulas again.
#N/A · Geloky didn’t answer. Press Run Geloky formulas again in Home › Geloky › Formulas in a minute.A network problem. Rows already found are kept.
#VALUE! · Up to 1,000 new addresses per formula. For a longer column, use Home › Geloky › Geocode.Split the range, or use the pane. Points and places have the same limit.
#VALUE! · Up to 200 new distances per formula. …Use several formulas, or upload the sheet to batch distances.
#VALUE! · Up to 2,500 pairs and 500 places per formula. …GELOKY.DISTANCE_MATRIX: split the lists over several formulas, or upload them to the Distance matrix.
#VALUE! · GELOKY.ROUTE needs 2 to 25 stops, each an address or a point.Fewer than 2 stops, or more than 25: split a longer route at a stop.
#VALUE! · Up to 500 locations per formula.GELOKY.NEAREST: split the locations, or upload the lists to the Nearest location tool.
#VALUE! · Up to 1,000 new addresses per formula. For a longer column, upload it at geloky.com/geocoding/address-cleaning.GELOKY.CLEAN: split the range, or upload the column to the address cleaning tool.
#VALUE! · Up to 1,000 new ZIP codes per formula. For more, use several formulas.GELOKY.ZIP; GELOKY.COUNTY and GELOKY.CITY say counties and places. Split the range over several formulas.
#N/A · Routing isn’t available right now. Nothing was charged; run the formula again later.GELOKY.ROUTE: the road route couldn’t be planned this time.
#VALUE! · GELOKY.REVERSE needs a latitude (−90 to 90) and a longitude (−180 to 180).The cell isn’t a number in range, or the text isn’t “latitude, longitude”.
#VALUE! · GELOKY.DISTANCE needs an address or a point at each end. …The cells hold numbers that can’t be a point: a latitude is −90 to 90, a longitude −180 to 180.
#VALUE! · Both ranges need the same number of rows.The origin and destination ranges, the latitude and longitude columns, or the places and their radii differ in length.
#VALUE! · Units must be "mi" or "km".
The way must be "car", "truck" or "walk".
people_only must be TRUE or FALSE.
What must be "distance" or "time".
Extras must be "timezone", "county", "census", "district" or "all".
A misspelt optional argument. GELOKY.ROUTE’s what is "total" or "legs".
#VALUE! · GELOKY.ZIP_RADIUS needs a radius above 0: up to 100 miles, or 160 km.The radius is missing, 0, over the limit or not a number, in a row that has a place.
#VALUE! · GELOKY.ZIP_RADIUS needs a US ZIP code, an address or a point. …The cell holds numbers that can’t be a point: a latitude is −90 to 90, a longitude −180 to 180.

Three signs are Excel’s own: #SPILL! means the cells a formula fills aren’t empty, #BUSY! shows while Geloky looks things up, and #NAME? means the add-in isn’t installed in this Excel, or hasn’t loaded yet after the workbook opened.

Geloky pane

A whole column at once

Home › Geloky › Geocode looks up a whole column and writes plain values into new columns next to it, about a minute for 500 rows. Keep the pane open while it runs.

Find lat, long

Addresses to latitude and longitude.

  1. Press Find lat, long at the top of the pane.
  2. Click a cell in the address column, or select the column. For street, city and ZIP in separate columns, select them side by side (up to 6); they’re joined with commas.
  3. Check the pane: the range, the first address, and whether the first row is a header (tick or untick it).
  4. Press Geocode. The button says how many lookups it will make and what they cost.
What you selectWhat Geloky reads
One cell, or whole columnsThe column from the top down to the last row with data
A range, like B2:B200Exactly those rows
Several columns side by sideEach row’s cells, joined into one address
  • Latitude, Longitude and Matched address go into three new columns inserted after the selection, so nothing in your sheet is overwritten. With a header row they get those names.
  • Running it again on the same column (with a header row) reuses those columns and looks up only the rows without a result, including rows that say “No match”, so a corrected address is looked up again.
  • A repeated address is looked up once; unchanged rows from the last 6 hours come from the cache.
  • Switch on Extra columns to add the time zone, and in the US the county, census tract, block group and congressional district, in 9 more columns: $0.001 more a row. The pane writes them as text, so a FIPS code keeps its leading zero (06075).
  • Stop keeps the rows already done; Continue picks up at the first open row.
Before
B
Address
350 5th Ave, New York, NY 10118
1 Centre St, New York, NY 10007
After: three new columns
C          D           E
Latitude   Longitude   Matched address
40.748377  -73.984854  350 5th Ave, …
40.71298   -74.003758  1 Centre St, …

Find addresses

Latitude and longitude to the nearest address.

  1. Press Find addresses at the top of the pane.
  2. Select the latitude and longitude columns side by side, or one column with “latitude, longitude” in each cell. If the headers say longitude first (lon, lng, long, x), Geloky reads them that way round.
  3. Press Find addresses at the bottom.

The nearest address goes into a new column, Nearest address, inserted after the coordinates. Rows that aren’t coordinates say “Not coordinates”. Extra columns work here too, after Nearest address.

Accepted coordinates
40.74838   -73.98485   two columns
"40.74838, -73.98485"  one column
-73.98485  40.74838    headers Lon, Lat

Pane messages

MessageWhat to do
Select up to 6 columns side by side.Select only the address columns, 6 at most. For coordinates, 2 at most.
Columns C to E already hold Geloky results. Only the 40 rows without one are looked up.Nothing: rows with a result stay as they are.
Every row in B2:B500 already has a result.Nothing is left to look up in this selection.
Your API wallet is empty.Top up; the pane checks again when you come back to it.
Your wallet covers about 120 of these 487 addresses.Geloky stops when the wallet runs out and keeps the rows done by then.
12,000 lookups take about 24 minutes here, with this pane open.For very long sheets, upload the file to batch geocoding instead: Geloky’s servers do the work and you can close the page.
The wallet ran out after 120 addresses.Top up, then press Continue: only the rows left are looked up.
Geloky didn’t answer.Press Continue to try the rest again. Rows already done are kept.
This Geloky API key isn’t valid any more.Paste the current key in Account, then run it again. Rows already done are kept.

Good to know

Keys, versions, limits and privacy

What the add-in keeps, where it runs, what it may do, and how far it goes.

Your key and wallet

  • Account (Home › Geloky › Account) shows the end of your key, the wallet and about how many lookups it pays for, with buttons to top up, change or remove the key.
  • Excel keeps the key on this computer (in Excel on the web, in this browser), never in the workbook. Add it once on each computer or browser you use.
  • Shared workbooks: Geloky formulas run in each person’s Excel with their own key. Someone without the add-in sees the last results; someone with it pays from their own wallet when their Excel runs the formulas again.
  • If your key leaks, make a new one on the API tab of your dashboard and paste it in Account; the old one stops working at once.

Excel versions and updates

  • Works in Excel for Microsoft 365 on Windows and Mac, Excel on the web, Excel 2021 and Excel 2024. Excel 2019 and older, and Excel on iPad and phones, don’t run add-in formulas; there, the cells keep the last results.
  • Updates by itself. The add-in runs from geloky.com, so new formulas and fixes reach you without doing anything. If Geloky ever needs a new add-in file, for a new button or permission, the pane says so and links here.
  • To remove it in Excel on the web or Windows, open Home › Add-ins › More Add-ins › My Add-ins and choose Remove on Geloky’s menu. On a Mac, delete geloky-excel.xml from the wef folder.

Limits

WhatLimit
New addresses or points per formula1,000 (more → the Geloky pane)
New distances per GELOKY.DISTANCE formula200 (more → several formulas, or batch distances for a file)
New places per GELOKY.ZIP_RADIUS formula1,000 (more → several formulas, or the ZIP code radius tool for a list)
New addresses per GELOKY.CLEAN formula1,000 (more → the address cleaning tool)
New ZIP codes, counties or places per GELOKY.ZIP, GELOKY.COUNTY or GELOKY.CITY formula1,000 (more → several formulas)
Pairs and places per GELOKY.DISTANCE_MATRIX formula2,500 pairs and 500 places (more → several formulas, or the Distance matrix for files)
Stops per GELOKY.ROUTE formula2 to 25
Customers and locations per GELOKY.NEAREST formula1,000 new customers and 500 locations (more → the Nearest location tool)
Columns joined into one address6
Results kept6 hours, on this computer or in this browser
Pane speedAbout 500 rows a minute

Permissions and privacy

Excel asks toBecause
Read and make changes to your documentTo read the cells you choose and write the results. It works only in the open workbook.
Send data over the internetTo send the addresses or coordinates to geloky.com, the only place it connects to.

The add-in sends Geloky only the cells you select or give to its formulas. We never use them to train AI models or send them to any AI service; our privacy policy says how we handle them.

Stuck, or missing something? hello@geloky.com answers within a day.

API pricing