Smart Systems for Home

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

Google Sheets Split Text to Columns Formula

· 6 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 has no single SPLIT formula that both splits text and places the results into separate columns automatically. The closest formula is =SPLIT(text, delimiter), which spills results across adjacent cells to the right. For a one-time conversion, use Data > Split text to columns. For a repeatable, formula-driven split, use SPLIT, or combine LEFT, RIGHT, FIND and MID when you need a fixed number of columns or a delimiter that SPLIT cannot handle.

What You'll Need

  • A Google account with access to Google Sheets (desktop browser recommended for the Data menu; mobile apps have limited formula and menu support).
  • Your data in a single column, with a consistent delimiter such as a comma, semicolon, space, pipe, or tab.
  • An empty column to the right of the data, because SPLIT and the Data menu overwrite adjacent cells.

Step-by-Step

  1. Put your text in one column. For example, enter Doe, Jane in cell A2. Keep one record per row and use the same delimiter in every row.
  2. Choose your method. Use the menu for a one-time split, or a formula if the source data will change and you want the split to update automatically.
  3. Menu method: select the range. Highlight the cells you want to split, such as A2:A100. Do not include the header row unless you want it split too.
  4. Open Data > Split text to columns. A small separator box appears near the selected range. Labels can differ slightly by version, device, or region.
  5. Pick the separator. Choose Comma, Semicolon, Period, Space, or Custom. For a pipe character, choose Custom and type |. For a tab, choose Custom and paste a tab character.
  6. Check the preview and confirm. The data splits in place. The original column is replaced, so copy the source column first if you need to keep it.
  7. Formula method: enter SPLIT in an empty cell. In B2, type =SPLIT(A2, ","). The result spills into B2 and C2. Drag the fill handle down or use =ARRAYFORMULA(SPLIT(A2:A100, ",")) to apply it to a whole range.
  8. Handle multiple delimiters. SPLIT accepts an array of delimiters, for example =SPLIT(A2, {",", ";"}). This splits on either a comma or a semicolon.
  9. Split on a line break. Use =SPLIT(A2, CHAR(10)) when cells contain line breaks from pasted text or form responses.
  10. Limit the number of columns. SPLIT has an optional third argument: =SPLIT(A2, ",", FALSE, TRUE). The fourth argument, when TRUE, removes empty cells from the result. Use it carefully, because it shifts columns and can misalign rows.
  11. Extract a fixed field with FIND and MID. If you only need the last name from Doe, Jane, use =TRIM(MID(A2, FIND(",", A2)+1, 100)). For the first name, use =TRIM(LEFT(A2, FIND(",", A2)-1)). These formulas do not spill, so you control exactly which column each result lands in.
  12. Convert formula results to static values if needed. Select the spilled range, copy it, then use Edit > Paste special > Values only. This is useful before deleting the source column or sharing the file with someone who will edit it.

Common Mistakes

  • Forgetting that the menu method overwrites data. Split text to columns replaces the original column. Copy the column to a scratch area first if you need the raw text.
  • Leaving no empty columns to the right. SPLIT spills into adjacent cells and returns a #REF! error if those cells contain data. Clear the area or move the formula.
  • Using the wrong delimiter. A comma inside a quoted field, such as "Doe, Jane", will still split unless you handle quotes separately. SPLIT does not treat quotation marks as text qualifiers.
  • Assuming SPLIT creates fixed columns. If one row has three fields and another has two, the spill range is as wide as the widest row, and shorter rows leave blanks.
  • Mixing data types. Numbers split from text may be stored as text. Use VALUE or multiply by 1 if you need numeric calculations.
  • Dragging a spill formula incorrectly. A single SPLIT formula already spills to the right; dragging it down can create overlapping #REF! errors. Use ARRAYFORMULA for whole-column splits instead.

Tips

  • Use a helper column for the formula, then paste values into your working table. This keeps the original data intact and avoids accidental overwrites.
  • Test on a copy of the sheet first, especially when using the Data menu, because there is no undo-specific split history beyond the normal undo stack.
  • For CSV imports, use File > Import instead of pasting. The import dialog lets you choose the separator before the data lands in the sheet.
  • If your delimiter is a special character, such as a pipe or tilde, choose Custom in the menu and type the character exactly.
  • Use TRIM around extracted text to remove leading spaces left after a delimiter.
  • Keep headers out of the split range. Splitting a header row usually produces odd column names and makes sorting harder.

Troubleshooting

  • #REF! error from SPLIT: The spill range is blocked. Clear the cells to the right or move the formula to a column with enough empty space.
  • Nothing splits with the menu: The separator selected does not match the text. Check for spaces after commas, or choose Custom and enter the exact character.
  • Only part of the text splits: The delimiter appears only in some rows, or the text contains a different character such as a non-breaking space. Use CHAR(160) in a formula to target non-breaking spaces.
  • Numbers become text: Wrap the result in VALUE, or select the column and use Format > Number. If the split came from the menu, the values may already be stored as text.
  • Formula results do not update: Check that the source cell reference is correct and that the sheet is not in manual calculation mode. In Google Sheets, recalculation is automatic unless you changed the setting.
  • Mobile app limitations: The Data > Split text to columns menu may not be available in the same form on the mobile app. Use the desktop browser for the menu method, or enter the SPLIT formula manually on mobile.

Frequently Asked Questions

Is there a single formula that splits text into separate columns?

Yes, =SPLIT(text, delimiter) spills results across columns to the right. It is the closest built-in formula to a split-to-columns action.

Can SPLIT handle more than one delimiter?

Yes. Pass an array such as {",", ";"} as the delimiter argument, and SPLIT will break on either character.

Does SPLIT work with line breaks?

Yes, use CHAR(10) as the delimiter to split on line breaks inside a cell.

Why does SPLIT return a #REF! error?

The cells to the right of the formula are not empty. Clear them or move the formula to a location with enough free columns.

Can I split text without a formula?

Yes. Select the range and use Data > Split text to columns, then choose the separator. This replaces the original column, so copy the data first if you need it.

How do I keep only the first or last part of a split?

Use LEFT, RIGHT, FIND, or MID with a fixed character count. For example, =LEFT(A2, FIND(",", A2)-1) returns everything before the first comma.