google sheets phone number format

Master Google Sheets: Phone Number Formatting Tricks

By Richard Robinson
AD

Google Sheets is a powerful tool for managing and analyzing data, and one of the most common types of data we need to work with is phone numbers. However, if your phone numbers are not formatted correctly in Google Sheets, you might face issues with sorting, filtering, or even importing/exporting data. So, let's explore how to manage phone number formats in Google Sheets.

Before we dive into the specifics, remember that Google Sheets uses the Regional and Language settings of your Google account to determine the default phone number format. This means that if you're in the US, your default format is (123) 456-7890, while in Europe, the format might be +31 6 1234 5678. Let's now look into how to change and manage these formats.

Formatting Phone Numbers in Google Sheets

Formatting phone numbers correctly in Google Sheets involves two main steps: removing any non-numerical characters and adding the desired format. Let's see how to do this.

AD
37 Free Email List Templates (PDF, MS Word & Excel) ᐅ TemplateLab
37 Free Email List Templates (PDF, MS Word & Excel) ᐅ TemplateLab
How to Number Rows in Google Sheets (Add Serial Numbers)
How to Number Rows in Google Sheets (Add Serial Numbers)
Contact List, Google Sheets, Address Book, Address Sheet, Contact Organizer, Emergency List, Client Tracker, Contact Information Digital Log
Contact List, Google Sheets, Address Book, Address Sheet, Contact Organizer, Emergency List, Client Tracker, Contact Information Digital Log

Remember, the function we'll use - REGEXREPLACE - uses regular expressions to find and replace text, which is a powerful tool for managing phone number formats.

Step 1: Removing Non-Numerical Characters

To remove non-numerical characters from phone numbers, use the following formula: `=REGEXREPLACE(A1, "[^0-9]", "")`. This function tells Google Sheets to find anything that's not a number (from 0 to 9) and replace it with nothing.

Contact list template for Google Sheets with built in search
Contact list template for Google Sheets with built in search
an iphone screen showing the name and phone number of william george jones
an iphone screen showing the name and phone number of william george jones
How To Format International Phone Number In Excel - Excel Tips and Tricks
How To Format International Phone Number In Excel - Excel Tips and Tricks

For example, if your phone number is (123) 456-7890, after applying this function, it will become 1234567890.

Step 2: Adding the Desired Format

Now that we have just the numbers, we can add our desired format. For instance, to format the number as (123) 456-7890, use this formula: `=CONCAT("(", LEFT(B1,3), ") ", MID(B1, 4, 3), "-", RIGHT(B1, 4))`. This function breaks up the number and adds the appropriate formatting.

AD

To get the final result in your cell, combine the two steps with the following formula: `=CONCAT("(", LEFT(REGEXREPLACE(A1, "[^0-9]", ""),3), ") ", MID(REGEXREPLACE(A1, "[^0-9]", ""), 4, 3), "-", RIGHT(REGEXREPLACE(A1, "[^0-9]", ""), 4))`.

Phone Call Log Form Template in Apple Numbers, Pages, Excel, Google Sheets, Word, PDF, Google Docs - Download | Template.net
Phone Call Log Form Template in Apple Numbers, Pages, Excel, Google Sheets, Word, PDF, Google Docs - Download | Template.net
Lista números teléfono editable
Lista números teléfono editable
Contact List, Google Sheets, Address Book, Address Sheet, Contact Organizer, Emergency List, Client Tracker, Contact Information Digital Log
Contact List, Google Sheets, Address Book, Address Sheet, Contact Organizer, Emergency List, Client Tracker, Contact Information Digital Log
an iphone with the call phone number displayed
an iphone with the call phone number displayed
How to Use the SORTN Function in Google Sheets
How to Use the SORTN Function in Google Sheets
FREE 16+ Sample Blank Spreadsheet Templates in Google Docs | Google Sheets | Excel | MS Word | Numbers | Pages | PDF
FREE 16+ Sample Blank Spreadsheet Templates in Google Docs | Google Sheets | Excel | MS Word | Numbers | Pages | PDF

Formatting Phone Numbers for International Use

When working with international data, it's a good idea to include the country code in your phone number format. For example, a European number might be +31 6 1234 5567.

To format your numbers this way, modify the previous formula to: `=CONCAT("+", LEFT(REGEXREPLACE(A1, "[^0-9]", ""),1), " ", MID(REGEXREPLACE(A1, "[^0-9]", ""), 2))`. This adds the plus sign (+) in front of the number, which is the standard international format.

AD

Using the TEXT Function

As an alternative to using REGEXREPLACE, you can also use the TEXT function to format your phone numbers. The formula would look something like this: `=TEXT(A1, "\(##\) ###-####")`. This will format your phone numbers as (12) 345-6789.

a spreadsheet template for the wordpress website
a spreadsheet template for the wordpress website
Free Google Sheets Attendance Tracker Template
Free Google Sheets Attendance Tracker Template
Meeting Sign In Sheet | Template Business
Meeting Sign In Sheet | Template Business

However, be cautious when using TEXT for phone numbers as it might not work correctly with numbers containing more or less than 10 digits.

So, there you have it - various ways to manage and format phone numbers in Google Sheets. The key lies in understanding the right functions and formulas to use. Happy formatting!

AD
AD