Excel TRANSPOSE Function: Syntax, Examples & Tips

The TRANSPOSE function changes the orientation of data, switching rows to columns and columns to rows for improved data organization.
Excel
=TRANSPOSE(array)

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

Need more than a single TRANSPOSE formula? Try our free AI for Excel — it reads your entire spreadsheet, answers questions in plain English, and builds charts and analysis in the same chat.

On this page
  1. Parameters
  2. What is a TRANSPOSE Formula in Excel?
  3. A Practical Example
  4. TRANSPOSE Formula
  5. Result of the Formula
  6. Why Use TRANSPOSE?
  7. Key Takeaways:
  8. Example use case

Parameters

array:
The range or array of cells that you want to transpose. This can be a single row or a single column of data that will be converted into the opposite orientation.

What is a TRANSPOSE Formula in Excel?

The TRANSPOSE function in Excel is a versatile tool that allows you to switch the rows and columns of a given range of cells. This means that the data arranged in rows can be converted into columns and vice versa, making it easier to reorganize and analyze your data.

In simpler terms, the TRANSPOSE function helps you rearrange your data layout without having to manually copy and paste, saving you time and effort.

A Practical Example

Imagine you have a list of products and their sales figures in an Excel spreadsheet arranged in a vertical format:

Sales Data Table:

ProductSales
Apples150
Bananas200
Cherries250
Dates300

You want to convert this vertical list into a horizontal format for better visibility.

TRANSPOSE Formula

To rearrange the sales data from vertical to horizontal, you would use the TRANSPOSE formula as follows:

Excel
=TRANSPOSE(A2:B5)

Breakdown of the Formula:

  • A2:B5: This is the range of cells that you want to transpose. It includes both the product names and their corresponding sales figures.

Result of the Formula

When you apply the formula, it rearranges the data into a horizontal format. The output would be:

ProductApplesBananasCherriesDates
Sales150200250300

Here, the products are now listed in a single row, with their corresponding sales figures directly below them.

Why Use TRANSPOSE?

The TRANSPOSE function is particularly useful when you need to change the orientation of your data for better presentation or analysis. It allows you to quickly rearrange data without the hassle of manual adjustments, making it easier to create reports and visualizations.

Key Takeaways:

  • TRANSPOSE: Switches the orientation of rows and columns in a given range.
  • Efficient Data Rearrangement: Saves time by eliminating the need for manual copying and pasting.
  • Common Use Cases: Ideal for preparing data for charts, reports, and any scenario where a different layout is needed.

Understanding how to use the TRANSPOSE function can significantly enhance your data manipulation capabilities in Excel, enabling you to present your datasets in the most effective way possible.

Happy transposing!

Example use case

You have a table where Column A contains the names of products and Column B contains their corresponding sales figures for the last quarter. You want to present this data in a horizontal format for a presentation. By using the TRANSPOSE function, you can easily switch the rows and columns, allowing you to display the product names in a single row and their sales figures directly beneath them. This makes the data more visually appealing and easier to read during your presentation, enhancing communication with stakeholders without the need for complex formatting techniques.

Beyond the TRANSPOSE function: Better Analyst is a full Excel AI that goes well past individual formulas. Upload any spreadsheet and ask questions in plain English — you'll get formulas, data analysis, and charts back in seconds. It's a free AI Excel assistant that works with any .xlsx, .xls, or .csv file — no plugins, no Microsoft 365 required.

Don't have a spreadsheet yet? Use our free AI spreadsheet generator to turn a text prompt into a downloadable Excel file — a full AI Excel sheet maker that builds headers, columns, and formulas from your description.

Need more help with Excel formulas?

Create a free account for formula help, explanations, and spreadsheet analysis. Usage limits depend on your plan.

Explore all Excel formulas

Browse our complete library of Excel formula guides

Compare your options

Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

  1. 01ChatGPTOpen a balanced comparison prompt in ChatGPT.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.