How to Validate Phone Numbers in Excel and Google Sheets (Without a Developer)
Learn how to validate phone numbers in Excel and Google Sheets: the formulas that catch format errors, the limits formulas cannot cross, and how to run real HLR and WhatsApp verification on a whole list without writing code.
Most sellers' phone lists live in a spreadsheet. The list started as a checkout export, grew through a lead magnet, absorbed a partner's CSV, and now sits at ten thousand rows that nobody has ever checked. Marketing wants to run a WhatsApp campaign on it. Fulfilment wants to ship cash-on-delivery orders to it. Support wants to stop getting complaints from strangers who inherited a recycled number. The first question everyone asks is the same one: how do you validate phone numbers in Excel and Google Sheets without hiring a developer or buying an enterprise tool?
The honest answer has two halves. The first half is good news: Excel and Google Sheets can catch a surprising share of bad numbers with nothing more than formulas — formatting errors, missing country codes, wrong lengths, duplicates. The second half is the part people skip: formulas can only check what a number looks like, never whether it is real. A perfectly formatted number can still be disconnected, never assigned, or registered to a stranger. This guide covers both halves: how to validate phone numbers in Excel and Google Sheets with formulas, where formulas stop working, and how to finish the job with a real lookup — all without writing a line of code.
How to validate phone numbers in Excel: start with formatting, not verification
Before any check can work, the numbers have to be in a shape a check can read. This is where most spreadsheets fail first, and it is also where the cheapest wins live. A typical raw export mixes formats in the same column: some numbers have a plus sign and a country code, some have a leading zero, some carry spaces, dashes, or brackets, and some lost their leading zero entirely because Excel treated them as numbers and dropped it. None of those rows are necessarily bad numbers. They are unreadable numbers, and an unreadable number fails every check you run on it — including the expensive ones.
The fix is a normalisation pass, and it is the single most valuable fifteen minutes in the whole workflow. The goal is one canonical format: E.164, which means a plus sign, a country code, and the national number with no spaces, dashes, or leading zero. A Brazilian mobile becomes +5511999999999. A Pakistani mobile becomes +923001234567. Once every row is in E.164, every later step — formulas, dedupe, bulk lookup, campaign upload — works on clean input instead of guessing at it. Skip this step and you will pay to verify the same formatting problem five times, once per tool.
Step 1: Normalise every number to E.164 in Excel
Start by forcing the column into text, so Excel stops eating leading zeros. Select the phone column, set the cell format to Text, and only then paste or type numbers into it. If the numbers are already there and the zeros are already gone, you will need to re-import from the original export — the lost digits cannot be recovered from inside the sheet.
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"-",""),"(",""),")","")
=IF(LEFT(B2,1)="+",B2,"+"&B2)
=IF(LEFT(C2,2)="+0","+"&MID(C2,3,LEN(C2)),C2)The first formula strips spaces, dashes, and brackets. The second adds a missing plus sign. The third removes the classic mistake: a country code pasted in front of a national number that still carries its leading zero, producing +055 instead of +55. Run them in three helper columns, copy the result, and paste it back as values. The helper columns are disposable; the clean column is the asset. Keep a copy of the original column untouched, so you can always trace a row back to what the customer actually typed.
How to validate phone numbers in Google Sheets with built-in formulas
Google Sheets has one advantage over Excel for this job: REGEXMATCH, a built-in function that tests a cell against a regular expression. Excel's older versions have no equivalent, and while Excel 365 has started shipping regex functions, most teams still run a version without them — so if you are on Excel, the formula approach in the previous section is the portable one, and if you are on Sheets, the regex approach below is the faster one. The two methods check the same things; Sheets just expresses them in fewer columns.
=REGEXMATCH(A2,"^\+\d{10,15}$")
=IF(REGEXMATCH(A2,"^\+\d{10,15}$"),"Format OK","Fix format")
=ARRAYFORMULA(IF(A2:A="","",IF(REGEXMATCH(A2:A,"^\+\d{10,15}$"),"Format OK","Fix format")))The pattern ^\+\d{10,15}$ is the whole format test in one line: the number must start with a plus sign, then contain between ten and fifteen digits, and nothing else. It catches the common failures instantly — a number with a space in the middle, a letter typed by accident, a country code missing, a number that is obviously too short. The ARRAYFORMULA version runs the same test down the entire column at once, which is what makes Sheets practical for a list of ten thousand rows: one formula, one column, the whole list graded in seconds.
A format test is not a validity test, and it is worth being explicit about that before going further. The regex confirms the number is shaped like a phone number. It cannot confirm that the number belongs to anyone, that the line is live, or that the person who typed it is the person who owns it. A disconnected number passes this test. A number that was never assigned passes this test. A number recycled to a stranger passes this test. That is not a flaw in the formula — it is the boundary of what a spreadsheet can know, and the rest of this guide is about what sits on the other side of it.
The formula toolkit: how to validate phone numbers in Excel and Google Sheets, step by step
Once the numbers are normalised, four formula checks cover almost everything a spreadsheet can catch. Run them as four helper columns, then filter on the results. The order matters: dedupe first, because there is no reason to validate the same number twice.
- 1Deduplicate. In Excel, use Data > Remove Duplicates on the clean column, or flag repeats with =COUNTIF($A$2:$A$10000,A2)>1. In Sheets, use =UNIQUE() or the same COUNTIF. A list that has been merged from several sources is routinely 5 to 10 percent duplicates, and every duplicate is a number you would otherwise pay to verify twice and message twice.
- 2Check the length. A valid E.164 number is at most fifteen digits after the plus sign, and most countries have a fixed national length — eleven digits for a Brazilian mobile including the country code, twelve for a Pakistani mobile, eleven for a US number. Flag anything outside the expected length for its country with =AND(LEN(A2)>=11,LEN(A2)<=15), adjusted to your markets, and send the flags back for a formatting fix instead of straight to the bin.
- 3Check the country code. Split the code out with =LEFT(A2,3) or =REGEXEXTRACT(A2,"^\+\d{1,3}") and compare it against the shipping country on the same row. A number whose country code does not match the order's country is not automatically fake — customers travel and buy gifts — but it is the single cheapest fraud signal in the sheet, and it deserves a second look before a high-value order ships.
- 4Check for placeholder digits. Numbers like +1111111111, +1000000000, or a row of repeating digits are test entries, not customers. A simple check for a cell where all digits are the same — or where the number ends in 123456 — catches the checkout-form placeholders that slip into every list. These rows should never reach a campaign or a courier.
Together, these four checks typically flag 3 to 8 percent of a raw list — the typos, the placeholders, the duplicates, the mangled imports. That is real money saved before a single verification lookup runs, because every row the formulas catch is a row you do not pay to check and do not pay to message. It is also the point where the spreadsheet's job is mostly done, and where the honest limits of the method begin.
What formulas cannot tell you when you validate phone numbers in Excel
The four checks above answer one question: does this number look right? The questions that decide whether a campaign or a shipment succeeds are different ones, and no formula in Excel or Google Sheets can answer them. A number can be perfectly formatted and still be dead. It can be perfectly formatted and still belong to someone else. It can be perfectly formatted and still be unreachable on the only channel you use. Knowing which questions formulas cannot answer is what stops a team from trusting a clean-looking spreadsheet into an expensive mistake.
- Is the line live or disconnected? Only the mobile network knows. A number that was disconnected last month looks identical in a spreadsheet to a number that is live today. An HLR lookup asks the network directly and returns live, disconnected, or invalid in under a second.
- Is the number on WhatsApp? A live number is not automatically a WhatsApp number. For a seller whose entire confirmation flow runs on WhatsApp, a live mobile that is not registered on the app is effectively unreachable — and a spreadsheet has no way to see the difference.
- Is it a mobile, a landline, or a VoIP number? The format gives no clue. A landline will never receive a WhatsApp template; a VoIP number deserves a second proof of identity before a discount or a trial. Line-type information comes from a lookup, not from the digits.
- Has the number been reassigned? In prepaid-heavy markets like Brazil, Indonesia, and Pakistan, operators recycle numbers quickly. A number that belonged to your customer in March may belong to a stranger by September, and nothing in the spreadsheet changes when it does. Only a fresh check catches it.
- Was it ported to another operator? Number portability means the prefix no longer tells you the operator, and in some markets it no longer tells you the country reliably either. Carrier data comes from a lookup, not from a prefix table you maintain by hand.
None of this makes the formula pass useless — it makes it the first pass, not the only pass. The spreadsheet catches the formatting failures for free, and the lookup catches the reality failures for about $0.002 per number. Teams that skip the first pass pay to verify typos. Teams that skip the second pass pay to message dead numbers. The workflow that works is both, in that order.
How to validate phone numbers in Excel and Google Sheets with a real lookup
The bridge between the spreadsheet and a real verification is a CSV file, and the whole round trip takes about ten minutes. No code, no API integration, no developer — just the export button, an upload, and a VLOOKUP. This is the workflow sellers use when the list is too big to check one number at a time and too valuable to message blind.
- 1Normalise and dedupe in the sheet. Run the formula pass above first, so the file you upload contains only clean, unique numbers in E.164 format. Every duplicate you remove here is a lookup you do not pay for.
- 2Export as CSV. File > Download > CSV in Sheets, or Save As > CSV in Excel. Keep the phone numbers in one column and the order ID or customer ID in another, so you can match the results back afterward. Do not export as XLSX for the upload — most bulk checkers expect a plain CSV.
- 3Upload to a bulk phone verification checker. A bulk checker runs a combined lookup on every row: line status from an HLR query, line type, operator and country, and WhatsApp and Telegram presence. At around $0.002 per number, a list of 10,000 costs about $20 to verify in full.
- 4Download the results file. The checker returns your file with a status column appended to every row: live, disconnected, invalid, or unknown, plus the line type and the messaging-app presence. Keep this file — it is the audit trail for the campaign and the COD queue.
- 5Merge the results back with XLOOKUP or VLOOKUP. In Excel, =XLOOKUP(A2,Results!A:A,Results!B:B) pulls the status into your working sheet by phone number. In Sheets, =VLOOKUP(A2,Results!A:B,2,FALSE) does the same. Filter on the status column and the list splits itself: verified rows go to the campaign, dead rows get suppressed, uncertain rows go to a confirmation call.
The merge step is where most people stop one step short. Downloading the results file is not the same as acting on it — the verified status has to land back in the sheet your team actually works from, next to the order or the campaign row, or the knowledge evaporates and the same list gets re-verified next month. With TrueReach, the results file comes back with the status column already appended, so the merge is a single lookup formula, not a data project — and a bulk check of 10,000 numbers costs about $20, less than the conversation fees on the dead rows it removes.
How to validate phone numbers in Excel for COD sellers
Cash-on-delivery sellers get the most from this workflow, because a COD order has no payment step to catch a bad number. The WhatsApp confirmation — did the buyer answer, did they confirm the address, are they home — is the only filter between the order and the courier, and a disconnected number means the confirmation never arrives and the parcel comes back. Validating the dispatch list in the spreadsheet slots into that flow in three places.
First, at the point of export: before the dispatch list leaves the sheet, run the formula pass and the bulk check on the whole queue, and sort the orders by verification status. Verified numbers — live mobile, registered on WhatsApp — ship first, because their confirmation messages will actually be delivered. Second, for the uncertain bucket: live line but no WhatsApp account, or an unknown result. Those orders get a WhatsApp confirmation attempt plus a fallback voice call before dispatch, instead of a courier sent to a buyer who was never confirmed. Third, for the failed bucket: disconnected or invalid numbers do not ship at all. They go back to the confirmation queue or to manual review, and the parcels that used to come back are the ones that never leave the warehouse.
Sellers who run this triage see it in the return rate within a month, because the parcels that come back are disproportionately the ones whose buyers were never reachable in the first place. The spreadsheet is the control panel for that triage — one status column, three buckets, and a dispatch order decided by verification instead of by guesswork.
Five mistakes people make when they validate phone numbers in Excel
- 1Letting Excel eat the leading zero. The most common error in the whole workflow, and the hardest to notice: a column formatted as Number silently drops the leading zero, and every number in the column is wrong from that moment on. Format the column as Text before the numbers go in, or re-import from the original export.
- 2Validating the format and stopping there. A format check is a spelling check, not a reality check. A list that passes every formula can still be 10 to 25 percent unreachable, and the dead rows only show up in the campaign bill. Run the lookup pass before any send that costs money.
- 3Verifying after segmenting instead of before. Sellers who segment first and verify second end up verifying the same dead numbers inside every segment, paying for the same answer several times. Verify once, segment on the verified file, and the campaign tool only ever sees numbers that can actually receive a message.
- 4Deleting instead of suppressing. A disconnected number is dead today, but the row is still evidence: the check date, the reason, the order it came from. Suppress it and keep the record, so you can re-test later instead of re-buying the same knowledge — and so a number reassigned to a new owner does not get messaged as if it still belonged to the old one.
- 5Checking once and trusting forever. Numbers churn, especially in prepaid-heavy markets. A verification from six months ago is a rumor. Stamp the check date on every row, re-verify before every major campaign, and re-run the check on any list you have not messaged in ninety days.
How much does it cost to validate phone numbers in Excel and Google Sheets
The formula pass costs nothing but fifteen minutes. The lookup pass costs about $0.002 per number in bulk, or $0.0025 per number in real time, and a new TrueReach account starts with 8,000 free credits — enough to verify a list of 8,000 numbers without spending anything. A store taking 10,000 orders a month spends about $25 a month verifying every number at checkout and before every confirmation message. A campaign list of 50,000 numbers costs about $100 to verify in full.
The comparison that matters is not the price of the check against the price of another check. It is the price of the check against the price of the action it prevents: the WhatsApp conversation fee on a dead number, the template that never delivers, the courier leg for a parcel that comes back, the support ticket from a stranger who inherited a recycled number. The expensive option was never verification. The expensive option was trusting a spreadsheet that could only tell you what a number looked like, and messaging it anyway. Start with the highest-leverage move: run the formula pass on your list today, then run the same list through a combined verification pass this week, and merge the results back into the sheet with a single lookup formula. You will learn two things immediately: how many of your contacts were never reachable at all, and how much of your next campaign budget was going to them. Get started free with 8,000 credits at https://truereach.one/signup, and make validating phone numbers in Excel and Google Sheets the step that runs before the first message — not the investigation you run after the invoice arrives.
Try it now: upload your CSV and check line status, line type, and WhatsApp presence for the whole list at once — from $0.002 per number. Sign up at https://truereach.one/signup — 8,000 credits included, no card required.
Verify your own list
TrueReach verifies your first-party customer numbers — WhatsApp, Telegram, dead-number, and activity checks. First 1,000 checks free.
Start verifying free