Catalog

How to Combine Text and Number into One Cell in Excel (3 Easy Ways)

January 9, 2024 7.7K views

While handling data, situations often arise where the fusion of text and numbers within a single cell becomes not just beneficial, but indispensable. Whether you aim to craft personalized labels or execute calculations enriched with contextual descriptors, the ability to seamlessly blend text and numerical data proves to be an invaluable skill. Even if the need doesn't seem immediately apparent, the versatility it offers can be a game-changer when you least expect it.

This article serves as your guide to mastering the art of Excel combining text and numbers in one cell, and unveiling a range of techniques and applications that can elevate your data-handling prowess.

3 Ways to Combine Text and Number in One Cell

Combining text and numbers in one cell can be useful for creating custom labels, formatting data, or generating dynamic content. Here are three common ways to combine text and numbers in a single cell in Excel:

Using Ampersand Symbol (&)

The ampersand symbol (&) is a powerful tool in Excel that allows you to merge or concatenate data from different cells effortlessly.

Example 1- Combining Texts using Ampersand Symbol

Let's explore a simple example using a database of first names and family names to create a field for the complete name of a person.

Step 1: In cell C2, start by typing the equal sign (=) to indicate that you're starting a formula. Then select the cell containing the first name, which is A2 in this case.

Step 2: After selecting the first name cell (B2), add the ampersand symbol (&). This tells Excel to concatenate or join the text.

Step 3: Following the ampersand symbol, add double quotation marks with a space in between. This space ensures there's a separation between the first name and family name.

Step 4: After adding the space in the formula, continue by adding an ampersand (&), and then select cell B2.

Step 5: Press Enter to apply the formula in cell C2. Excel will immediately generate the full name based on the first name and family name from cells B2 and A2.

Step 6: To apply the same formula to the rest of the records, use the autofill handle (the small square at the bottom right corner of cell C2) and drag it down to fill the cells in the "Full Name" column for the remaining rows.

Example 2- Combining Text and Number using Ampersand Symbol

Step 1: Start by selecting an empty cell where you want to display the combined text and number. For instance, let's select cell C2.

Step 2: Enter the formula by typing the Equal sign (=) to begin the function, then select the cell containing the product name (e.g., cell A2).

Step 3: Add the ampersand symbol (&) to concatenate the text and number, and then enclose a space in quotation marks to include a space between the product name and the price.

Step 4: Continue the formula by entering an Ampersand symbol and then selecting the cell containing the price (e.g., cell B2).

Step 5: Press Enter to apply the formula in cell C2, the combined text and number, including a space between the product name and price, will be displayed.

Step 6: Use the autofill handle to copy the formula down to the remaining records. Excel will automatically adjust the cell references for each row.

This method is efficient for combining text and numbers. Be mindful of formatting, especially when combining different data types. Ensure you have spaces, commas, or any other necessary characters in the formula to achieve the desired output.

Using CONCAT Function

The CONCAT function in Excel offers a straightforward solution for merging text and numbers within one cell.

Example 1:

Let's explore this through a simple example where we have "Microsoft" in cell A1 and "Excel" in cell B1:

Step 1: Begin by selecting the empty cell where you want to use the CONCAT function. Enter the Equal sign (=).

Step 2: Type "CONCAT" and either select the CONCAT function from the suggestions list or press the Tab key once "CONCAT" is highlighted.

Step 3: Now, it's time to insert the function's arguments. Since we want to combine data from two cells, we need to specify two arguments. For the first argument, select cell A1, and for the second argument, select cell B1. These selections should be separated by a comma.

Step 4: After pressing Enter, Excel will execute the CONCAT function and combine the values from cells A1 and B1.

Step 5: Notice that there is no space between the merged text. To include a space, add one more argument, which is a space enclosed in double quotation marks. Your function will look like this: =CONCAT(A1, " ", B1).

Result:

Example 2

Let's tackle a more challenging yet exciting example where we'll blend text, numbers, and a touch of creativity in Excel. Picture this: in cell A1, we have the name "John" and in cell B2, we find his age, a youthful 35. Our mission? To craft the final text masterpiece: "John, 35 Years Old".

Step 1: Select the cell where you want the combined result to appear. In our case, we'll select cell C1.

Step 2: Start by entering an equal sign (=) in cell C1 and then type "CONCAT" and select the function in the suggestions below.

Step 3: For the first argument, click on cell A1 and then insert a comma to separate the arguments

Step 4: For the second argument, click on cell B1. Again, type a comma (,) to separate it from the next argument.

Step 5: For the last argument, enter " Years Old" within double quotation marks. This adds the additional text to your combined result.

Step 6: Press Enter to execute the formula, cell C1 will now display the combined result: "John, 25 Years Old".

The CONCAT function is a real game-changer when it comes to seamlessly merging text and numbers in Excel. It's a user-friendly tool that can tackle various combinations with ease. However, it's crucial to be mindful of spacing and special characters when using this method, especially in complex scenarios.

Tip

To avoid potential issues with leading or trailing spaces in your concatenated text, always consider including spaces and special characters as arguments within quotation marks. This practice ensures that your Excel creations remain flawless, even in the face of complexity.

Applying Concatenate Function

Example

Imagine you have "Product A" in cell A1 and the quantity, "10," in cell B1. Your goal is to create a final text that reads "Product A: 10 units." Here's how to do it:

Step 1: Begin by selecting the empty cell where you want to use the CONCATENATE function. Enter the Equal sign (=).

Step 2: Type "CONCATENATE" and either select the CONCATENATE function from the suggestions list or press the Tab key once "CONCATENATE" is highlighted.

Step 3: Now, let's insert the function's arguments. We need to specify three arguments for this task. For the first argument, select cell A1, then add a colon and a space in double quotation marks for the second argument (": "), and finally, for the third argument, select cell B1. These selections should be separated by commas.

Step 4: After pressing Enter, Excel will execute the CONCATENATE function and seamlessly merge the text from cell A1, a colon and space, and the value from cell B1.

The CONCATENATE function in Excel is another valuable tool for combining text and numbers, offering flexibility in data formatting. As you've noted, it operates similarly to the CONCAT function and can be used to join various data types.

Just like with CONCAT, when using CONCATENATE, you may encounter the common challenge of adding spaces or other separators between values to achieve the desired formatting.

Trustpilot

stars

WPS Office- Free All-in-One Office Suite
  • Use Word, Excel, and PPT for FREE, No Ads.

  • Edit PDF files with the powerful PDF toolkit.

  • Microsoft-like interface. Easy to learn. 100% Compatibility.

  • Boost your productivity with WPS's abundant free Word, Excel, PPT, and CV templates.

5,820,008 User

avator

Algirdas Jasaitis
logo

How to Edit Excel, Word, and PowerPoint for Free?

WPS Office is rapidly ascending the ranks to claim its place as a premier office suite, delivering an array of advanced functionalities reminiscent of Microsoft Office. And it's free, granting accessibility to anyone seeking to maximize their productivity potential. With its comprehensive suite of tools, including Presentation, Writer, and Spreadsheet, users can effortlessly harness the full spectrum of productivity tools, enabling you to be as productive as you desire.

Steps to edit Word/Excel/PowerPoint in WPS:

For users who want to start editing their documents using the WPS Office, here are proper steps that can guide them through it:

Edit a Word File:

Step 1: Open the WPS Office suite on your computer and click to open it.

Step 2: In the Side Bar menu,  there is a "Docs" option, click on it. Now open your Word document using WPS Writer.

Step 3: Inside the different tabs of WPS Writer, you'll discover editing tools that empower you to improve the overall attractiveness of your document.

Edit an Excel File:

Step 1: Find the "Sheets" option in the Side Bar menu and then use WPS Spreadsheet to open your Excel document.

Step 2:  Make use of the editing tools found in different tabs within Spreadsheet to improve your Excel document.

Edit a PowerPoint Presentation:

Step 1: Locate the "Slides" option in the Side Bar menu and, using WPS Presentation, open your PowerPoint Presentation.

Step 2: Feel free to utilize the numerous editing tools available in the various tabs of WPS Presentation to improve the quality of your presentation.

FAQs:

Q1. How do you CONCATENATE in Excel and keep the number format?

To seamlessly merge cells in Excel while retaining their original number format, utilize the "&" character. This special character ensures that any formatting applied to the cells remains intact during concatenation.

Q2. How do I split text and numbers in one cell into two?

To achieve the separation of text and numbers within a single cell, follow these steps:

Step 1: Head to the Data tab in Excel.

Step 2: Within the Data Tools group, locate and click on "Text to Columns".

Step 3: This action triggers the Convert Text to Columns Wizard.

Step 4: Opt for the "Delimited" option if it's not already selected and proceed by clicking "Next".

Step 5: Choose the delimiter or delimiters that will determine where the cell content should be split.

Q3. What is the difference between concat and CONCATENATE in Excel?

The CONCAT function in Excel is designed to combine text from various ranges and/or strings. However, it does so without offering delimiter or IgnoreEmpty arguments. It's worth noting that CONCAT replaces the CONCATENATE function, though CONCATENATE remains available for compatibility with earlier Excel versions.

Mastering the Art of Combining Text and Numbers in Excel

In this article, we've explored how to combine text and numbers in one cell in Excel. While this need may not arise frequently, it inevitably surfaces, especially when grappling with intricate datasets. Excel remains an excellent choice for honing this skill. However, don't forget the option of WPS Office, a free and user-friendly alternative boasting nearly identical spreadsheet capabilities. Download WPS Office today for a smoother data-handling experience.

15 years of office industry experience, tech lover and copywriter. Follow me for product reviews, comparisons, and recommendations for new apps and software.