To insert text into an Excel formula, put the text inside double quotation marks and join it to cell references or other values with the ampersand (&) operator or the CONCAT and TEXTJOIN functions. For example, ="Total: "&A2 displays the word Total followed by whatever sits in cell A2. That is the whole trick: quoted text is treated as literal characters, so Excel prints it exactly as typed instead of searching for a cell with that name. Once you understand that rule, the rest of the work is knowing which function to reach for, how to keep numbers and dates looking right, and how to avoid the small formatting traps that make joined text display oddly.
What You'll Need
- Excel on Windows, Mac, or Excel for the web. The formulas below work the same across all three.
- A worksheet with the cells you want to reference already containing data.
- Knowledge of US keyboard layout for double quotes; on some non-US layouts the quote key sits elsewhere (see Common Mistakes).
- Optional: the TEXT function if you plan to merge dates, times, or numbers that require fixed decimals.
Step-by-Step
- Pick the cell for your output. Click an empty cell where the joined text should appear. Leave at least one empty column beside your source data so a result does not overwrite an existing value.
- Start the formula with an equals sign. Type
=so Excel knows you are entering a formula rather than plain text. Everything after this point is evaluated. - Add your literal text inside quotes. Type the characters you want to appear, wrapped in double quotation marks. A leading space is often useful:
="Total: ". Without the space, the word runs directly into the next value. - Append a cell reference with an ampersand. Type
&and then the cell address, for example="Total: "&B2. Press Enter. Excel now shows the label followed by the value in B2, and the result updates automatically when B2 changes. - Chain more pieces if needed. Continue adding
&text or&references:="Total: "&B2&" units"produces something like Total: 48 units. Order matters, since Excel reads left to right. - Join a whole range with TEXTJOIN. When you want many cells separated by a delimiter, use
=TEXTJOIN(", ", TRUE, A2:A10). The first argument is the separator, the second tells Excel whether to ignore empty cells (TRUE skips them), and the third is the range. This lives in modern Excel; if your copy shows#NAME?, your version predates it. - Schedule text correctly before it becomes a number. If you need a date inside text, wrap the reference:
="Due "&TEXT(C2,"mmmm d, yyyy")returns Due March 5, 2026. Plain concatenation of a date usually returns its underlying serial number instead of the readable date. - Copy the formula down. Drag the fill handle at the bottom-right corner of the cell, or select the cell and press Ctrl+D (Windows) or Cmd+D (Mac) to fill the selection. Relative references adjust per row, which is usually what you want.
- Convert to values if you need to freeze the output. Select the result cells, copy them (Ctrl+C or Cmd+C), then use Paste Special and choose Values. This replaces live formulas with static text you can safely move or edit. Save the original formulas elsewhere first if you may need to recalculate.
Common Mistakes
- Forgetting the quotes.
="Total: "works, but=Total:&B2triggers an error or a circular reference because Excel looks for a defined name called Total. - Using smart quotes. Typing curly quotation marks copied from a document produces
#NAME?errors. Retype the quotes with the standard straight double quote key. - Missing the separator space.
="Customer"&B2yields CustomerJane. Add a space inside the first quoted string:="Customer ". - Quoting a reference.
="B2"returns the text B2, not the value. Only literal characters belong in quotes. - Losing leading zeros. Concatenating a number cell drops formatting, so 007 becomes 7. Use
TEXT(A2,"000")instead. - Overlooking the 255-character limit per text argument in TEXTJOIN and CONCAT. If your input strings are long, build the result in several cells and join them in a final step.
Tips
- Use
CHAR(10)inside your formula to insert a line break, then turn on Wrap Text on the Home tab so the break actually shows. - Use
UNICHARfor symbols such as a bullet or check mark when you want visual separation without an image. - Store repeated labels in a dedicated cell and reference it rather than retyping the text; changing the label once updates every formula.
- Press F9 while a portion of a formula is selected in the formula bar to see its current value — handy for spotting what a nested TEXT call actually returns.
- Name your cells (Formulas tab > Define Name) so formulas read like
="Subtotal: "&Subtotalinstead of a string of raw addresses. - Keep delimiter choices consistent. Mixing commas and semicolons across formulas makes audits difficult later.
Troubleshooting
If the cell displays #NAME?, the most likely cause is a curly quote, an unquoted word, or a function your version does not support. Retype the quotes and confirm the function spelling. If you see #VALUE!, check that every ampersand has a value on both sides and that you have not accidentally left a stray operator at the end.
If the result looks correct but the date says 45356, remember Excel stores dates as serial numbers; wrap the reference in TEXT with the format you want. If numbers lose decimals, apply the same fix with a format string such as TEXT(A2,"0.00").
If the formula shows as text rather than calculating, the cell is probably formatted as Text. Select it, open Format Cells (Ctrl+1), choose General, then re-enter the formula by pressing F2 and Enter. If a formula works in one row but fails when filled down, check whether you used absolute references ($B$2) where relative ones were needed, or vice versa.
If TEXTJOIN is unavailable on an older copy of Excel, fall back to CONCAT or chain ampersands manually. If the joined text overflows its cell, widen the column or turn on Wrap Text; the underlying value is complete either way.
Frequently Asked Questions
Can I insert text in the middle of a cell's existing content?
Not with a simple formula, because formulas replace a cell's value rather than editing it in place. Use REPLACE, for example =REPLACE(A2,4,0,"-NEW-"), which inserts at position 4 without removing characters because the length argument is zero.
What is the difference between & and CONCAT?
The ampersand joins individual pieces you list. CONCAT joins a range but cannot apply a delimiter between items. TEXTJOIN is the one that adds separators.
Why does my formula show the formula itself as text?
The cell is formatted as Text, or the formula is missing the opening equals sign. Reformat the cell to General and re-enter the formula.
Can I include a double quote inside my text?
Yes — escape it by doubling it. To show the word Say "hi", write ="Say ""hi""".
Does inserting text this way change the source data?
No. The formula only reads the referenced cells; the originals stay untouched until you edit them.
Can I insert the current date automatically?
Use =TEXT(TODAY(),"yyyy-mm-dd") in the joined string. TODAY refreshes each time the workbook recalculates, so the date will change tomorrow.