String Words in Excel with an Ampersand: Full Guide
In this article
To string together words in Excel using an ampersand, use the formula =Cell1&Cell2. The ampersand (&) acts as a concatenation operator, which tells Excel to join the contents of two or more cells or text strings into one single continuous string of text. This is the fastest way to merge data from different columns, such as combining a first name and a last name into a full name field.
What You'll Need
- A computer with Microsoft Excel installed (any version from Excel 2007 to the latest Microsoft 365 version).
- A dataset containing the text or values you wish to combine in separate cells.
- A blank column where the combined results will be displayed.
Step-by-Step
- Identify your source cells: Locate the cells containing the text you want to join. For example, if you have a first name in cell A2 and a last name in cell B2, these are your source cells.
- Select the destination cell: Click on the empty cell where you want the combined text to appear (e.g., cell C2).
- Start the formula: Type an equals sign (
=) into the cell. In Excel, every formula must begin with an equals sign to tell the software that the following characters are a calculation and not plain text. - Reference the first cell: Click on the first cell you want to include (A2) or type the cell address manually. Your formula should now look like
=A2. - Insert the ampersand: Type the ampersand symbol (
&). This symbol tells Excel to "glue" whatever comes next to the previous value. - Add a space (Crucial Step): If you are joining words, they will be smashed together without a space unless you manually add one. To add a space, type a double quotation mark, press the spacebar once, and then type another double quotation mark. Your formula should now look like
=A2&" ". - Reference the second cell: Type another ampersand (
&) followed by the second cell reference (B2). The complete formula for a first and last name would be=A2&" "&B2. - Execute the formula: Press the Enter key on your keyboard. The cell will now display the combined text from A2 and B2 with a space in between.
- Apply to the rest of the list: To apply this logic to an entire column, click the small green square (the fill handle) in the bottom-right corner of the cell containing your formula and drag it down to the end of your data range. Excel will automatically adjust the cell references for each row (e.g., A3&" "&B3, A4&" "&B4).
Common Mistakes
One of the most frequent errors users make is forgetting the double quotation marks when adding spaces or punctuation. In Excel formulas, any literal text that is not a cell reference must be enclosed in quotes. If you type =A2& &B2 without quotes around the space, Excel will return a #NAME? error because it thinks the space is a named range or a function it doesn't recognize.
Another common mistake is forgetting the second ampersand when adding a separator. A formula like =A2&" "B2 will result in a syntax error. You must place an ampersand on both sides of the quoted text: one to connect the first cell to the space, and another to connect the space to the second cell.
Users also frequently forget that the result of a concatenation formula is dynamic. If you delete the source data in cell A2, the combined result in cell C2 will change or disappear. Many users expect the combined text to become permanent text immediately, but it remains a formula until it is converted to values.
Tips
To make your data look professional, you can use the ampersand to add labels to your data. For example, if you have a price in cell B2, you can use the formula ="Total Price: "&B2 to create a descriptive label. This is highly useful for creating summary reports or automated emails within a spreadsheet.
If you need to combine more than two cells, you can simply keep adding ampersands. For a full address, you might use =A2&", "&B2&" "&C2 to join a street, city, and zip code, adding a comma and a space where appropriate. There is virtually no limit to how many strings you can chain together using this method.
When dealing with dates or currency, the ampersand method can sometimes strip the formatting. For instance, if cell A2 contains a date, ="Date: "&A2 might display the date as a raw number (e.g., 45123). To fix this, wrap the cell reference in the TEXT function: ="Date: "&TEXT(A2, "mm/dd/yyyy"). This ensures the date remains readable after being strung together.
If you have a very large number of cells to join (e.g., 10 or more), consider using the TEXTJOIN function instead of the ampersand. While the ampersand is perfect for 2-5 cells, TEXTJOIN allows you to specify a delimiter once and select a whole range of cells, saving you from typing dozens of ampersands and quotation marks.
Troubleshooting
If your formula is returning a #VALUE! error, check to ensure you aren't trying to concatenate a cell that contains an error itself. If cell A2 has a #DIV/0! error, any formula that references A2 using an ampersand will also result in an error. Fix the source data first.
If the result looks like the formula itself (e.g., you see =A2&" "&B2 in the cell instead of the combined names), the cell is likely formatted as "Text" instead of "General". To fix this, right-click the cell, select Format Cells, change the category to General, and then double-click the cell and press Enter to re-trigger the calculation.
If you find that the combined text is not updating when you change the source cells, check if your Workbook Calculation is set to Manual. Go to the Formulas tab, click Calculation Options, and ensure "Automatic" is selected. If it is set to Manual, Excel will not update the concatenated strings until you press F9.
If you want to remove the formulas and keep only the final text (so you can delete the original source columns), use the "Paste Values" feature. Copy the cells containing the formulas, right-click on the same cells, and select the Paste Values icon (the one with the "123" on it). This replaces the formula with the actual string of words, making the data static.
Frequently Asked Questions
Can I use the ampersand to join numbers and text?
Yes. Excel automatically converts numbers to text when you use the ampersand operator, allowing you to combine a numeric value from one cell with a word from another without any special conversion formulas.
Is the ampersand method better than the CONCATENATE function?
The ampersand is generally preferred because it is faster to type, easier to read, and more flexible. The CONCATENATE function (and the newer CONCAT function) does the exact same thing but requires more keystrokes and parentheses.
How do I add a line break between words using an ampersand?
You can insert a line break by using the CHAR function. Use the formula =A2&CHAR(10)&B2. For the line break to be visible, you must enable "Wrap Text" in the Home tab of the ribbon for that specific cell.
Can I use an ampersand to combine cells from different worksheets?
Yes. You can reference cells across sheets by including the sheet name. The formula would look like =Sheet1!A2&" "&Sheet2!A2. This is a powerful way to aggregate data from multiple tabs into a single master list.
What happens if one of the cells I am joining is empty?
Excel treats an empty cell as an empty string. If A2 has a value but B2 is empty, the formula =A2&" "&B2 will result in the value of A2 followed by a trailing space. You can use an IF statement to handle empty cells if you want to avoid extra spaces.