To concatenate text from multiple rows in Excel, use TEXTJOIN or CONCAT with a range reference to combine values vertically into a single cell, either with or without a delimiter.
What You'll Need
- Microsoft Excel (2016 or later for TEXTJOIN; any version for CONCATENATE/CONCAT)
- A column or range of cells containing the text you want to combine
- Basic familiarity with Excel formulas and cell referencing
Step-by-Step
- Select the cell where you want the concatenated result to appear.
- If using Excel 2016 or later, type =TEXTJOIN(" ", TRUE, A1:A10) to join cells A1 through A10 with a space, ignoring blanks. Replace " " with any delimiter (like ", " or "-") or use "" for no delimiter. Adjust the range (A1:A10) to match your data.
- If using an older version of Excel, use =CONCATENATE(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10) or the newer =CONCAT(A1:A10) (available in Excel 2019 and Microsoft 365) to combine the range without a delimiter. Note: CONCAT does not support delimiters or ignoring blanks.
- To add a delimiter in older versions, manually include it between each cell: =CONCATENATE(A1," ",A2," ",A3," ",A4," ",A5," ",A6," ",A7," ",A8," ",A9," ",A10).
- Press Enter to calculate the formula. The result will appear in the selected cell.
- To apply the same logic to other columns, drag the fill handle (small square at the cell’s bottom-right) horizontally or copy the formula to other cells.
- For dynamic ranges that grow or shrink, consider using a Table (Insert > Table) and structured references like =TEXTJOIN(" ", TRUE, Table1[Column1]) so the formula adjusts automatically when data is added.
Common Mistakes
- Using CONCATENATE with a range like A1:A10 directly — this does not work in older Excel versions; you must list each cell individually or use CONCAT/TEXTJOIN.
- Forgetting to set the second argument in TEXTJOIN to TRUE to ignore blank cells, which can result in extra delimiters.
- Using quotation marks incorrectly — ensure delimiters are inside double quotes and formula quotes are straight (" "), not curly (“ ”).
- Assuming CONCAT works like TEXTJOIN — it does not ignore blanks or accept delimiters.
- Not updating the range when adding new rows, leading to incomplete concatenation.
Tips
- Use TEXTJOIN whenever possible — it’s the most flexible and modern option for combining ranges with delimiters and blank handling.
- To create line breaks within the result, use CHAR(10) as the delimiter: =TEXTJOIN(CHAR(10), TRUE, A1:A10), then enable Wrap Text (Home > Wrap Text) to see the lines.
- If you need to concatenate based on a condition (e.g., only rows where column B says "Yes"), use TEXTJOIN with FILTER: =TEXTJOIN(" ", TRUE, FILTER(A1:A10, B1:B10="Yes")).
- For debugging, use Evaluate Formula (Formulas > Evaluate Formula) to see how Excel processes each part of the formula.
- Always verify results with a small test range before applying to large datasets.
Troubleshooting
- If you see a #NAME? error, check that you’re using a function available in your Excel version — TEXTJOIN requires 2016 or later, CONCAT requires 2019 or Microsoft 365.
- If the result shows the formula instead of the value, the cell may be formatted as Text. Change the format to General or Number (Home > Number Format > General), then press F2 and Enter to recalculate.
- If blank cells are causing unwanted delimiters, ensure the second argument in TEXTJOIN is TRUE.
- If data appears missing, double-check the range — ensure it includes all intended rows and that no rows are hidden or filtered out unintentionally.
- If copying the formula down doesn’t adjust the range, you may have used absolute references (like $A$1:$A$10). Remove the dollar signs to make it relative, or use a Table for automatic expansion.
- For very large ranges causing performance issues, consider limiting the range to only used cells or using Power Query for complex concatenation tasks.
Frequently Asked Questions
Can I concatenate rows from different worksheets?
Yes, by referencing each sheet in the formula: =TEXTJOIN(" ", TRUE, Sheet1!A1:A10, Sheet2!A1:A10). Ensure all ranges are the same size if combining vertically, or adjust as needed.
Will the concatenated result update automatically if I change the source data?
Yes, as long as the formula references live cells and not static values. Changes to the source cells will trigger a recalculation.
Is there a limit to how much text I can concatenate?
Excel cells can hold up to 32,767 characters. If your concatenated result exceeds this, you’ll see a truncation or error — consider splitting the output or using alternative methods.
Can I use concatenation in data validation or conditional formatting?
Not directly in the input, but you can use concatenated values in formulas for conditional formatting rules or data validation criteria by referencing the result cell.
What’s the difference between CONCATENATE, CONCAT, and TEXTJOIN?
CONCATENATE is older and requires individual cell references. CONCAT (newer) accepts ranges but lacks delimiter and blank-ignore options. TEXTJOIN is the most advanced, supporting both delimiters and blank control.
Do I need to worry about leading or trailing spaces in my data?
Yes — extra spaces can affect the result. Use TRIM inside TEXTJOIN if needed: =TEXTJOIN(" ", TRUE, TRIM(A1:A10)) to clean each cell before joining.