Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Google Sheets Split Text by Delimiter: Step-by-Step

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Google Sheets can split text by a delimiter in two ways: the built-in Data > Split text to columns menu, which is fastest for one-off jobs, or the SPLIT function, which is better when you want the result to update automatically. Both work on desktop and in the mobile app, though the menu labels can differ slightly by version, device, or region.

What You'll Need

  • A Google account with access to Google Sheets (free or Workspace).
  • Your data in a single column, with a consistent delimiter such as a comma, semicolon, pipe, space, or slash.
  • At least one empty column to the right of the data if you use the menu method, because the split results overwrite whatever is there.

Step-by-Step

Method 1: Split text to columns (best for a one-time split)

  1. Open your spreadsheet and click the column header that contains the text you want to split. If you only want part of the column, select just those cells instead.
  2. Go to Data in the top menu.
  3. Choose Split text to columns.
  4. A small separator box appears near the bottom of the selected range. Click it and choose the delimiter: Comma, Semicolon, Period, Space, or Custom.
  5. If you choose Custom, type the exact character in the box (for example | or -). Only one character is allowed.
  6. Check the preview. The data should fan out across the columns to the right. Click outside the box to confirm.
  7. Make sure the columns to the right were empty before you started. If they weren't, the split has overwritten them, and you'll need to undo with Ctrl+Z (Windows/ChromeOS) or Cmd+Z (Mac) and move the data first.

Method 2: The SPLIT function (best for live, repeatable splits)

  1. Click an empty cell where you want the first split value to appear, usually one column to the right of the source.
  2. Type =SPLIT(A2, ",") and press Enter. Replace A2 with your source cell and "," with your delimiter in quotes.
  3. The formula spills across as many columns as needed. Each piece lands in its own cell automatically.
  4. Drag the fill handle down to apply the formula to the rest of the column, or wrap it in ARRAYFORMULA to fill the whole column at once, for example =ARRAYFORMULA(SPLIT(A2:A, ",")).
  5. If a piece is missing, the delimiter probably doesn't match exactly. Check for trailing spaces or a different character (a semicolon instead of a comma, for instance).

Method 3: Split by a multi-character delimiter

  1. The Split text to columns menu only accepts one character, so for something like || or - , use the SPLIT function instead.
  2. Type =SPLIT(A2, "||") with the full delimiter in quotes.
  3. If the delimiter contains special regex characters, such as |, ., or *, you may need to escape them or use REGEXREPLACE first to normalise the text, then split on a simple character.

Common Mistakes

  • Overwriting neighbouring data. The menu method writes into the cells to the right without warning. Always check those columns are empty first.
  • Using the wrong delimiter. A comma and a semicolon look similar in a spreadsheet but are different characters. If the split does nothing, the delimiter is probably wrong.
  • Forgetting that SPLIT returns an array. You can't edit a single spilled cell; you must edit the formula in the top-left cell of the spill range.
  • Leaving the source column in place. After splitting, the original column still contains the combined text. Delete or hide it once you've confirmed the split is correct.
  • Expecting the menu to handle multi-character delimiters. It only accepts one character; use SPLIT for anything longer.

Tips

  • Make a copy of the sheet before a big split (right-click the tab > Duplicate) so you can compare results.
  • Use TRIM around your source, e.g. =SPLIT(TRIM(A2), ","), to remove stray spaces that would otherwise end up in the split values.
  • If you need the pieces in a specific order or want to recombine them, use INDEX on the SPLIT result, e.g. =INDEX(SPLIT(A2, ","), 1, 2) for the second piece.
  • For text that may contain the delimiter inside quotes (like a CSV address field), the menu method can mis-split. Import the file with File > Import and choose the comma separator there instead, which handles quoted fields correctly.
  • Keep a backup of the original column in a hidden sheet until you're sure the split is clean.

Troubleshooting

  • Nothing happens when I click Split text to columns. Make sure you selected cells, not just clicked inside one. Select the whole column or a range first.
  • The split puts everything in one cell. The delimiter in the box doesn't match the text. Try Custom and type the exact character.
  • I get a #REF! error. The SPLIT formula is trying to spill into cells that already contain data. Clear the cells to the right, or move the formula to an empty area.
  • The split looks right but numbers are treated as text. Select the new columns and use Format > Number to convert them.
  • I accidentally overwrote data. Press Ctrl+Z or Cmd+Z immediately. If you've closed the sheet, use File > Version history > See version history to restore an earlier copy.
  • The mobile app doesn't show the menu option. The Data menu is limited on mobile. Use the SPLIT function instead, or open the sheet on a computer.

Frequently Asked Questions

Can I split text by more than one delimiter at once?

Not directly. The menu takes one character, and SPLIT takes one delimiter string. To handle several, run REGEXREPLACE first to convert them all to a single character, then split on that character.

Does SPLIT work on numbers as well as text?

Yes. SPLIT converts the input to text, so numbers split fine. The results may be formatted as text, so reformat the columns if you need numeric calculations.

Will the split update if I change the original cell?

Only with the SPLIT function. The menu method is a one-time operation; if the source changes, you must split again.

Can I undo a split?

Yes, with Ctrl+Z or Cmd+Z straight away. If you've closed the sheet, restore from File > Version history. The original column is not deleted by the split, so you can also rebuild from it.

Why does SPLIT return a #VALUE! error?

Usually because the delimiter is empty or the formula is missing quotes around it. Check that both arguments are present and the delimiter is in quotation marks.

Does split text to columns work in the Google Sheets mobile app?

The Data menu on mobile is more limited than on desktop. If you don't see the option, use the SPLIT function, which works in the mobile app, or open the sheet on a computer.