Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to concatenate keeping number/date formatting in Excel?

You may have noticed that when we apply the CONCATENATE function in Excel, the date format (2014-01-03) and number format such as currency format ($734.7), percentage format (48.9%), decimal places (24.5000), etc. are removed and show as general numbers in the concatenation results as below screenshot shown. In this article we come up with several workarounds to concatenate data with keeping date or number formatting in Excel.
doc concatenate retain date number formatting 1

Concatenate with keeping date format in Excel

Concatenate with keeping number (currency, percentage, decimal places, etc.) format in Excel

Concatenate with keeping date and number format with Kutools for Excel

Batch combine multiple cells/rows/columns without losing data and date/number format in Excel

Normally when merging cells with the Merge feature in Excel, it will remove all cell contents except the first cell content. However, with Kutools for Excel's Combine (Rows & Columns) utility, you can easily batch combine multiple cells/rows/columns without losing data. What's more, this utility also supports remaining original date format and number formats in the combination results. Click for 60-day free trial without limitation!
ad combine rows columns keep formatting

Excel Productivity Tools

Office Tab: Bring powerful tabs to Office (include Excel), just like Chrome, Safari, Firefox and Internet Explorer. Save you half the time, and reduce thousands of mouse clicks for you. 30-day Unlimited Free Trial

Kutools for Excel: Save 70% of your time and solve 80% Excel problems for you. 300+ advanced features designed for 1500+ work scenario, make Excel much easy and increase productivity immediately.60-day Unlimited Free Trial


Concatenate with keeping date format in Excel

This section is talking about how to keep date format in the CONCATENATE function in Excel.

1. Select a blank cell you will output the concatenation result, and enter the formula =CONCATENATE(TEXT(A2, "yyyy-mm-dd")," ", B2) ( A2 is the cell with date you will concatenate, and B2 is another cell you will concatenate) into it, and press the Enter key.
doc concatenate retain date number formatting 2

2. Keep selecting the concatenation result cell, and drag its AutoFill handle to the range as you need. And then you will see the specified cells are concatenated into one cell with keeping the date format. See screenshot:

Note: This formula =CONCATENATE(TEXT(A2, "yyyy-mm-dd")," ", B2) will show dates of any date format as yyyy-mm-dd, such as 2014-01-03. For retaining other date format in the CONCATENATE function, you can change the yyyy-mm-dd to the certain date format code as you need. How to get date/number format code?


Concatenate with keeping number (currency/percentage/decimal places) format in Excel

This section is talking about keeping number format, such as currency format, percentage format, decimal places of numbers, etc. in the CONCATENATE function in Excel.

Tip: If you are familiar with format codes of numbers that you will concatenate, please click here.

1. First of all, we need to get the format code of specified numbers you will concatenate: right click the number cell and select the Format Cells from the right-clicking menu. See screenshot:

2. In the opening Format Cells dialog box, go to the Number tab, click the Custom in the Category box, copy the format code in the Type box, and close the Format Cells dialog box. See screenshot:
doc concatenate retain date number formatting 5

3. Then we will convert the number you will concatenate into text string. Select a blank cell (Cell E2 in our example), enter the formula =TEXT(B2,"$#,##0.00_);($#,##0.00)") (B2 is the currency cell you will concatenate) into it, and press the Enter key.
doc concatenate retain date number formatting 6
Notes:
(1) In above format, $#,##0.00_);($#,##0.00) is the format code we copied in step 2. And you can change the format code to your copied one.
(2) Sometimes the format code of currency you copied may be very complicated which causes formula errors. If so, please simply the format code such as $#,##0.00_);($#,##0.00).

4. If there are several kinds of numbers you will concatenate, please repeat Step 1-3 to convert these numbers to text strings.

5. After converting numbers with special number formats to text string, we can concentrate them by entering formula =CONCATENATE(A2, " ",E2, " ", F2) (A2, E2, and F2 are cells we will concatenate) into a blank cell (Cell G1 in our example), and press the Enter key. See screenshot:
doc concatenate retain date number formatting 7

6. Select the range E2:G2 and then drag the AutoFill Handle to the range as you need. And then you will see each row has been concatenated with keeping all kinds of number formats. See screenshot:
doc concatenate retain date number formatting 8
Note: If you are familiar with the format codes of numbers you will concatenate, you can apply the formula =CONCATENATE(A2, " ",TEXT(B2,"$#,##0.00_);($#,##0.00)"), " ", TEXT(C2,"0.00%" )) and replace the format codes of $#,##0.00_);($#,##0.00) and 0.00% based on your requirement.


Concatenate with keeping date and number format with Kutools for Excel

Cannot remember format codes of dates and numbers and feel tired to copy them repeatedly? Kutools for Excel’s Combine utility can help you concatenate data with keeping all kinds date formats and number formats by several clicks in Excel.

Kutools for Excel - Combines more than 300 Advanced Functions and Tools for Microsoft Excel

1. Select the range you will concatenate, and click Kutools > Combine.
doc concatenate retain date number formatting 9

2. In the opening Combine Columns or Rows dialog box, please do as follows:
doc concatenate retain date number formatting 10
(1) Check the Combine columns option in the To combine selected cells according to following options section;
(2) Check one separator option in the Specify a separator section (we check the Space option in our example);
(3) Specify the place you will put the concatenation result into. In our example we specify the Left Cell;
(4) In the Options section, we check the Delete contents of combined cells option;
(5) Check the Use formatted values option at the bottom of this dialog box.

3. Click the Ok button to applying this utility. And then you will see each row has been concatenated into their first cell with keeping all kinds of date formats and number formats. See screenshot:
doc concatenate retain date number formatting 12


Demo: concatenate keeping number/date format in Excel

In this Video, the Kutools tab and the Kutools Plus tab are added by Kutools for Excel. If need it, please click here to have a 60-day free trial without limitation!



Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 70%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 80% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    mary florence · 13 hours ago
    i am trying to concatenate three fields into a date field. i.e

    field 1= 1

    field 2=1

    field 3=2020

    i want it to concatenate to 1/1/2020

    How do I do that?
  • To post as a guest, your comment is unpublished.
    Susan P. Jett · 3 months ago
    Ok I am trying to Concatenate two cells from a different sheet and one is a date. When I concatenate it the new cell displays the date as numbers. I need it to display as a date. For example: I am trying to merge cell #1: November 5, 2017 with cell #2: Homecoming and what i get is something like: 447689 Homecoming. Remember I am getting the info from another sheet within my workbook, so here is my formula: =CONCATENATE('Home Page'!F3," ",'Home Page'!F6)
    Which gives me the 4447689 Homecoming but I want it to say: November 5, 2017 Homecoming. Can you tell me what I need to add to my formula?
    • To post as a guest, your comment is unpublished.
      kellytte · 3 months ago
      Hi Susan,

      Try this formula =CONCATENATE(TEXT('Home Page'!F3, "MMMM D, YYYY")," ", 'Home Page'!F6)
  • To post as a guest, your comment is unpublished.
    Eve Hermes · 5 months ago
    Hello. Can you help me? i've been in this trouble for some times.
    So i have "Oxford" in cell A1 and "02 January 2019" in cell B1 and i want to merge these two cells separated with a comma and single space. I've tried =A1&", "&text(B1,"[$-421]dd mmmm yyyy;@") and =concatenate(A1,", ",text(B1,"[$-421]dd mmmm yyyy;@")) but none of them worked. Do you have any idea what was wrong with my formula?
    Thanks alot!
    • To post as a guest, your comment is unpublished.
      kellytte · 5 months ago
      Hi Eve,
      Try these formulas:
      =A1&", "&TEXT(B1,"DD MMMM YYYY") OR =CONCATENATE(A1,", ",TEXT(B1,"DD MMMM YYYY"))
  • To post as a guest, your comment is unpublished.
    Kent · 6 months ago
    Exactly what I needed.
  • To post as a guest, your comment is unpublished.
    Beate · 1 years ago
    Perfect, exactly what I needed. Thank you for the excellent summary.