Transpose column to row in Excel and Google Sheets

{=TRANSPOSE(A1:B1)} // doesn't ignore blanks

{=TRANSPOSE(FILTER(A1:B1, A1:B1<>""))} // ignore blanks

A2:B1 = Ranges

ArrayFormula use "Ctrl+Shift+Enter" for both formulas

Check below for a detailed explanation with pictures and how to use formulas in Excel and Google Sheets.

Transpose column to row in Excel

How to transpose column to row in Excel?
Transpose column to row in Excel

TRANSPOSE COLUMN TO ROW — EXCEL FORMULA AND EXAMPLE

{=TRANSPOSE(A1:B1)} // doesn't ignore blanks

{=TRANSPOSE(FILTER(A1:B1, A1:B1<>""))} // ignore blanks

💡 ArrayFormula use "Ctrl+Shift+Enter" for both formulas

Transpose column to row in Google Sheets

How to transpose column to row in Google Sheets?
Transpose column to row in Google Sheets

TRANSPOSE COLUMN TO ROW — GOOGLE SHEETS FORMULA AND EXAMPLE

=TRANSPOSE(A1:B1) // doesn't ignore blanks

=TRANSPOSE(FILTER(A1:B1, A1:B1<>"")) // ignore blanks