Back to Google Address Validation in Google Sheets
SheetXAI logo
Google Address Validation logo
Google Address Validation · Google Sheets Guide

Quality-Score and Clean Addresses in a Google Sheet Before CRM Import

2026-05-14
5 min read

The Scenario

The Salesforce upload window is at 2 PM. You found out at 9 AM that the 2,200-row account list you're importing has never been through any kind of address validation — it was compiled from three different sources over eight months, each with its own formatting conventions, and whoever merged them together didn't bother standardizing anything. Street addresses that say "Ave." in one block and "Avenue" in the next. Zip codes with four digits instead of five. A "State" column where someone typed "California" and someone else typed "CA" and a third entry just says "Cal."

Your CRM admin warned you last import that Salesforce's duplicate detection runs on standardized address fields. If the addresses don't match their canonical format, records that should merge will create duplicates instead.

The bad version:

  • Open the sheet, filter for obvious formatting issues, and fix them row by row until your eyes blur
  • Export the addresses to an online validation tool with a 500-row limit per run, handle the four separate exports and four sets of results, and manually reconcile each batch back into the master sheet
  • Try to invent a HIGH/MEDIUM/LOW scoring scheme on the fly using Excel IF formulas across five columns, realize the logic doesn't cover UNCONFIRMED addresses that have a partially valid component, and spend 45 minutes patching edge cases

Nobody hired you to spend the morning on address hygiene. The Salesforce admin is asking for an ETA. The account manager whose accounts these are has a pitch at 3 PM and needs the CRM up to date before it.

The Easy Way: One Prompt in SheetXAI

SheetXAI is an AI agent that lives inside your Google Sheet. It reads the structure, calls Google Address Validation for each row, and writes the standardized addresses and quality scores directly into your columns — no batch exporting, no formula engineering, no manual reconciliation.

Validate the address built from Street, City, State, and Zip columns for each row in my Google Sheet, write the full standardized address into a Standardized Address column, and add a Quality column with HIGH, MEDIUM, or LOW based on the validation verdict

What You Get

  • A Standardized Address column with the full canonical address in Google's output format — abbreviations consistent, capitalization normalized, zip codes corrected to five digits where the API can confirm the right value
  • A Quality column showing HIGH for DELIVERABLE addresses with complete components, MEDIUM for UNCONFIRMED addresses where the API returned partial data, and LOW for UNDELIVERABLE or incomplete addresses
  • The original columns left untouched so you can diff the before and after
  • Any row where the API returned an error flagged explicitly in the Quality column rather than silently given a LOW score

What If the Data Is Not Quite Ready

The address comes from a single free-text column instead of separate fields

One of the three source files mashed everything into one column — "123 Main St, Chicago, IL 60601" — without splitting it into components.

For each row in my Google Sheet where column B has a single free-text address, parse and validate it using Google Address Validation, write the standardized full address to the Standardized Address column, and score it HIGH, MEDIUM, or LOW in the Quality column based on the validation verdict

International addresses are mixed in with US addresses

About 300 rows are Canadian accounts that someone added to the same sheet, and they need to be validated against Canadian postal conventions instead of US ones.

Validate the address built from Street, City, State, and Zip columns for each row in my Google Sheet — for rows where the country column says "Canada," pass the address to Google Address Validation with country set to CA instead of US, write the standardized address to the Standardized Address column, and score it HIGH, MEDIUM, or LOW in the Quality column

Some rows have a zip code but no city or state

A subset of accounts only recorded the zip code, and the city and state fields are blank.

For each row in my Google Sheet where the City and State columns are blank but the Zip column is populated, attempt to infer the city and state from the zip code before validating with Google Address Validation, then write the inferred city and state into those columns, the full standardized address to the Standardized Address column, and a note in the Quality column indicating the city and state were inferred

Standardize, score, remove LOW-quality rows, and write a final import-ready output in one pass

Before handing off to the CRM admin, you want to produce a clean version of the sheet with all LOW-quality addresses removed and a summary count written to a header row.

In my Google Sheet, validate every address built from the Street, City, State, and Zip columns using Google Address Validation, write the standardized address to the Standardized Address column and the quality score (HIGH, MEDIUM, or LOW) to the Quality column, then delete all rows scored LOW, and write the total count of HIGH, MEDIUM, and removed rows into cells A1, B1, and C1

The pattern is to ask for the validation, the scoring, and the cleanup in a single prompt — you get the final import-ready file without an intermediate step.

Try It

Get the 7-day free trial of SheetXAI and open your account list — the one going into Salesforce — then ask it to validate, standardize, and quality-score every address before the upload window. Hub: How to Connect Google Address Validation to Google Sheets. Related: Bulk Validate Shipping Addresses in a Google Sheet.

Stop memorizing formulas.
Tell your spreadsheet what to do.

Join 4,000+ professionals saving hours every week with SheetXAI.

Learn more