How to separate area code from phone number in Excel?
If you have a list of clients' phone numbers in a worksheet, and you want to divide them based on their areas, you need to separate the area codes from their phone numbers first. Now, I tell you two quick ways to separate the area codes from phone numbers in Excel.
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
In general, the area code is the first three numbers of the phone number, so you can use the follow formula:
Select a cell and type this formula= MID(B1,1,3) ( B1 is the cell you want to separate the area code from), and press Enter button, then drag fill handle to fill the range you want to apply this formula. See, the area codes are extracted from the phone numbers list:
In Excel, you also can use Text to column feature to finish the separating.
1. Select the list of phone number, click Data > Text to Columns. See screenshot:
2. In the Convert Text to Columns Wizard dialog box, check Fixed width and click Next. See screenshot:
3. Then set your field width by setting the break lines with arrow. See screenshot:
4. Click Finish. Then you see the area codes are separated from the full phone numbers
You are guest
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 3 years agoThanks, fixed width helpded me
- To post as a guest, your comment is unpublished.· 3 years agoTHANK YOU SO MUCH YOU ARE A GOD