FormulaCraft

How to format a phone number in Excel and Google Sheets

Topic:Text manipulation
Excel & Google Sheets
=TEXT(VALUE(A2),"(###) ###-####")

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Store the phone number in column A as digits only, e.g., 5551234567 (no dashes or parentheses).
  2. 2To format with TEXT: =TEXT(VALUE(A2),"(###) ###-####") — VALUE() converts text digits to a number first.
  3. 3Alternatively build the format manually: ="("&LEFT(A2,3)&") "&MID(A2,4,3)&"-"&RIGHT(A2,4).
  4. 4The manual method works even if the digits are stored as text and avoids potential issues with leading zeros.
  5. 5Paste the formula next to your data and copy down.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

What if the number has an extension?

Separate the extension first, format the base 10 digits, then concatenate the extension: =formatted_number&" ext. "&extension.

Can I format international numbers?

Use the manual concatenation method and adjust the segment lengths to match the target country's format, e.g., +44 for UK.

More on Text manipulation

See all →

Formulas used

Related tasks

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: