सीधे मुख्य सामग्री पर जाएं

TRANSPOSE Function

MS Excel: How to use the TRANSPOSE Function (WS)

This Excel tutorial explains how to use the Excel TRANSPOSE function with syntax and examples.

Description

The Microsoft Excel TRANSPOSE function returns a transposed range of cells. For example, a horizontal range of cells is returned if a vertical range is entered as a parameter. Or a vertical range of cells is returned if a horizontal range of cells is entered as a parameter.
The TRANSPOSE function is a built-in function in Excel that is categorized as a Lookup/Reference Function. It can be used as a worksheet function (WS) in Excel. As a worksheet function, the TRANSPOSE function can be entered as part of a formula in a cell of a worksheet.

Syntax

The syntax for the TRANSPOSE function in Microsoft Excel is:
TRANSPOSE( range )

Parameters or Arguments

range
The range of cells that you want to transpose.

Note

  • The range value in the TRANSPOSE function must be entered as an array. To enter an array, enter the value and then press Ctrl+Shift+Enter. This will place {} brackets around the formula, indicating that it is an array.

Applies To

  • Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000

Type of Function

  • Worksheet function (WS)

Example (as Worksheet Function)

Let's look at some Excel TRANSPOSE function examples and explore how to use the TRANSPOSE function as a worksheet function in Microsoft Excel:
Microsoft Excel
Based on the Excel spreadsheet above:
We've placed values in cells A1, A2, and A3, and we'd like to view these values in cells C1, D1, and E1 (transposed). To do this, you highlight cells C1, D1, and E1, then enter the following formula:
=TRANSPOSE(A1:A3)
Then press Ctrl+Shift+Enter to create an array formula. You will notice that {} brackets will appear around the formula and the values in cells A1, A2, and A3 should now appear in cells C1, D1, and E1.

Frequently Asked Questions

Question: In Microsoft Excel, isn't it easier to use the Paste Special transpose option to do the same?
Answer: Yes, if you ONLY want to perform a one-time paste of the values, you can do the following:
Microsoft Excel
Highlight the cells that you want to copy. In this example, we've highlighted cells A1:A3. Then right-click and select Copy from the popup menu.
Microsoft Excel
Then right-click on the cell where you'd like to paste the values and select Paste Special from the popup menu.
Microsoft Excel
Then select the TRANSPOSE checkbox and click on the OK button.
Microsoft Excel
Now when you return to your spreadsheet, you'll see that the values have been copied and transposed.

टिप्पणियाँ

इस ब्लॉग से लोकप्रिय पोस्ट

ROW Function

MS Excel:  How to use the ROW Function (WS) This Excel tutorial explains how to use the Excel  ROW function  with syntax and examples. Description The Microsoft Excel ROW function returns the row number of a cell reference. The ROW function is a built-in function in Excel that is categorized as a  Lookup/Reference Function . It can be used as a worksheet function (WS) in Excel. As a worksheet function, the ROW function can be entered as part of a formula in a cell of a worksheet. Syntax The syntax for the ROW function in Microsoft Excel is: ROW( [reference] ) Parameters or Arguments reference Optional. It is a reference to a cell or range of cells. Returns The ROW function returns a numeric value. Note If the reference parameter is omitted, it assumes that the  reference  is the cell address in which the ROW function has been entered in. For example, the ROW function used in the picture above returns 1 because the RO...