Google Sheets Split Text to Rows: Step-by-Step Guide
In this article
Google Sheets can split text into separate rows in two ways: the built-in Split text to columns feature (which splits into columns, not rows) and a formula-based approach using SPLIT combined with TRANSPOSE to produce a vertical list. If you have a cell containing a comma-separated list and you want each item on its own row, the quickest reliable method is to use a helper formula like =TRANSPOSE(SPLIT(A1, ",")) in a nearby cell, then copy the result and paste it as values. For a one-off manual job, you can also use Data > Split text to columns to split horizontally, then copy and use Paste special > Transpose to flip the columns into rows. This guide covers both routes, plus common pitfalls and fixes.
What You'll Need
- A Google account and access to Google Sheets (desktop browser recommended for the menu steps; mobile apps have limited menu options).
- Your source data in a single column, with a consistent delimiter (comma, semicolon, space, or line break) separating the items you want on separate rows.
- An empty area of the sheet (or a new sheet tab) to hold the split output, so you do not overwrite existing data.
Step-by-Step
- Open your sheet and locate the source cell. Click the cell that contains the delimited text, for example
apples, bananas, cherries. Note the exact delimiter — a comma followed by a space is common, but semicolons and line breaks also appear. - Choose a destination cell for the formula. Click an empty cell to the right of your data or on a new sheet tab. This is where the first split item will appear; the rest will fill downward.
- Enter the TRANSPOSE + SPLIT formula. Type
=TRANSPOSE(SPLIT(A1, ","))and press Enter. ReplaceA1with your actual source cell reference. TheSPLITfunction breaks the text at each comma into a horizontal array;TRANSPOSEflips that array so each item lands on its own row. - Check the delimiter argument. If your data uses semicolons, use
=TRANSPOSE(SPLIT(A1, ";")). For line breaks inside a cell, use=TRANSPOSE(SPLIT(A1, CHAR(10))). The delimiter must be in double quotes. - Convert the formula result to static values (optional but recommended for one-off jobs). Select the cells containing the formula output, press
Ctrl+C(orCmd+Con Mac), then right-click the same area and choose Paste special > Paste values only. This removes the formula so you can delete the original source cell without breaking the output. - Alternative manual method: split to columns first. Select the source column, then go to Data > Split text to columns. In the small separator box that appears, choose your delimiter (Comma, Semicolon, Space, or Custom). The text splits across adjacent columns.
- Transpose the split columns into rows. Select the newly split cells, copy them, then right-click a destination cell and choose Paste special > Transpose. The horizontal items become a vertical list. Delete the original column if no longer needed.
- Clean up and verify. Check for leading or trailing spaces in each row (use
TRIMin a helper column if needed). Confirm no rows were skipped and that the order matches the original list.
Common Mistakes
- Using the wrong delimiter. A comma with a space (
,) is not the same as a comma alone. If items still appear joined, the delimiter in your formula does not match the actual character in the cell. - Forgetting TRANSPOSE.
SPLITalone returns a horizontal array across columns. WithoutTRANSPOSE, the items will not stack vertically. - Overwriting adjacent data. The formula output spills into cells below and to the right. If those cells contain data, you will see a
#REF!error. Clear the area first. - Pasting formulas instead of values. If you copy the formula cells and paste normally, the references may shift and produce wrong results. Use Paste special > Paste values only when you want a static list.
- Assuming mobile has the same menus. The Google Sheets mobile app does not offer the full Data > Split text to columns workflow in the same way as the desktop browser. Use a desktop browser for the menu-based method.
Tips
- Use
ARRAYFORMULAif you need to split an entire column of cells at once:=ARRAYFORMULA(TRANSPOSE(SPLIT(JOIN(",", A1:A10), ",")))— but test on a copy first, as joining and splitting can reorder or merge items unexpectedly. - Wrap the source reference in
TRIMinside the formula, e.g.=TRANSPOSE(SPLIT(TRIM(A1), ",")), to remove stray spaces before splitting. - If your list uses a line break inside one cell (Alt+Enter on Windows, Ctrl+Enter on Mac), split with
CHAR(10)rather than a comma. - Keep a backup copy of the original column before splitting, in case you need to redo the operation with a different delimiter.
- For repeated jobs, consider Data > Split text to columns on a duplicate column so the original stays intact.
Troubleshooting
The formula returns #REF! or spills into occupied cells. Clear the cells below and to the right of the destination cell, or move the formula to an empty area. The output needs room to expand.
Items are not splitting at all. The delimiter in your formula does not match the actual character. Check whether the cell uses a comma, semicolon, pipe, or line break. Copy one delimiter character from the cell and paste it into the formula to be sure.
Extra blank rows appear. This happens when the source text has two delimiters in a row (e.g., a,,b). Remove double delimiters in the source or filter out blanks after splitting.
The split worked but the order is reversed or scrambled. TRANSPOSE preserves order, so scrambling usually means the source cell itself had items in a different order than expected. Re-check the original text.
Menu option is greyed out or missing. Split text to columns requires a single column selection and does not work on formulas that return arrays. Paste the formula result as values first, then try the menu.
Mobile app does not show the Data menu. Use a desktop browser for the menu-based split. On mobile, you can still type the TRANSPOSE(SPLIT(...)) formula manually in the formula bar.
Frequently Asked Questions
Can Google Sheets split text into rows directly?
Not with a single built-in menu command. The Split text to columns feature splits horizontally into columns. To get rows, combine SPLIT with TRANSPOSE in a formula, or split to columns and then use Paste special > Transpose.
What is the difference between SPLIT and TEXTSPLIT?
SPLIT is the older function that splits by a single delimiter and returns a horizontal array. TEXTSPLIT is a newer function that can split by row and column delimiters at once. Availability varies by account and region; if TEXTSPLIT is not recognised, use SPLIT with TRANSPOSE.
How do I split a cell by line break into rows?
Use =TRANSPOSE(SPLIT(A1, CHAR(10))). CHAR(10) represents the line break character inside a cell. Make sure the cell actually contains line breaks (created with Alt+Enter or Ctrl+Enter), not just wrapped text.
Why does my SPLIT formula show a #REF! error?
The output is trying to expand into cells that already contain data. Clear the cells below and to the right of the formula, or move the formula to an empty sheet area.
Can I split text to rows without a formula?
Yes, for one-off jobs: use Data > Split text to columns to split horizontally, then copy the result and use Paste special > Transpose to flip it into rows. This is a manual, static result — it will not update if the source changes.
Does splitting text to rows work in the Google Sheets mobile app?
The mobile app does not expose the same Data > Split text to columns menu. You can type the TRANSPOSE(SPLIT(...)) formula manually in the formula bar, but the menu-based workflow is best done in a desktop browser.