Excel Formula: Add country code or area code to phone number
When you import phone numbers from some devices to a worksheet, it may lost the country code and area code. Here this tutorial provides two simple formula to quickly add same country code and area code to a list of phone numbers in Excel.
Generic formula:
Country_code&Area_code&Phone_num |
Or
CONCATENATE(Country_code,Area_code,Phone_num) |
Arguments
Country_code: the country code you want to add to the phone number, it can be in number format, text format, such as “86”, “+86”, “(86)”. |
Area_code: the area code you want to add to the phone number, it can be in number format or text format, such as “20”, “+20”, “20-”. |
Phone_num: the number you used to add country code and area code, it can be in number format, text format, such as “44243342”, “442-433-42”. |
How this formula work
Supposing the phone number in cell B3, area code in cell E3, country code in cell F3, please use below formula:
=F3&E3&B3 |
Or
=CONCATENATE(F3,E3,B3) |
Press Enter key, the area code and country code have been added in the front of the phone number.
Explanation
CONCATENATE function is used to join two or more texts items from multiple cells into one.
Sample File
Relative Formulas
- Extract last line of cell
- Trim Text To N Words
Here introduces the formula to extract n words from left side of a text string. - Split sentence into words
This tutorial provides formulas to separate words of sentence into separated columns. - Extract first line of cell
To extract first line of contents from multi-lines with formula.
Relative Functions
- LEFT function
Extract text from left side. - CONCATENATE function
Join two or more texts items from multiple cells into one. - IF function
Test for conditions. - MID function
Extract part of text from a cell value based on the location and length.
The Best Office Productivity Tools
Kutools for Excel - Helps You To Stand Out From Crowd
Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)
- One second to switch between dozens of open documents!
- Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
- Increases your productivity by 50% when viewing and editing multiple documents.
- Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
