0% found this document useful (0 votes)
10 views10 pages

dyeing report 3

The document provides instructions on how to transpose data in Excel by rotating rows and columns. It explains two methods: using the Paste Special feature and using the TRANSPOSE function with an array formula. Key tips include selecting multiple cells before entering the formula and finishing with CTRL+SHIFT+ENTER.

Uploaded by

ptb.dyeing
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views10 pages

dyeing report 3

The document provides instructions on how to transpose data in Excel by rotating rows and columns. It explains two methods: using the Paste Special feature and using the TRANSPOSE function with an array formula. Key tips include selecting multiple cells before entering the formula and finishing with CTRL+SHIFT+ENTER.

Uploaded by

ptb.dyeing
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 10

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.
Cells C5 toWhen
H6 contain
you two
needrows
to of Items and
rotate Amounts.
columns andSelect
rows,cells
youC5 to H6.
transpose them in Excel.
Now you'll copy the cells. Press CTRL+C.
1
Select cell C9.
Press ALT+H to enter the Home tab above the ribbon, then press V to select Paste options. Arrow down or press S to sel
Press
EXPERTTab until
TIP: Theyou find Transpose.
shortcut Press
key for Paste the Space
Special Bar to select Transpose, then press Enter.
is CTRL+ALT+V.
2
Dive down for m
3

4
This is kind of
tricky, so pay5
close
attention.
With those
cells still
selected, type
the following:
=TRANSPOSE(C Dive down for more detail
33:H34) but
don’t press
Enter. Instead
press
CTRL+SHIFT+E
NTER. If you
get an error or
#VALUE! as a
Transpose
result, try with a formula
again starting
Sometimes
Transpose with a formula
at instruction
To transpose
you don't want to copy and paste to transpose. In this case, you can use a formula to transpose rows and columns
in cell A29. this data, you need to select some blank cells first. Since the data in cells C33 to H34 on the right has six columns

Select any Sometimes youcells,


of thetransposed
transposed don't want
forcells
exampleto copy and paste to transpose. In this case,
Select another cell from C40 tocell C41.
D45, forLook at thecell
example formula at theattop
D43. Look theof Excel.
formula You’ll see that
bar again. The the formula
formula loos
is the
you can use a formula to transpose rows and columns. Here's how to do
that:
Go to cell A54 for the next instruction.
1

3
4

What's
KEEP INan array formula?
MIND…
There
An array formulathings
are three to keepcalculations
in mind when onusing
morean array
oneformula:
You always
2) When
What's an array formula?
you're
can perform
finishdone
an array formula
typing with
an array
than
CTRL+SHIFT+ENTER,
formula,
cell in an array. In the example above, the array is the original da
1) Always select multiple cells first, and then with those cells selected, start typing the array formula. That's the key: Select mu
not just
press CTRL+SHIFT ENTER. Pressing CTRL+SHIFT+ENTER calculates the functi
+ENTER.
3) Once you enter an array formula, you cannot interrupt that new
EXCEL SPEAK: Because array formulas require CTRL+SHIFT+ENTER, some peoplearray. For example, youcall
informally cannot
arraytype over or"CSE
formulas, delete just on
formulas."
An array formula can perform calculations on more than one cell in an
array.
Go to cell A72 In the
for the nextexample
instruction.above, the array is the original data set in 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
array formula. You can't type these brackets yourself. Excel puts them in
when you press CTRL+SHIFT+ENTER.

More information on the web


More information on the web
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.

Back to top
Switch data around by transposing it
tch data around by transposing it
en you need to rotate columns and rows, you transpose them in Excel.
s C5 toWhen
H6 contain
you two
need rows
to of Items and
rotate Amounts.
columns andSelect
rows,cells
youC5 to H6.
transpose them in Excel.
w you'll copy the cells. Press CTRL+C.
1 Click and drag to select the two rows of cells from Item, to 20. Item
ss ALT+H to enter the Home tab above the ribbon, then press V to select Paste options. Arrow down or press S to selAmount
ss
ERTTab until
TIP: Theyou find Transpose.
shortcut key forcopyPress
Paste the Space
Special Bar to select Transpose, then press Enter.
is CTRL+ALT+V.
2 Now you'll the cells. Press
Ctrl C

to proceed to the next step


3 Click the yellow cell.

4 On the Home tab, click the arrow under the Paste button.

5 Click Paste Special, and then at the bottom, click the checkbox
for Transpose. Click OK.

Dive down for more detail Next step

nspose with a formula

Transpose with a formula


metimes 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
ranspose 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,

ct any Sometimes
of thetransposedyoucells,
transposed don't want
forcells
exampleto copy and paste to transpose. In this case,
ct another cell from C40 tocell C41.
D45, forLook at thecell
example formula at theattop
D43. Look theof Excel.
formula You’ll see that
bar again. The the formula
formula looks
is the samelikeasthis: {=TR
in cell C
you can use a formula to transpose rows and columns. Here's how to do
that:
o cell A54 for the next instruction. Item
Amount
1 To transpose this data, you need to select some blank cells first.
Since the data 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. So select these 2 columns...
2 This is kind of tricky, so pay close attention. With those cells still
selected, type the following: =TRANSPOSE(C33:H34) ….but
don’t press Enter.
Ente
3 Press C t r l Shift
r

If you get #VALUE! as a result, try again starting at step 1.


Press

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.
KEEP IN M
There are three
formula:
1) Always selec
at's
P INan array formula?
MIND… selected, start t
re are three things to keep in mind when using an array formula: multiple cellsC3fi

When
What's an array formula?
array formula can perform calculations on more than one cell in an array. In the example above, the array is the original data
finishdone
you're an array formula
typing with
an array CTRL+SHIFT+ENTER,
formula, not just
press CTRL+SHIFT ENTER. Pressing CTRL+SHIFT+ENTER calculates the function
+ENTER.
set is cells
lways select multiple cells first, and then with those cells selected, start typing the array formula. That's the key: Select multiple cells first,
always 2) against the a
When you're
nce you enter an array formula, you cannot interrupt that new array. For example, you cannot type over or delete
EL SPEAK: Because array formulas require CTRL+SHIFT+ENTER, some people informally call array formulas, "CSE formulas." just oneCTRL+SHIFT
of the cells. +EN
Yo
An array formula can perform calculations on more than one cell in an 3) Once you en
array.
o cell A72 In the
for the nextexample
instruction.above, the array is the original data set in cells new array. For e
C33:H34. The TRANSPOSE function then switches the horizontal orientation of the cells. You
of the cells to a vertical orientation. that array. If yo
have the array f
You always finish an array formula with CTRL+SHIFT+ENTER, not just changes and re
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
array formula. You can't type these brackets yourself. Excel puts them in
when you press CTRL+SHIFT+ENTER.
EXCEL SPE
Because array fo
people informal

re information on the web


More information on the web
nspose (rotate) data from rows to columns or vice versa
about the TRANSPOSE function
ate an array formula
back to top by pressing CTRL+HOME.
Transpose (rotate)Todata
proceed
fromto the
rowsnext
tostep, press CTRL+PAGE
columns or DOWN.
vice versa

All about the TRANSPOSE


function

Create an array
formula

Back to top Next step


Bread Donuts Cookies Cakes Pies
50 100 40 50 20

EXPERT TIP
The shortcut key
for Paste Special is
CTRL+ALT+V.

columns. Here's how to do that:


columns and two rows, you need to select the opposite: two columns and six rows. Do this by selecting cells C40 to D45.
This data has 6 columns...
mula looks
a is the samelikeasthis: {=TRANSPOSE(C33:H34)}
in cell C41. Why? Because this is an array formula.

Bread Donuts Cookies Cakes Pies ...and 2 rows.


50 100 40 50 20

lect these 2 columns...

...and these 6 rows


before you type the
formula.
...and these 6 rows
before you type the
formula.

KEEP IN MIND…
There are three things to keep in mind when using an array
formula:
1) Always select multiple cells first, and then with those cells
selected, start typing the array formula. That's the key: Select
multiple
ginal data cellsC33:H34.
set is cells first, thenThe
start typing. function then switches the horizontal orientation of the cells to a vertical orientation.
TRANSPOSE
elect multiple cells first, then start typing.
e function
2) against the array.
When you're doneWhen
typingyou're done,
an array Excel puts
formula, pressspecial brackets { } around the formula. These brackets are a visual clue that th
just oneCTRL+SHIFT
of the cells.+ENTER.
You also cannot insert a new row or column within that array. If you need to any of that, select all of the cells that h
3) Once you enter an array formula, you cannot interrupt that
new array. For example, you cannot type over or delete just one
of the cells. You also cannot insert a new row or column within
that array. If you need to any of that, select all of the cells that
have the array formula, press Delete, and then make your
changes and recreate the formula.

EXCEL SPEAK
Because array formulas require CTRL+SHIFT+ENTER, some
people informally call array formulas, "CSE formulas."
o a vertical orientation.
kets are a visual clue that the selected cell is part of an array formula. You can't type these brackets yourself. Excel puts them in when you
select all of the cells that have the array formula, press Delete, and then make your changes and recreate the formula.
xcel puts them in when you press CTRL+SHIFT+ENTER.

You might also like