Google Sheets Split Data into Columns: How-To

How-to basics · Updated November 23, 2026

Yes, Google Sheets can split data into columns, and the fastest way is to use the built-in Split text to columns feature. Select the column with your data, go to Data > Split text to columns, and choose a separator (like comma, space, or custom). You can also use the SPLIT() function for more control, or formulas like LEFT(), RIGHT(), and MID() when the data isn’t cleanly separated by a single character.

Why You Might Need to Split Data

Spreadsheets often end up with too much information crammed into one cell. Common examples include full names (“John Smith” should be first and last name), addresses (“123 Main St, Springfield, IL”), or product codes (“SKU-2024-RED”). Splitting this data into separate columns makes it sortable, filterable, and usable in pivot tables. For instance, if you have a list of email addresses and want to sort by domain, splitting on “@” gives you the username and domain as separate columns. Without splitting, you’d have to manually retype or use complex formulas for every analysis.

Method 1: Split Text to Columns (Menu Option)

This is the simplest approach for one-time or occasional splits. It works directly on the selected data and overwrites the original column (unless you insert new columns first).

  1. Select the column (or range) containing the data you want to split.
  2. Go to Data > Split text to columns.
  3. A small menu appears at the bottom of your selected range. By default, Sheets tries to detect the separator automatically. If it guesses wrong, click the dropdown and choose a separator: Comma, Semicolon, Period, Space, or Custom.
  4. The data splits immediately into adjacent columns to the right. If those columns already contain data, Sheets will ask you to replace them or insert new ones.

For a custom separator (like a pipe | or a word like “and”), choose Custom from the dropdown and type your delimiter. You can also use a regular expression as a custom separator—for example, splitting on any digit with [0-9]—which is powerful but can be tricky if you’re not familiar with regex.

Method 2: The SPLIT Function

If you need a dynamic split that updates when the original data changes, use the SPLIT() function. It’s a real Google Sheets function (not available in Excel). The syntax is:

=SPLIT(text, delimiter, [split_by_each], [remove_empty_text])

Assuming your data is in A2, and you want to split by comma, enter this in B2:

=SPLIT(A2, ",")

This returns the pieces horizontally across columns B, C, D, etc. The third argument (split_by_each) defaults to TRUE, meaning each character in the delimiter is treated separately. If you set it to FALSE, then the entire delimiter string must match. For example, to split on “ and ” (with spaces), use:

=SPLIT(A2, " and ", FALSE)

If your data has a variable number of parts, SPLIT will spill into as many columns as needed. To limit the number of splits, wrap it in ARRAY_CONSTRAIN or use INDEX to grab just the first piece. For instance, to get only the first name from “John Smith” in A2:

=INDEX(SPLIT(A2, " "), 1, 1)

That returns “John”. The function is case-sensitive with delimiters, so “and” won’t match “And”.

Method 3: Using LEFT, RIGHT, and MID for Fixed Positions

When your data doesn’t have a consistent delimiter—say, product codes where the first 3 characters are the category and the rest is the number—you need position-based extraction. Google Sheets has LEFT(), RIGHT(), and MID() (Excel has these too, with the same syntax).

Assume A2 contains “ABC12345”. To get the first 3 characters:

=LEFT(A2, 3)

That returns “ABC”. To get the last 5 characters:

=RIGHT(A2, 5)

That returns “12345”. To get characters 4 through 6 (i.e., starting at position 4, length 3):

=MID(A2, 4, 3)

That returns “123”. These formulas are static—they don’t change if the source cell changes length. If your data varies in length, you’ll need to combine them with LEN() or SEARCH() to find positions dynamically. For example, to extract the first name from “John Smith” without knowing the length, find the space:

=LEFT(A2, SEARCH(" ", A2) - 1)

That returns “John”. To get the last name:

=RIGHT(A2, LEN(A2) - SEARCH(" ", A2))

That returns “Smith”. These are real formulas that work in both Sheets and Excel.

Choosing the Right Method

Your choice depends on three factors: whether the data is consistent, whether you need live updates, and whether you’re okay overwriting original data.

  • Use Split text to columns when you have a one-time cleanup task and the delimiter is consistent (e.g., every cell has a comma). It’s fast and doesn’t require formulas.
  • Use SPLIT() when the source data will change and you want the split columns to update automatically. This is ideal for imported feeds or user-entered data.
  • Use LEFT/RIGHT/MID when the data has a fixed structure (like dates in YYYYMMDD format) or when the delimiter isn’t reliable (e.g., some cells have spaces, others don’t).

A common mistake is splitting data that has multiple delimiters inconsistently—for example, “John Smith” and “Jane A. Doe”. A simple space split gives you three columns for the second name. In that case, you might need a more advanced approach like REGEXEXTRACT or manual cleanup.

Common Problems and Solutions

Here are the frequent issues people run into, with fixes that actually work.

  • Data overwrites existing columns: If you have values to the right of your split range, Sheets will warn you. To avoid losing data, insert blank columns first (right-click the column letter > Insert 1 left) or move your data.
  • Split doesn’t recognize the delimiter: Sometimes Sheets auto-detects incorrectly. Manually select the separator from the dropdown. For a tab or line break, choose Custom and paste the character (you can copy a tab from another cell).
  • Trailing spaces or empty cells: If your data has extra spaces around delimiters, the split columns may include leading/trailing spaces. Use =TRIM(SPLIT(A2, ",")) to clean them, or use the menu option and then apply Trim Whitespace from the Data menu.
  • SPLIT returns an error for empty delimiters: If a cell is empty, SPLIT returns an empty string, which is fine. But if you try to split a cell with no delimiter, it returns the whole text as one piece—that’s expected.
  • Numbers become text: After splitting, numeric values may be treated as text (left-aligned). To convert them back to numbers, multiply by 1 or use =VALUE(). For example, =VALUE(SPLIT(A2, ",")) works if all pieces are numbers.

Split vs. Other Tools (Excel Comparison)

Google Sheets’ Split text to columns is similar to Excel’s Text to Columns (Data tab > Text to Columns). The key difference is that Excel’s version is a wizard and can split into separate columns or rows, and it can also convert data types (like dates). Google Sheets’ version is simpler and doesn’t offer row splitting. For dynamic splitting, Excel uses TEXTSPLIT() (available in Excel 365 and 2024), which works like SPLIT() but with slightly different syntax—it uses =TEXTSPLIT(A1, ",") and can split into rows with a second argument. If you’re moving between the two, note that SPLIT() doesn’t exist in Excel, and TEXTSPLIT() doesn’t exist in Google Sheets. For fixed-position extraction, LEFT, RIGHT, and MID work identically in both. Also, Excel’s Flash Fill (Data tab > Flash Fill) can split data without formulas, but Google Sheets doesn’t have an equivalent built-in feature—you’d use the menu split or formulas.

Frequently Asked Questions

Can I split data into rows instead of columns?

Yes, but not with the menu option. Use the TRANSPOSE() function combined with SPLIT(). For example, =TRANSPOSE(SPLIT(A1, ",")) will put each piece into a separate row below the formula. This works because SPLIT returns a horizontal array, and TRANSPOSE flips it vertically. There’s no built-in “split to rows” menu command in Google Sheets.

How do I split by multiple delimiters at once?

Use a regular expression as a custom separator in the menu, or use SPLIT with split_by_each set to TRUE (the default). For example, to split on commas, semicolons, or spaces, choose Custom and type [,; ]. That regex matches any comma, semicolon, or space. Alternatively, you can nest SPLIT: =SPLIT(SUBSTITUTE(A1, ";", ","), ",") to first replace semicolons with commas, then split.

Why is my SPLIT function not working?

Check three things: the delimiter is spelled correctly and is case-sensitive, the cell actually contains that delimiter (look for trailing spaces), and you haven’t used a delimiter that’s a regex special character like a period or question mark. For a period, use SPLIT(A1, ".")—that works because the period is treated literally by default. If you’re using a custom separator with regex, escape special characters with a backslash, like \. for a literal period.

Does splitting affect the original data?

With the menu option, yes—it overwrites the original column with the first part, and puts the rest in adjacent columns. If you want to keep the original, copy the column first (right-click > Copy, then paste into a new column). With the SPLIT function, the original stays intact because the function writes to new cells only. The function is non-destructive, which is usually safer.

Can I split data in Google Sheets on my phone?

Yes, the Google Sheets mobile app has the same Split text to columns option. Select the column, tap the three-dot menu (or the “Data” option depending on your version), and choose Split text to columns. The separator options are the same. The SPLIT function also works on mobile, but typing formulas on a phone is slower, so the menu is often easier.

What if I have a huge dataset (100,000 rows)?

The menu split can handle large ranges, but it may take a few seconds. The SPLIT function works fine too, but if you have 100,000 rows, you’ll want to use ARRAYFORMULA to apply it to the whole column at once. For example, with data in A2:A100001, put this in B2:

=ARRAYFORMULA(SPLIT(A2:A100001, ","))

That will spill results across columns. Note that SPLIT inside ARRAYFORMULA works, but if any row has a different number of delimiters, you’ll get #N/A errors. A safer approach is to use the menu split for large static datasets, as it handles variable lengths gracefully by leaving blanks.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.