Google Sheets Split Cell Into Rows: How-To

How-to basics · Updated November 23, 2026

Yes, you can split a cell into rows in Google Sheets using the SPLIT function combined with TRANSPOSE, or by using the built-in “Split text to columns” feature and then transposing the result. The most direct method is entering =TRANSPOSE(SPLIT(A1, ",")) in a cell, which turns a comma-separated list in A1 into separate rows.

Why Split a Cell into Rows?

Spreadsheets often arrive with data crammed into a single cell—tags, product lists, or survey responses separated by commas, semicolons, or line breaks. While splitting into columns is common, you frequently need the opposite: each item on its own row for filtering, charting, or using in a pivot table. For example, a cell containing “Apples, Bananas, Cherries” is useless for a VLOOKUP, but as three rows it becomes a proper dataset.

Method 1: Using SPLIT and TRANSPOSE (Dynamic)

The cleanest approach uses two functions together. SPLIT divides text into separate cells horizontally; TRANSPOSE flips that row into a column. Here’s how:

  1. Assume your data is in cell A1, e.g., Red, Green, Blue.
  2. In cell C1 (or anywhere), type: =TRANSPOSE(SPLIT(A1, ","))
  3. Press Enter. The result appears in C1, C2, C3 as “Red”, “Green”, “Blue”.

The delimiter can be a comma, semicolon, space, or even a line break. For line breaks, use =TRANSPOSE(SPLIT(A1, CHAR(10))) because CHAR(10) is the newline character. This formula is dynamic—if you change A1, the rows update automatically.

Method 2: Split Text to Columns + Transpose (Static)

If you prefer a one-time conversion without formulas, use the menu:

  1. Select the cell or column with your data.
  2. Go to Data > Split text to columns.
  3. Choose a separator (comma, semicolon, custom) from the small dropdown that appears.
  4. The data splits into adjacent columns.
  5. Select the range of split columns, copy (Ctrl+C or Cmd+C), right-click a new cell, choose Paste special > Transpose.

This pastes the columns as rows. The downside: it’s static—if the original changes, you must repeat the process. Also, it overwrites the original cell, so copy the data first if you need to keep it.

Method 3: Using FLATTEN for Multiple Cells

What if you have several cells, each containing a list, and you want all items in one single column? Use FLATTEN combined with SPLIT. For instance, with A1=”a,b” and A2=”c,d”, enter:

=FLATTEN(SPLIT(A1:A2, ","))

This returns a vertical array: a, b, c, d. FLATTEN works in Google Sheets (not in Excel). Note that SPLIT with an array input produces a grid, and FLATTEN stacks each element into one column. This is powerful for cleaning messy datasets.

How to Choose the Right Method

  • Dynamic updates needed? Use the TRANSPOSE/SPLIT formula.
  • One-time cleanup? Use Split text to columns + Paste special.
  • Multiple source cells? Use FLATTEN with SPLIT.
  • Need to preserve original cell? Use a formula in a new column.
  • Data has inconsistent delimiters? Use SPLIT with a regex or clean data first.

Common Problems and Fixes

Problem: SPLIT only returns the first item. Fix: Ensure the delimiter matches exactly. If your data uses spaces after commas, use SPLIT(A1, ", ") or use TRIM around each item: =TRANSPOSE(ARRAYFORMULA(TRIM(SPLIT(A1, ",")))).

Problem: The formula spills but shows #REF! error. Fix: Clear any cells below the formula that contain data. Google Sheets needs empty space for the results.

Problem: Line breaks don’t split. Fix: Use CHAR(10) as the delimiter, or use SPLIT(A1, "\n") (but that’s a literal backslash-n, not a newline).

Problem: You want to split into rows but keep the original cell intact for reference. Fix: Use a formula in a far-away column, or copy the original to another sheet first.

Google Sheets vs. Excel: Key Differences

In Excel, the equivalent uses TEXTSPLIT and TRANSPOSE: =TRANSPOSE(TEXTSPLIT(A1, ",")). TEXTSPLIT is available in Excel 365 and Excel 2024. Excel’s built-in “Text to Columns” wizard (Data > Text to Columns) works similarly but only splits to columns; you then copy and paste transpose. Google Sheets’ SPLIT is more intuitive for many users because it’s a single function. Also, FLATTEN has no direct Excel equivalent; you’d use a combination of TEXTSPLIT and VSTACK or a helper column.

Frequently Asked Questions

Can I split a cell into rows based on line breaks? Yes. Use =TRANSPOSE(SPLIT(A1, CHAR(10))). CHAR(10) is the newline character in Google Sheets. This works for cells with Alt+Enter line breaks.

How do I split a cell into rows without using a formula? Use Data > Split text to columns, then copy the split columns and Paste special > Transpose. This is a manual, static method.

What if my delimiter is a space? Use =TRANSPOSE(SPLIT(A1, " ")). But be careful—if there are multiple spaces, you’ll get empty rows. Use =TRANSPOSE(SPLIT(TRIM(A1), " ")) to clean up.

Can I split multiple cells at once into rows? Yes, use FLATTEN. For A1:A3 with comma-separated values, =FLATTEN(SPLIT(A1:A3, ",")) will return all items in one column.

Why does my SPLIT formula return #VALUE! error? This usually means the delimiter isn’t found. Check for typos or invisible characters. Also, if the cell is empty, SPLIT returns an empty array—wrap it in IFERROR if needed.

Is there a way to split into rows and keep the original cell’s value? Yes, any formula method leaves the original intact. Only the “Split text to columns” menu overwrites the original.

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.