How to combine multiple cells with leading zeros into a cell in Excel?
In this tutorial, I am going to talk about combining multiple cells with leading zeros into a cell and keeping the leading zeros in Excel as below screenshot shown. If you have some interest in this task, please read the below details.
- 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 Excel, fortunately, you can use the CONCATRNATE function to combine cells and keep the leading zeros.
Select a blank cell, and type this formula =CONCATENATE(A1, B1,C1), press Enter key, then you can drag the autofill handle to fill this formula to the range you need.
1. You also can use this formula =A1&B1&C1 to combine cells and keep the leading zeros.
2. If you want to combine the cells and separate them by space, you can use this formula =CONCATENATE(A1," ",B1," ",C1) or this formula =A1&" "&B1&" "&C1.
If you have Kutools for Excel, you can quickly combine cells without losing data by columns, rows or to combine multiple cells into one by Combine function.
|Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.|
After free installing Kutools for Excel, please do as below:
1. Select the data range you need to combine, and click Kutools > Combine. See screenshot:
2. Then in the popping dialog, do as below:
(1) Under To combine selected cells according to following options, select the option you need to combine cells based on.
(2) Then you can specify a separator to separate the combined data, here I select Nothing.
(3) Decide where to place the result, you can select Left cell or Right cell.
(4) Under Options section, you can specify the operation on combined cells.
3. Click Ok or Apply. Now you can see the results:
Combine into single cell
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
To post as a guest, your comment is unpublished.· 4 months agoUsing text like this works.
To post as a guest, your comment is unpublished.· 9 months agoconcatenate does not preserve leading zeros.
To post as a guest, your comment is unpublished.· 8 months agoCould you show your data for me to find the reasons that the formula does not work for you?
To post as a guest, your comment is unpublished.· 5 months agoIt only works in the example because the entries are TEXT cells. (Noted by the little green triangles in the upper-left corner)