How to Combine Text and Numbers in Excel Using the & Operator
🔍 WiseChecker

How to Combine Text and Numbers in Excel Using the & Operator

You often need to merge text labels with numerical values in Excel, such as creating a full sentence from a cell. Manually typing these combined results is inefficient and prone to error. The ampersand (&) operator provides a fast way to join, or concatenate, different types of data directly in a formula. This article explains how to use the & operator to combine text and numbers, including how to format the numbers correctly within the result.

Key Takeaways: Combining Text and Numbers in Excel

  • The & operator: Joins text strings, cell references, and numbers into a single text result.
  • TEXT function: Controls the display format of numbers or dates when combined with text.
  • Double quotation marks (" "): Enclose any static text or spaces you want to include in the combined result.

What the & Operator Does in Excel

The ampersand symbol (&) is Excel’s concatenation operator. It links multiple items end-to-end to produce a single text string. You can use it to combine cell references, text you type directly into the formula, and the results of other functions. A key point is that the final output is always text, even if you started with numbers. This means a number combined with text loses its ability to be used in mathematical calculations unless you extract it again.

Before you start, ensure your data is organized. Have the text and numbers you want to combine in separate cells or know the exact text you will type. The basic syntax is =Item1 & Item2 & Item3. Each “Item” can be a cell reference like A1, a number like 100, or text in quotes like “Units”.

Steps to Combine Text and Numbers with &

Follow these steps to create concatenated strings that mix text and numerical values.

  1. Start with a basic formula
    Click the cell where you want the combined text to appear. Type an equals sign (=) to begin the formula. Reference your first text cell or type text in double quotes, then type the & symbol, then reference your number cell. For example, if cell A1 contains “Invoice” and B1 contains 1024, type =A1 & B1. Press Enter. The result will be “Invoice1024”.
  2. Add spacing and descriptive text
    To make the output readable, you must manually add spaces and words. Enclose these elements in double quotation marks. Using the same example, to get “Invoice Number: 1024”, the formula is ="Invoice Number: " & B1. Note the space after the colon inside the quotes. You can also combine elements: =A1 & " Number: " & B1.
  3. Format numbers using the TEXT function
    When you combine a number directly with &, it appears in its raw form without formatting like currency symbols or commas. To control this, nest the number in the TEXT function. The syntax is =TEXT(value, "format_text"). For example, if cell B2 contains 2499.5 and you want it as currency, use ="Total: " & TEXT(B2, "$#,##0.00"). This produces “Total: $2,499.50”.
  4. Combine dates with text
    Dates are stored as numbers in Excel. Combining them directly with & will show the underlying serial number. Always use the TEXT function to format them. If cell C1 contains the date 4/15/2024, use ="Report Date: " & TEXT(C1, "mmmm d, yyyy") to get “Report Date: April 15, 2024”.
  5. Copy the formula down a column
    After entering your formula in the first cell, you can copy it down to apply it to multiple rows. Use the fill handle: select the cell, move your cursor to the bottom-right corner until it turns into a black plus sign, and drag down. The cell references will adjust automatically for each row.

Common Mistakes and How to Avoid Them

Result shows a number without formatting

This happens when you use a cell reference to a number directly with the & operator. The number’s cell formatting is ignored in the concatenated result. You must use the TEXT function to apply the desired format within the formula itself. For example, use TEXT(A1, "0.0%") to display a decimal as a percentage.

Formula returns a #NAME? error

This error often means Excel does not recognize text in your formula because the double quotation marks are missing. Check that any static words or spaces are enclosed in quotes. Also, ensure the ampersand (&) is typed correctly and not a different symbol.

Missing spaces between words in the result

The & operator joins items exactly as specified. It does not automatically add spaces. You must include a space as a separate text string. Add & " " & between elements. For instance, =A1 & " " & B1 will place a space between the contents of the two cells.

Combined date shows as a serial number

As noted, dates require the TEXT function. If your result looks like “45321”, you combined the date cell directly. Wrap the date reference with TEXT and specify a date format code like “mm/dd/yyyy” or “d-mmm-yy”.

& Operator vs. CONCAT and TEXTJOIN Functions

Item & Operator CONCAT / TEXTJOIN Functions
Primary Use Simple joining of a few items Joining ranges of cells or complex strings
Adding Delimiters You must type each delimiter (like a space or comma) manually between items TEXTJOIN can automatically insert a delimiter between all items in a range
Ignoring Empty Cells Shows empty text strings for blank cells TEXTJOIN can be set to ignore empty cells completely
Ease of Use for Ranges Cannot reference an entire range like A1:A10; each cell must be joined individually Can reference a full cell range as a single argument
Formula Length Can become long and repetitive with many items More compact when combining many cells or a list

You can now create clear, formatted labels from your data using the & operator. Remember to use the TEXT function for any numbers where currency, dates, or specific decimal places are needed. For joining long lists of cells, explore the TEXTJOIN function as a next step. A useful tip is to press F2 after selecting a cell to edit the formula and see color-coded references directly on your sheet.