跳到主要內容

Excel公式:將國家或地區代碼添加到電話號碼

當您從某些設備將電話號碼導入工作表時,它可能會丟失國家代碼和區號。 在這裡,本教程提供了兩個簡單的公式,可以將相同的國家代碼和區號快速添加到Excel中的電話號碼列表中。
doc提取第一行

通用公式:

Country_code&Area_code&Phone_num

Or

CONCATENATE(Country_code,Area_code,Phone_num)

參數

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”.

這個公式如何運作

假設B3單元格中的電話號碼,E3單元格中的區號,F3單元格中的國家/地區代碼,請使用以下公式:

=F3&E3&B3

Or

=CONCATENATE(F3,E3,B3)

媒體推薦 Enter 鍵,區號和國家/地區代碼已添加到電話號碼的前面。
doc添加國家/地區代碼區號2
doc添加國家/地區代碼區號3

解釋

CONCATENATE 功能 用於將來自多個單元格的兩個或多個文本項合併為一個。

示例文件

doc樣本點擊下載示例文件


相對公式


相關功能


最佳辦公效率工具


Office Tab - 在 Microsoft Office(包括 Excel)中啟用分頁式閱讀和編輯

  • 一秒鐘即可在數十個打開的文檔之間切換!
  • 每天為您減少數百次鼠標單擊,告別鼠標手。
  • 查看和編輯多個文檔時,將您的工作效率提高 50%。
  • 為 Office(包括 Excel)帶來高效的選項卡,就像 Chrome、Edge 和 Firefox 一樣。
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations