Help

Formula Help on Phone Number Formatting

2233 2
cancel
Showing results for 
Search instead for 
Did you mean: 
briem
4 - Data Explorer
4 - Data Explorer

I am looking for help creating a formula field to change the format that phone numbers appear in.

On Airtable, the phone field automatically formats phone numbers as: (555) 555-5555.

I need the phone numbers to be formatted as follows instead: +1 555-555-5555.

Please help!

2 Replies 2
Tyler_Thorson
6 - Interface Innovator
6 - Interface Innovator

This formula should work.

"+1 " & SUBSTITUTE(SUBSTITUTE(SUBSTITUTE({Phone #}, '(', ''), ')', '')," ","-")

It finds and removes the parentheses with the SUBSTITUTE function, then finds the remaining " " (Space) and replaces it with "-". Then you just use the "&" operator to add "+1 " to the front.

Hope that helps!

Excmelin
4 - Data Explorer
4 - Data Explorer

Formatting phone numbers, especially if you’re dealing with a verification number, can get tricky sometimes. One way to handle it is by using a formula that checks if the number has the correct number of digits and then formats it accordingly. It’ll put the phone number in the standard format, like (123) 456-7890, once it’s entered into cell A1. Another option is to break the number down into sections using text functions. The best solution often depends on what kind of platform you're working with—if it's for a website or a document, different formatting rules might apply. It can be helpful to look up a simple guide on formatting verification phone number, as sometimes they have their own rules.