跳到主要內容

如何將多個帶有前導零的單元格合併到Excel中的單元格中?

在本教程中,我將討論將多個帶有前導零的單元格合併到一個單元格中,並在Excel中保留前導零點,如下圖所示。 如果您對此任務感興趣,請閱讀以下詳細信息。

doc與前導零1結合

通過CONCATENATE函數將前導零與單元格合併

通過合併功能快速合併具有前導零的單元格好主意3


通過CONCATENATE函數將前導零與單元格合併

幸運的是,在 Excel 中,您可以使用 CONCATENATE 函數來組合單元格並保留前導零。

選擇一個空白單元格,然後鍵入此公式 = CONCATENATE(A1,B1,C1), 按 Enter 鍵,然後可以拖動自動填充手柄以將該公式填充到所需範圍。

doc與前導零2結合
doc向下箭頭
doc與前導零3結合

小提示:

1.您也可以使用此公式 = A1&B1&C1 合併單元格並保持前導零。

2.如果要合併單元格並按空格分隔它們,可以使用此公式 = CONCATENATE(A1,“”,B1,“”,C1) 或這個公式 = A1&“”&B1&“”&C1.


通過合併功能快速合併具有前導零的單元格

如果你有 Excel的Kutools,您可以快速合併單元格而不會按列,行丟失數據,也可以按以下方式將多個單元格合併為一個 結合 的功能。

Excel的Kutools, 與以上 300 方便的功能,使您的工作更加輕鬆。 

免費安裝 Kutools for Excel,請執行以下操作:

1.選擇您需要合併的數據范圍,然後單擊 庫工具 > 合併與拆分合併行,列或單元格而不會丟失數據。 看截圖:

doc與前導零9結合

2.然後在彈出的對話框中,執行以下操作:

(1)下 根據以下選項合併選定的單元格,選擇您需要基於其合併單元格的選項。

(2)然後您可以指定一個分隔符來分隔組合數據,這裡我選擇 沒什麼.

(3)確定放置結果的位置,可以選擇 左細胞 or 右細胞.

(4)下 選項 部分,您可以指定對合併單元格的操作。

doc與前導零5結合

3。 點擊 Ok or 登記。 現在您可以看到結果:

合併欄

doc與前導零6結合

合併行

doc與前導零7結合

合併成單個單元格

doc與前導零8結合

單擊此處以了解有關合併功能的更多信息。

最佳辦公生產力工具

🤖 Kutools 人工智慧助手:基於以下內容徹底改變數據分析: 智慧執行   |  生成代碼  |  建立自訂公式  |  分析數據並產生圖表  |  呼叫 Kutools 函數...
熱門特色: 尋找、突出顯示或識別重複項   |  刪除空白行   |  合併列或儲存格而不遺失數據   |   沒有公式的回合 ...
超級查詢: 多條件VLookup    多值VLookup  |   跨多個工作表的 VLookup   |   模糊查詢 ....
高級下拉列表: 快速建立下拉列表   |  依賴下拉列表   |  多選下拉列表 ....
欄目經理: 新增特定數量的列  |  移動列  |  切換隱藏列的可見性狀態  |  比較範圍和列 ...
特色功能: 網格焦點   |  設計圖   |   大方程式酒吧    工作簿和工作表管理器   |  資源庫 (自動文字)   |  日期選擇器   |  合併工作表   |  加密/解密單元格    按清單發送電子郵件   |  超級濾鏡   |   特殊過濾器 (過濾粗體/斜體/刪除線...)...
前 15 個工具集12 文本 工具 (添加文本, 刪除字符,...)   |   50+ 圖表 類型 (甘特圖,...)   |   40+ 實用 公式 (根據生日計算年齡,...)   |   19 插入 工具 (插入二維碼, 從路徑插入圖片,...)   |   12 轉化 工具 (數字到單詞, 貨幣兌換,...)   |   7 合併與拆分 工具 (高級合併行, 分裂細胞,...)   |   ... 和更多

使用 Kutools for Excel 增強您的 Excel 技能,體驗前所未有的效率。 Kutools for Excel 提供了 300 多種進階功能來提高生產力並節省時間。  點擊此處獲取您最需要的功能...

產品描述


Office選項卡為Office帶來了選項卡式界面,使您的工作更加輕鬆

  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,發布者,Access,Visio和Project。
  • 在同一窗口的新選項卡中而不是在新窗口中打開並創建多個文檔。
  • 將您的工作效率提高 50%,每天為您減少數百次鼠標點擊!
Comments (9)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Agreed with the others; joining text is uninteresting. You haven't accomplished the article title claim.
This comment was minimized by the moderator on the site
Using text like this works.
=CONCATENATE(B4,"/",C4,"/",D4,"/",TEXT(E4,"00000"))
This comment was minimized by the moderator on the site
That last part, text(E4,"00") is exactly what I needed. Thanks!
This comment was minimized by the moderator on the site
Agreed! The TEXT(E4,"000") at the end works!
This comment was minimized by the moderator on the site
That did not work for me, it dropped the proceeding zeros in each column.
This comment was minimized by the moderator on the site
concatenate does not preserve leading zeros.
This comment was minimized by the moderator on the site
Could you show your data for me to find the reasons that the formula does not work for you?
This comment was minimized by the moderator on the site
It only works in the example because the entries are TEXT cells. (Noted by the little green triangles in the upper-left corner)
This comment was minimized by the moderator on the site
Yep, more or less useless! Would be interested in a way of doing this with numbers, otherwise it's just joining text.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations