0% found this document useful (0 votes)
68 views3 pages

Transpose

1. To transpose data using a formula in Excel, select the blank cells that correspond to the transposed size and orientation of the original data (e.g. 2 columns for 6 rows if the original was 6 columns and 2 rows). 2. Type the TRANSPOSE formula referencing the original data range without pressing Enter. Instead, press Ctrl+Shift+Enter to calculate the array formula across the selected cells. 3. The formula will be inserted into all selected cells with curly brackets indicating it is an array formula that performs calculations on multiple cells simultaneously.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views3 pages

Transpose

1. To transpose data using a formula in Excel, select the blank cells that correspond to the transposed size and orientation of the original data (e.g. 2 columns for 6 rows if the original was 6 columns and 2 rows). 2. Type the TRANSPOSE formula referencing the original data range without pressing Enter. Instead, press Ctrl+Shift+Enter to calculate the array formula across the selected cells. 3. The formula will be inserted into all selected cells with curly brackets indicating it is an array formula that performs calculations on multiple cells simultaneously.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Switch data around by transposing it

Switch data around by transposing it


When you need to rotate columns and rows, you transpose them in Excel. Step 1
Cells C5 toWhen
H6 contain two rows
you need of Items
to rotate and Amounts.
columns Select
and rows, youcells C5 to H6.
transpose them in Excel.
Now you'll copy the cells. Press CTRL+C.
Select cell C9.1 Click and drag to select the two rows of cells from Item, to 20. Item Bread Donuts Cookies Cakes Pies
Press ALT+H to enter the Home tab above the ribbon, then press V to select Paste options. Arrow down or press S to select
Amount
Paste Special. 50 100 40 50 20 Step 2
Press Tab until you find Transpose. Press the Space Bar to select Transpose, then press Enter.
2 shortcut
EXPERT TIP: The Now you'll
key forcopy
Pastethe cells.isPress
Special
Ct r l
CTRL+ALT+V.
C

Dive down for more


to proceed
detail: Go
to the
to A27.
nextOr,
step
to proceed to the next step, press CTRL+PAGE DOWN. Item Amount EXPERT TIP
3 Click the yellow cell. Bread 50 The shortcut key for Step 3
Donuts 100 Paste Special is
Cookies 40 CTRL+ALT+V.
4 On the Home tab, click the arrow under the Paste button. Cakes 50
Pies 20
5 Click Paste Special, and then at the bottom, click the checkbox for Transpose.
Click OK.

Step 4 Step 5

Dive down for more detail Next step

Transpose with a formula

Sometimes you don't want to copy and paste to transpose. In this case, you can use a formula to transpose rows and columns. Here's how to do that:

To transpose this data, you need to select some blank cells first. Since the data in cells C33 to H34 on the right has six columns and two rows, you need to select the opposite: two columns and six rows. Do this by selecting cells C40 to D45.
This is kind of This data has 6 columns... Step 1 Step 2
Select any of the transposed cells, for example cell C41. Look at the formula at the top of Excel. You’ll see that the formula looks like this: {=TRANSPOSE(C33:H34)}

Transpose with a formula


Select another transposed cell from cells C40 to D45, for example cell D43. Look at the formula bar again. The formula is the same as in cell C41. Why? Because this is an array formula.
Go to cell A54 for the next instruction. Item Bread Donuts Cookies Cakes Pies ...and 2 rows.
Amount 50 100 40 50 20
Sometimes you don't want to copy and paste to transpose. In this case, you can use a
formula to transpose rows and columns. Here's how to do that:
So select these 2 columns...

1 To transpose this data, you need to select some blank cells first. Since the data Step 3
on the right has 6 columns and 2 rows, you need to select the opposite: 2
columns and 6 rows. Do this by selecting the yellow cells. Item Amount
Bread 50
2 This is kind of tricky, so pay close attention. With those cells still selected, type Donuts 100
the following: =TRANSPOSE(C33:H34) ….but don’t press Enter. ...and these 6 rows
Cookies 40
before you type the
Cakes 50 formula.
3 Press Ctr l Shift Enter Pies 20
Step 4-5
If you get #VALUE! as a result, try again starting at step 1.

4 Click any of the yellow cells to select just one. Look at the formula at the top of
Excel. You’ll see that the formula looks like this:

{=TRANSPOSE(C33:H34)}

5 Click another yellow cell. Look at the formula bar again. The formula is the same.
Why? Because this is an array formula.
What's an array formula?
An array formula can perform calculations on more than one cell in an array. In the example above, the array is the original data set is cells C33:H34. The TRANSPOSE function then switches the horizontal orientation of the cells to a vertical orientation.
You always finish an array formula with CTRL+SHIFT+ENTER, not just ENTER. Pressing CTRL+SHIFT+ENTER calculates the function against the array. When you're done, Excel puts special brackets { } around the formula. These brackets are a visual clue that the selected cell is part of an ar
KEEP IN MIND…There are three things to keep in mind when using an array formula: 1) Always select multiple cells first, and then withKEEPthoseINcells
MIND…
selected, start typing the array formula. That's the key: Select multiple cells first, then start typing.2) When you're done typing an array form
EXCEL SPEAK: Because array formulas require CTRL+SHIFT+ENTER, some people informally call array formulas, "CSE formulas." There are three things to keep in mind when using an array
What's an array formula?
Go to cell A72 for the next instruction. formula:

1) Always select multiple cells first, and then with those cells
An array formula can perform calculations on more than one cell in an array. In the example selected, start typing the array formula. That's the key: Select
above, the array is the original data set in cells C33:H34. The TRANSPOSE function then multiple cells first, then start typing.
switches the horizontal orientation of the cells to a vertical orientation.
2) When you're done typing an array formula, press
You always finish an array formula with CTRL+SHIFT+ENTER, not just ENTER. Pressing CTRL+SHIFT +ENTER.
CTRL+SHIFT+ENTER calculates the function against the array. When you're done, Excel puts
3) Once you enter an array formula, you cannot interrupt that new
special brackets { } around the formula. These brackets are a visual clue that the selected cell EXCEL SPEAK
array. For example, you cannot type over or delete just one of the
is part of an array formula. You can't type these brackets yourself. Excel puts them in when Because array formulas require CTRL+SHIFT+ENTER, some
cells. You also cannot insert a new row or column within that array.
you press CTRL+SHIFT+ENTER. If you need to any of that, select all of the cells that have the array
people informally call array formulas, "CSE formulas."
formula, press Delete, and then make your changes and recreate
More information on the web the formula.
Transpose (rotate) data from rows to columns or vice versa
All about the TRANSPOSE function
Create an array formula
Go back to top by pressing CTRL+HOME. To proceed to the next step, press CTRL+PAGE DOWN.

More information on the web


Transpose (rotate) data from rows to columns or vice versa

All about the TRANSPOSE function

Create an array formula

Back to top Next step

You might also like