Split Text in Excel With TEXTSPLIT and Combine It With TEXTJOIN

Video tutorial · 9:11 · Published

About this video

Split cells into columns or rows with TEXTSPLIT, pull out names and email domains with TEXTBEFORE and TEXTAFTER, and join lists with TEXTJOIN, with fixes for common errors.

This tutorial walks through the steps of the full guide on screen; the chapters below jump to each part.

Chapters

  1. 0:00 What this video covers
  2. 0:12 Check your Excel version first
  3. 0:50 Split a cell into columns by comma
  4. 1:47 Split a cell into rows
  5. 2:14 Handle several delimiters and empty values
  6. 3:25 Get first name and last name
  7. 3:59 Extract the email domain and city
  8. 4:47 Combine text with TEXTJOIN
  9. 5:32 Build a conditional list with FILTER
  10. 6:35 Fix #SPILL!, #NAME? and #VALUE!
  11. 7:30 Older Excel: Text to Columns and Flash Fill
  12. 8:25 Recap

Key points

  • TEXTSPLIT splits one cell into columns with col_delimiter or into rows with row_delimiter, and it accepts an array constant such as {",",";"} for several delimiters.
  • TEXTBEFORE and TEXTAFTER extract the text before or after a delimiter, and a negative instance_num counts from the end, which gives the last word of a name.
  • TEXTJOIN joins a range with a delimiter and can skip empty cells, and wrapping FILTER or IF inside it creates a conditional, comma-separated list.
  • TEXTSPLIT, TEXTBEFORE and TEXTAFTER are listed for Excel for Microsoft 365 and Excel 2024 only, so older versions show #NAME? and need Text to Columns or Flash Fill instead.
  • TEXTJOIN and CONCAT return #VALUE! when the result is longer than 32,767 characters, the maximum a cell can hold.

In the full guide

Split and Combine Text in Excel With TEXTSPLIT and TEXTJOIN (Examples) (14 min read, Microsoft 365)

More videos

All EpiFive videos