Formulas for

Zip Code Lookup

Geography2 credits/cellSheets · Excel40K+ ZIP codes
=VERVE("zipcodes", "64082", "field", "zipcode")

Look up the city and state for any US ZIP code, right in the sheet. Put ZIP codes down a column and =VERVE("zipcodes", A2, "field", "city") fills the city beside each one — no 40,000-row lookup table to download, and no VLOOKUP to keep in sync.

It's one of 250+ live sources you reach with a single =VERVE() function — served from APIVerve's production data engine, billed at 2 credits per resolved cell, and refreshed on whatever cadence you set. No API keys to wrangle, no scripts, no exports.

A real example — the input you type, and the values you can pull from it. Click any cell to see the formula behind it.

zipcodes.xlsxsample data
B2fx=VERVE("zipcodes", A2, "field", "zipcode")
A
B
C
D
E
1
Zip
Zipcode
State abbr
City
State
2
64082
64082
MO
Lees Summit
Missouri
3
4
click any cell to see its formula2 credits / cell

Complete a mailing list

Fill in the missing city and state for every row of a list that only has ZIP codes — a common gap in form exports and CRM dumps.

Check addresses against their ZIP

Compare the city people typed with the city their ZIP belongs to, and flag the rows that disagree before a mailing goes out.

Group by state

Add a state column from the ZIP and pivot sales, signups or shipments by state without a separate lookup table.

The same function works in both apps — install once, sign in with your key, and type it into any cell.

Google SheetsAdd-on

Install from the Workspace Marketplace, then drop the formula into a cell. Autocomplete suggests the source and its fields.

=VERVE("zipcodes", "64082", "field", "zipcode")
Microsoft ExcelAdd-in

Same source, same arguments, same key — in Excel on desktop, the web, or mobile. Excel namespaces it as VERVE.CALL. Drag to fill a whole column.

=VERVE.CALL("zipcodes", "64082", "field", "zipcode")

Add a field name as the last argument to land just that value in the cell.

  • Zipcode
    =VERVE("zipcodes", "64082", "field", "zipcode")
  • State abbr
    =VERVE("zipcodes", "64082", "field", "state_abbr")
  • LatitudePremium
    =VERVE("zipcodes", "64082", "field", "latitude")
  • LongitudePremium
    =VERVE("zipcodes", "64082", "field", "longitude")
  • City
    =VERVE("zipcodes", "64082", "field", "city")
  • State
    =VERVE("zipcodes", "64082", "field", "state")

Premium marks data included on paid plans. On the Free plan a marked field is withheld and a marked input is ignored — either way the cell reads #PREMIUM(name) instead of a value, so a gated answer can never be mistaken for a real one. Everything unmarked works on every plan. Compare plans

Zip Code Lookup, answered

Everything you need to wire it into a sheet.

How do I look up a city from a ZIP code in Excel?
With the ZIP in A2: =VERVE.CALL("zipcodes", A2, "field", "city") for the city and =VERVE.CALL("zipcodes", A2, "field", "state_abbr") for the two-letter state. Google Sheets is the same with =VERVE().
Why do some ZIP codes fail — like ones in New England?
Spreadsheets store 02134 as the number 2134 and drop the leading zero, so the lookup gets four digits. Wrap the cell in TEXT to put it back: =VERVE("zipcodes", TEXT(A2, "00000"), "field", "city"). Or format the column as plain text before you paste the ZIPs in.
Can I get latitude and longitude for a ZIP code?
Yes, on paid plans — ask for the "latitude" and "longitude" fields. City, state and state abbreviation are on every plan.
How do I pull Zip Code Lookup into Google Sheets?
Install the VerveSheets add-on, sign in once with your key, and type =VERVE("zipcodes", "64082", "field", "zipcode") into any cell. The "field" argument names the value you want back, so the cell resolves to a single number or string you can chart, sort, or feed into another formula.
What data can I pull from Zip Code Lookup?
Zip Code Lookup returns zipcode, state_abbr, city and state — name any one of them as the "field" argument and that value lands in the cell. Leave the field out and the whole record spills into a two-column table instead.
Which Zip Code Lookup fields need a paid plan?
latitude and longitude are included from the Starter plan up. On the Free plan the cell returns #PREMIUM(field) rather than a wrong or empty value, so it's always obvious which one to upgrade for. Every other field works on Free.
Can I fill a whole column of Zip Code Lookup at once?
Yes. Put your zip values down a column and point the formula at the range — A2:A50 instead of A2 — and one call returns a value for every row. Dragging the formula down works too, but the range form is a single billed call per column rather than one per cell.
How many credits does each Zip Code Lookup cell cost?
Each resolved cell costs 2 credits. A cell only re-bills when it actually refreshes, so a sheet you aren't touching doesn't keep charging.
Does Zip Code Lookup work in Excel as well as Google Sheets?
Yes — same arguments, same key, same fields. Excel namespaces custom functions, so the call is =VERVE.CALL() there and =VERVE() in Google Sheets; nothing else about it changes.
How current is Zip Code Lookup?
It draws on 40K+ ZIP codes, served live from APIVerve's production data engine, and cells recalculate on the cadence you choose — every open, hourly, or every 30 minutes.

Put Zip Code Lookup in your next spreadsheet. Add the extension, paste the formula, and the cell keeps itself current.

Scaling up?

Volume pricing, custom SLAs, and dedicated support for high-traffic teams.

Contact sales