How to Concatenate and Keep Number Format in Excel

CONCATENATE is a function that joins the values of multiple cells into a single string in text format, regardless of the original format of the concatenated cells. In this article, we will demonstrate 4 simple ways to use the CONCATENATE function and keep the number format in Excel.

Consider the dataset below of 10 people and their points, which have three decimal places. Suppose we want to show the points values with only two decimal places along with their names in column D.

If we apply the CONCATENATE function, the cells will be joined but the two decimal points result will not be returned, as in the image below.

Let’s fix it.


Method 1 – Using the Format Cells Option to Keep the Number Format

In this method, first we will use the TEXT function to set the right format, and then we will use the CONCATENATE function to return the result.

Steps:

  • Select the range C5:C14.
  • Right-click to launch the Context Menu and choose the Format Cells option.

Opening context menu option

A small dialog box called Format Cells will appear.

  • In the Number tab, choose the Custom option from the Category section.
  • Keep a copy of the current number format of the Points column.
  • Click OK.

  • Select cell D5.
  • Enter the following formula to change the values to the correct number format.

=TEXT(C5,"#,##0.00")

  • Press Enter.

Using TEXT Function to Apply Format Cell Option to Keep Number Format

  • Select cell E5 and enter the following formula using the CONCATENATE function:

=CONCATENATE(B5,"  P: ",D5)

  • Press Enter.

Using CONCATENATE Function Concatenate and Keep Number Format

  • Drag the Fill Handle icon down to copy the formula to cell E14.

The desired result is returned in column E.

Apply Format Cell Option to Concatenate and Keep Number Format


Method 2 – Using the Ampersand Symbol to Retain the Number Format

In this process, we’ll use the TEXT function to get the right format, and then the ampersand symbol to return the result.

Steps:

  • Select cell D5.
  • Enter the following formula to get the correct number format:

=TEXT(C5,"#,##0.00")

  • Press Enter.

Applying TEXT Function Concatenate and Keep Number Format

  • Select cell E5 and enter the following formula using the ampersand symbol:

=B5 & "  P: " &D5

  • Press Enter.

Using Ampersand Symbol to Keep Number Format and Concatenate the Cell Value

  • Drag the Fill Handle icon to copy the formula down to cell E14.

The desired results are returned.

Use Ampersand Symbol to Concatenate and Keep Number Format

Read More: How to Combine Text and Numbers in Excel and Keep Formatting


Method 3 – Using the TEXTJOIN Function to Concatenate and Keep the Number Format

In this approach, we will combine the TEXT and TEXTJOIN functions to concatenate and keep the number format in Excel.

Steps:

  • Select cell D5.
  • Enter the following formula to get the correct number format:

=TEXT(C5,"#,##0.00")

  • Press Enter.

Using TEXT Function

  • Select cell E5 and enter the following formula using the TEXTJOIN function:

=TEXTJOIN("  P: ",TRUE,B5,D5)

  • Press Enter.

Using the TEXTJOIN Function to Get the Proper Formatting

  • Drag the Fill Handle icon to copy the formula down to cell E14.

We have concatenated while retaining the number format.

Utilizing TEXTJOIN Function to Concatenate and Keep Number Format


Method 4 – Using the CONCAT Function to Concatenate and Keep the Number Format

In this last case, we’ll apply the TEXT and CONCAT functions together.

Steps:

  • Select cell D5.
  • Enter the following formula using the TEXT function to get the correct number format:

=TEXT(C5,"#,##0.00")

  • Press Enter.

Utilizing TEXT Function

  • Select cell E5 and enter the following formula using the CONCAT function:

=CONCAT(B5,"  P: ",D5)

  • Press Enter.

Applying CONCAT Function

  • Drag the Fill Handle icon to copy the formula down to cell E14.

We have successfully concatenated and kept the number format.

Applying CONCAT Function to Concatenate and Keep Number Format


Download Practice Workbook


Related Articles

Get FREE Advanced Excel Exercises with Solutions!
Soumik Dutta
Soumik Dutta

Soumik Dutta, having earned a BSc in Naval Architecture & Engineering from Bangladesh University of Engineering and Technology, plays a key role as an Excel & VBA Content Developer at ExcelDemy. Driven by a profound passion for research and innovation, he actively immerses himself in Excel. In his role, Soumik not only skillfully addresses complex challenges but also demonstrates enthusiasm and expertise in gracefully navigating tough situations, underscoring his unwavering commitment to consistently deliver exceptional, high-quality content that... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo