Smart Systems for Home

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

Google Sheets: How to Turn Rows into Columns

· 5 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

You can turn rows into columns in Google Sheets in two ways: the quick copy-and-paste with Paste Special > Transposed, or the TRANSPOSE function that stays linked to the source. Both are built in and take under a minute. The paste method is best for a one-time flip; the function is best when the original data will keep changing.

What You'll Need

  • A Google account with access to Google Sheets (browser or mobile app).
  • Your data already entered in a sheet, with a clear idea of which range you want to flip.
  • An empty area of the sheet, or a second sheet, to receive the transposed data.

Step-by-Step

  1. Open your spreadsheet in Google Sheets and find the block of rows you want to convert. For example, a list of months down column A with sales figures in column B.
  2. Select the entire range, including any header row. Click the first cell, hold Shift, and click the last cell, or drag across the range. The selected cells will be highlighted.
  3. Copy the selection with Ctrl+C (Windows/ChromeOS) or Cmd+C (Mac). On mobile, long-press the selection and tap Copy.
  4. Click a single empty cell where you want the top-left corner of the new column layout to start. Make sure there is enough empty space to the right and below for the flipped data.
  5. On desktop, open the Edit menu and choose Paste special > Transposed. Alternatively, right-click the cell and pick Paste special > Transposed from the context menu.
  6. Check the result. Rows should now run across columns and columns should run down rows. The original data is untouched.
  7. If you want the layout to update automatically when the source changes, skip the paste and use the TRANSPOSE function instead. Click the target cell and type =TRANSPOSE(A1:B12), replacing A1:B12 with your actual range, then press Enter. The output spills into the surrounding cells.
  8. If the transposed data lands in a spot where you need plain values (for example, to sort or edit freely), copy the transposed block and use Paste special > Values only to replace the formula result with static values.

Common Mistakes

  • Pasting into a range that is not empty. Transposed paste overwrites whatever is in the target cells, and the TRANSPOSE function returns a #REF! error if the spill area is blocked.
  • Forgetting to include headers in the selection. If headers are left out, the flipped table loses its labels and becomes hard to read.
  • Using Paste special > Transposed when the source has merged cells. Merged cells often break the transpose and produce misaligned output. Unmerge first.
  • Expecting the pasted result to stay linked. Paste special copies values and formatting once; it does not update when the original changes. Use TRANSPOSE for a live link.
  • Trying to transpose an entire sheet with a single click. Sheets has no one-click whole-sheet transpose; select the exact range you need.

Tips

  • Transpose into a second sheet if you want to keep the original layout side by side for comparison.
  • Use TRANSPOSE together with ARRAYFORMULA when you need to combine it with other calculations.
  • If the transposed data is wider than the screen, freeze the first row or column so labels stay visible while you scroll.
  • After transposing, reapply number formats (currency, dates) if they look wrong; formatting usually carries over but can shift with the layout.
  • For a quick visual check, count the source rows and confirm they equal the number of output columns.

Troubleshooting

  • #REF! error from TRANSPOSE: The output area is not empty. Clear the cells to the right and below the formula, or move the formula to a clear area.
  • Data looks shifted or misaligned: The selected range probably included blank rows or partial columns. Undo with Ctrl+Z or Cmd+Z, reselect precisely, and try again.
  • Paste special option is greyed out: You may be in a cell edit mode. Press Enter or Esc to exit editing, then reselect and copy.
  • Formatting looks odd after transpose: Conditional formatting rules and data validation may not follow the flip. Reapply them to the new range.
  • Mobile app missing the option: On the Google Sheets mobile app, long-press the target cell and look for Paste special in the menu. If it is not shown, do the transpose on desktop; the mobile menu varies by version and platform.
  • Formula returns only one value: The TRANSPOSE spill may be blocked by content in adjacent cells. Clear them and the full array should appear.

Frequently Asked Questions

Does turning rows into columns delete the original data?

No. Both Paste special > Transposed and the TRANSPOSE function leave the source range untouched. You can delete the original afterward if you no longer need it.

Can I transpose data that contains formulas?

Yes. Paste special > Transposed copies the formula results as values by default; if you need live formulas, use TRANSPOSE around the range or copy and paste with formulas preserved, then check relative references.

Is there a keyboard shortcut just for transpose?

There is no dedicated transpose shortcut in Google Sheets. The fastest route is Ctrl+C or Cmd+C, then right-click > Paste special > Transposed.

Why does my TRANSPOSE formula show a #REF! error?

The output range is blocked. TRANSPOSE needs empty cells to spill into. Clear the area to the right and below the formula cell.

Can I transpose an entire sheet at once?

Not with one click. Select the exact range you want to flip, or use =TRANSPOSE(Sheet1!A1:Z100) with a range that covers your data.

Does transpose work in the Google Sheets mobile app?

Yes, through the long-press menu's Paste special option where available, and through the TRANSPOSE function typed into a cell. Menu labels can differ slightly by app version and device.