Smart Systems for Home

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

Google Sheets Split Text to Columns Delimiter Guide

· 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

To split text into columns in Google Sheets, highlight the cells you want to divide, click Data in the top menu, and select Split text to columns. A small menu will appear near your selection allowing you to choose a delimiter—such as a comma, semicolon, period, space, or a custom character—which tells Google Sheets exactly where to break the text into new cells. This process is essential for cleaning data, such as separating full names into first and last names or splitting CSV (comma-separated values) data into a readable table format.

What You'll Need

  • A Google account with access to Google Sheets.
  • A dataset where information is combined in a single cell but separated by a consistent character (the delimiter).
  • Empty columns to the right of your data to prevent existing information from being overwritten.

Step-by-Step

  1. Prepare your workspace: Before you begin, look at the columns to the right of the data you intend to split. Because Google Sheets pushes the split data into the adjacent cells, any data currently sitting in those columns will be permanently overwritten. Insert blank columns by right-clicking the column letter at the top and selecting Insert 1 column right for as many segments as you expect the split to create.
  2. Select the data: Click on the cell containing the text you want to split. If you have a whole list, click the first cell and drag your mouse down to highlight the entire range, or click the column letter at the top to select the entire vertical range.
  3. Open the Split tool: Navigate to the top menu bar. Click on Data. From the dropdown menu, select Split text to columns. (Note: Menu labels may vary slightly depending on your browser version or region).
  4. Choose the delimiter: As soon as you click the tool, a small floating menu labeled Separator will appear at the bottom of your selected range. By default, Google Sheets often attempts to Detect automatically, but this is not always accurate. Click the dropdown arrow and choose the specific character that separates your data:
    • Comma: Best for CSV files.
    • Semicolon: Common in European data exports.
    • Period: Used for IP addresses or specific versioning numbers.
    • Space: Ideal for separating first and last names.
    • Custom: If your data is separated by a pipe (|), a dash (-), or a slash (/), select Custom and type that specific character into the text box provided.
  5. Verify the results: Once the delimiter is selected, the text will immediately shift into separate columns. Review the data to ensure no words were split accidentally (for example, a space delimiter splitting a middle name into a third column when you only wanted two).

Common Mistakes

One of the most frequent errors users make is forgetting to clear the space to the right of the target column. If you have a column of "Full Names" in Column A and "Phone Numbers" in Column B, splitting the names will push the last names into Column B, instantly deleting the phone numbers. Always verify that you have enough "breathing room" in your spreadsheet before executing the split.

Another common mistake is using the Detect automatically setting for complex data. While convenient, automatic detection can fail if your data contains a mix of delimiters. For instance, if you have a list of addresses that contain both commas and spaces, Google Sheets might guess the wrong one, leading to a fragmented mess of cells. Manually selecting the delimiter is the only way to ensure 100% accuracy.

Users also frequently try to split data that is not consistent. If some rows use a comma and others use a tab, the Split Text to Columns tool cannot handle both simultaneously. It applies one rule to the entire selection. If your delimiters are inconsistent, you will need to use the Find and Replace tool (Ctrl+H) to standardize all delimiters to one character before splitting.

Tips

For those dealing with massive datasets where you don't want to manually click menus, consider using the SPLIT function. While the Data menu tool is a "one-time" action, the formula =SPLIT(A1, ",") is dynamic. If you change the text in cell A1, the split columns will update automatically. This is far more efficient for templates or dashboards where data is imported frequently.

If you are splitting names and find that some people have middle names (resulting in three columns) and others do not (resulting in two), you can use a helper column. Split the text by the first space only, or use a combination of LEFT and RIGHT functions to maintain a strict two-column structure regardless of the number of spaces in the cell.

When working with Custom delimiters, remember that you can only enter one character. If your delimiter is a phrase or a multi-character string (like " - "), the standard Split Text to Columns tool will not work. In this case, use Find and Replace to change that phrase to a single unique character (like a pipe symbol |) that doesn't appear anywhere else in your data, then split using that custom character.

Troubleshooting

The data didn't split at all: This usually happens because the delimiter you selected does not exactly match the character in the cell. For example, if you selected "Space" but the data is actually separated by a "Tab," nothing will happen. Try selecting "Custom" and copying the exact invisible character from the cell and pasting it into the custom box.

My data disappeared: If you see that some of your information is gone, it is likely because the split pushed data into columns that already had content, overwriting it. Use Ctrl+Z (Undo) immediately to restore your data. Then, insert several blank columns to the right of your data and try the process again.

The split created too many columns: This occurs when your delimiter appears more times than you expected. For example, splitting by "Space" on a cell that contains a full address will create a new column for every single word. To fix this, use a more unique delimiter like a comma, or use the TRIM function first to remove any accidental double-spaces that might be creating empty columns.

The tool is greyed out: Ensure you have actually selected a range of cells. The Split Text to Columns option is only available when a cell or range of cells is active. Also, ensure you are not currently editing a cell (cursor blinking inside the cell); click outside the cell or press Enter before navigating to the Data menu.

Frequently Asked Questions

Can I split text into columns using a formula instead of the menu?

Yes, you can use the =SPLIT(text, delimiter) function. For example, =SPLIT(A2, " ") will split the contents of cell A2 at every space character. This is better for live data that changes often.

Is there a way to split text by a specific number of characters?

The Split Text to Columns tool only works with delimiters. If you need to split text every 5 characters, you must use functions like LEFT, MID, and RIGHT to extract specific segments of the string.

Can I split text into rows instead of columns?

The built-in tool only splits into columns. To split into rows, you can use the =TRANSPOSE(SPLIT(A1, ",")) formula, which flips the horizontal split into a vertical list.

Does this tool work on mobile devices?

The Split Text to Columns menu option is primarily available on the desktop browser version of Google Sheets. Mobile app users generally need to use the =SPLIT formula to achieve the same result.

What happens if a cell doesn't contain the delimiter?

If the delimiter is not found in a specific cell, Google Sheets will simply leave that cell as is and move to the next row. It will not delete the data or throw an error; it just won't split that specific entry.