Working With Rows and Columns
Working With Rows and Columns
7. To freeze panes.
2. On the Home tab, in the Cells group, click the Insert command.
Th Th
is is
do d oc
cu um
me en
nt t
No ro belo No ron belon
un ndy@ ngs un dy
@ gs to
au in to au in
tho Rows RO tho RO
3. riz ixind or Insert
Select Insert Sheet Sheet Columns : riz ixind
ed o.c NDI ed o.c NDI
co H co HI
pie o.id ID
AY pie o.id DA
sa AT sa YA
llo . llo T.
we we
d! d!
Th Th
is is
do d oc
cu
Deleting Rows
me and Columns
n en
um
tb tb
No elo
ron No ro elo
un dy n g u n dy n
au @ s to n au @ gs to
t ho i n R t ho i n RO
To delete a row or a columnriz ixininda Microsoft
O Excel worksheet: riz ixind
ed o.c NDI ed o.c NDI
co HI co HI
pi o.id DA pi o.id DA
1. Select a cell in your worksheet in the row or column you wish to delete. To delete multiple rows or columns,
simply select multiple cells.
2. On the Home tab, in the Cells group, click the Delete command.
Th Th
is is
do do
3. Select Delete cuSheet Rows or Delete Sheet Columns : cu
me me
nt nt
No ron belon No ron belon
un d gs un d gs
au y@i au y@i
tho nix to RO tho nix to RO
riz i riz i
ed ndo. ND
IH ed ndo. ND
IH
co co ID co co ID
pie .id AY pie .id AY
sa AT sa AT
llo . llo .
we we
d! d!
Th Th
is is
2. do do
cu cu
me me
nt nt
No ro be No ron belon
lo
un ndy@ ngs un d gs
au to au y@i
tho in RO tho nix to RO
riz ixind riz i
ed o.c NDI ed ndo. ND
IH
co HI co co
pie o.id DA pie . id ID
AY
sa YA sa AT
llo T. llo .
we we
d! d!
3. Place your cursor in a blank cell in the worksheet, which will become the top-left cell in the transposed group.
Th Th
is is
do do
cu cu
me me
nt nt
No ro be No ron belon
lo
un ndy@ ngs un d gs
au to au y@i
tho in RO tho nix to RO
riz ixind riz i
ed o.c NDI ed ndo. ND
IH
co HI co co
pi o.id DA pi . id ID
A
4. Right-click, select Paste Special , and then click Paste Special .
Th Th
is is
do do
cu cu
me me
nt nt
No ron be No ron belon
lon
un d gs un d gs
au y@i au y@i
tho nix to RO tho nix to RO
riz i riz i
ed ndo. ND
IH ed ndo. ND
IH
co co ID c o c o ID
pie .id A pie .id AY
sa YAT sa AT
llo . llo .
we we
d! d!
5. In the Paste Special dialog box, check the Transpose check box and click
Th Th
is is
do do
cu cu
me me
nt nt
No ro be No ron belon
lo
un ndy@ ngs un d gs
au to au y@i
tho i n RO tho nix to RO
riz ixind riz i
ed o.c NDI ed ndo. ND
IH
co HI co c
pie o.id DA pie o.id ID
AY
sa YA sa AT
llo T. llo .
we we
d! d!
OK .
Th Th
6. The dataisnow
do appears with the rows and columns
is
do
cu cu
me me
nt nt
No ron belon No ron belon
un d gs un d gs
au y@i au y@i
tho nix to RO tho nix to RO
riz i riz i
ed ndo. ND
IH ed ndo. ND
IH
co co ID co co ID
pie . id AY pie . id AY
sa AT sa AT
llo . llo .
we we
d! d!
swapped
Setting TRow
his
do Height and Column Width
Th
is
do
cu cu
me me
nt nt
No ron b e No ron belon
lon
Set a Specific Height
un dor Width gs un d gs
au y@i au y@i
tho nix to RO tho nix to RO
riz i riz i
ed ndo. ND
I ed ndo. ND
IH
op co.idwidthHIof
To change the row height orccolumn DA rows and columns in a Microsoft Excel c
worksheet:
o pi
co
. id ID
i A
1. Select a cell in your worksheet in the row or column of which you wish to change the height or width. To
change the height or width of multiple rows or columns, simply select multiple cells.
2. On the Home tab, in the Cells group, click the Format command.
Th Th
is is
do do
cu cu
me me
nt nt
3. Select Row
No ron bor
Height eloColumn Width :
n
No ron belon
un dy un d
au @ gs to au y@i
gs
tho ini RO tho nix to RO
riz xind riz i
ed o.c NDI ed ndo. ND
IH
co HI co co
pie o.id DA pie .id ID
AY
sa YA sa AT
llo T. llo .
we we
d! d!
Th Th
is is
do do
cu cu
me me
nt nt
No ron be No ron belon
lon
un d gs un d gs
au y@i au y@i
tho nix to RO tho nix to RO
ri i riz ind
4. ed ndobox
In the Row Heightzdialog
ND edsize o.ctheNrow
D or column:
co .co.i or the I H Column Width dialog box , enter the new
I D c o
of
o.i I HID
pie d A p i e d AY
sa YA sa AT
llo T. llo .
we we
d! d!
A.Rows are measured in points, with each point equaling approximately 1/72 of an inch.
Th Th
is is
do do
B. Columns cu are measured in characters, so the value entered is equal cuto the number of characters that will
me me
n
fit in the cell t(assuming you are using the standard font). nt
No ron b e No ron belon
lon
un d gs un d gs
au y@i au y@i
tho nix to RO tho nix to RO
riz i riz i
ed ndo. ND
IH ed ndo. ND
IH
co co c o co
AutoFit Row Height or pie Column
sa
. id I D AWidth
YA
pie
sa
. id ID
AY
llo T llo AT
we . we .
When you AutoFit the row height or column d ! width, Excel sets the height or width based on the contents d ! in the row
or column. To AutoFit the row height or column width:
1. Select a cell in your worksheet in the row or column of which you wish to change the height or width. To
change the height or width of multiple rows or columns, simply select multiple cells.
1. SelectTa cell in your worksheet in the row or column you wish to hide.
Th To hide multiple rows or columns,
his is
do multiple cells.
simply select do
cu cu
me me
nt nt
b ron belon
2. On the Home
No on inethe
rtab, lon Cells group, click the Format command. No
un d gs un d gs
au y@i au y@i
tho nix to RO tho nix to RO
riz i riz i
ed ndo. ND
IH ed ndo. ND
I
co co ID c op co.id HID
pie .id A i e AY
sa YA sa AT
llo T. llo .
we we
d! d!
3. Select Hide & Unhide and then Hide Rows or Hide Columns :
Th Th
is is
do do
cu cu
me me
nt nt
No ro be No ron belon
lo
un ndy@ ngs un d gs
au to au y@i
tho in RO tho nix to RO
riz ixind riz i
ed o.c NDI ed ndo. ND
IH
co HI co co
pie o.id DA pie . id ID
AY
sa YA sa AT
llo T. llo .
we we
d! d!
Th Th
is is
do do
cu cu
me me
Unhiding Rows nand
t b Columns nt
No ron e lon No ron belon
d
un columns g un d gs
To unhide rows or au y@i in as Microsoft Excel worksheet: au y@i
tho nix to RO tho nix to RO
riz i riz i
ed ndo. ND
IH ed ndo. ND
IH
co co I c o co IDwish to
1. Select cells on either side .
pi (above id andDbelow
A pi
or to the left and right) of the row(s) or column(s) . id you A
unhide.
2. On the Home tab, in the Cells group, click the Format command.
3. Select Hide & Unhide and then Unhide Rows or Unhide Columns :
Th Th
is is
do do
cu cu
me me
nt nt
No ron elonb No ron belon
un d gs un d gs
au y@i au y@i
tho nix to RO tho nix to RO
riz i riz i
ed ndo. ND
IH ed ndo. ND
IH
co co ID c o c o ID
pie .id A pie .id AY
sa YAT sa AT
llo . llo .
we we
d! d!
Th Th
is is
do do
cu cu
me me
nt nt
No ron be No ron belon
lon
un d gs un d gs
au y@i au y@i
tho nix to RO tho nix to RO
riz ind riz i
N ed ndo. ND
Freezing Panes ed cop o.co.id DI HID co
p
co
. i
IH
ID
ies AY ies d AY
all AT a l AT
ow . low .
ed ed
! !
Freezing panes is a way of making one or more rows or columns stay at the top or left of your worksheet as you
scroll through the worksheet. A common use of freezing panes is to keep a header row in view as you scroll through
a large worksheet.
In the following example, notice that the top row includes labels for each column:
Th Th
is is
do do
cu cu
me me
nt nt
No ro be No ron belon
lo
un ndy@ ngs un d gs
au to au y@i
tho in RO tho nix to RO
riz ixind riz i
ed o.c NDI ed ndo. ND
IH
co HI co co
pie o.id DA pie . id ID
AY
sa YA sa AT
llo T. llo .
we we
d! d!
After scrolling down in the worksheet, however, the top row is not visible:
Th Th
is is
do do
cu cu
me me
nt nt
No ro be No ron belon
lo
un ndy@ ngs un d gs
au to au y@i
tho in RO tho nix to RO
riz ixind riz i
ed o.c NDI ed ndo. ND
IH
co HI co co
pi o.id DA pi . id ID
A
In the following image, the top row is frozen, so the labels are visible even after scrolling down in the worksheet:
Th Th
is is
do do
cu cu
me me
nt nt
No ron be No ron belon
lon
un d gs un d gs
au y@i au y@i
tho nix to RO tho nix to RO
To freeze panes in a Microsoft
riz i Excel N worksheet: riz i
ed ndo. DI ed ndo. ND
IH
co co H ID c o c o ID
pie .id A pie .id AY
sa YAT sa AT
1. On the View tab, in the Window l l .
ow group, click the Freeze Panes command. l l ow .
ed ed
! !
Th Th
is is
do do
cu cu
me me
2. n
Select Freeze Panes t b to freeze the rows above and the columns to the left of nthet selected cell.
No ro elo No ro belo
un ndy@ ngs un ndy@ ngs
a in totofreeze au to
3. Select FreezeuTop
tho Row RO the top row only. tho in RO
riz ixind N riz ixind
ed o.c DI ed o.c NDI
co
pie oto .id HID co
pie o.id
HI
DA
4. Select Freeze First Column s a freeze Athe
YA first column only. sa YA
llo T. llo T.
we we
d! d!
Th Th
is is
do do
cu cu
me me
nt nt
No ron be No ron belon
lon
un d gs un d gs
au y@iwith au y@i
Exercise 14 Working tho nix toRows RO and Columns tho nix to RO
riz i riz i
ed ndo. ND
IH ed ndo. ND
IH
co co I c o co ID
pie . id D AY pie . id AY
sa A s a AT
5 to 10 minutes llo T. llo .
we we
d! d!
In this exercise, you will insert rows into a Microsoft Excel worksheet, hide rows, and adjust column widths and row
heights.
1. Continue working in the workbook from the last exercise or open Dave's Lemonade Stand - Working with
Rows and Columns.xlsx from your Ex cel2016.1/Exercises folder.
Th Th
is is
2. Insert two drows
oc between row 7 and row 8. do
cu
um me
en nt
tb
3. Hide theNoinsertedron rows.e lon No ron belon
un d gs un d gs
au y@i au y@i
tho nix to RO tho nix to RO
Increase the widthrizof ind A Nto 25. riz i
4. edcolumn o D ed ndo. ND
co .co.i I HID co co
. id
IH
ID
pi d A pi A
5. Increase the width of columns B:E to 17.
6. Autofit row heights for all active rows.
Exercise Solution
T Th
1. Open orhisgod to the specified file. is
do
oc cu
um me
en nt
2. t
Select cells in both brow 8 and row 9 and then on the Home tab, in the Cells group, click Insert and then
No ron elon No ron belon
Insert Sheetun Rows dy : gs u na d y gs
au @ to uth @in to
tho ini RO i RO
riz xind N o riz x ind
ed o.c DI ed o.c NDI
co HI co HI
pie o.id DA pie o.id DA
sa YA sa YA
llo T. llo T.
we we
d! d!
Th Th
is is
do do
cu cu
me me
nt nt
No ron be No ron belon
lon
un d gs un d gs
au y@i au y@i
tho nix to RO tho nix to RO
riz i riz i
ed ndo. ND
IH ed ndo. ND
I
co co ID c op co.id HID
pie .id A i e AY
sa YA sa AT
llo T. llo .
we we
d! d!
3. Select rows 8 and 9 and then on the Home tab, in the Cells group, click Format and then Hide & Unhide
and then Hide Rows :
Th Th
is is
do do
cu cu
me me
nt nt
No ro be No ron belon
lo
un ndy@ ngs un d gs
au to au y@i
tho in RO tho nix to RO
riz ixind riz i
ed o.c NDI ed ndo. ND
IH
co HI co co
pie o.id DA pie . id ID
AY
sa YA sa AT
llo T. llo .
we we
d! d!
Th Th
is is
do do
cu cu
4. m
Select column Aenand then on the Home tab, in the Cells group, click Format me and then Column Width :
tb nt
No ron e lon No ron belon
un d gs un d gs
au y@i au y@i
tho nix to RO tho nix to RO
riz i riz i
ed ndo. ND
IH ed ndo. ND
IH
co co I c o co ID
pi . id DA pi . id A
Th Th
is is
do do
cu cu
me me
nt nt
No ro be No ron belon
lo
un ndy@ ngs un d gs
au to au y@i
tho in RO tho nix to RO
riz ixind riz i
ed o.c NDI ed ndo. ND
IH
co HI co co
pie o.id DA pie .id ID
AY
sa YA sa AT
llo T. llo .
we we
d! d!
Th Th
is is
do do
cu cu
me me
nt nt
No ro be No ron belon
lo
un ndy@ ngs un d gs
au to au y@i
tho in RO tho nix to RO
riz ixind riz i
ed o.c NDI ed ndo. ND
IH
co HI co co
pie o.id DA pie . id ID
AY
sa YA sa AT
llo T. llo .
we we
d! d!
8. Select all active rows and then on the HOME tab, in the Format group, click AutoFit Row Height :
Th Th
is is
do do
cu cu
me me
nt nt
No ro be No ron belon
lo
un ndy@ ngs un d gs
au to au y@i
tho in RO tho nix to RO
riz ixind riz i
ed o.c NDI ed ndo. ND
IH
co HI co co
pi o.id DA pi . id ID
A
Th Th
is is
do do
cu cu
me me
nt nt
No ro be No ron belon
lo
un ndy@ ngs un d gs
au to au y@i
tho in RO tho nix to RO
riz ixind riz i
ed o.c NDI ed ndo. ND
IH
co HI co co
pie o.id DA pie .id ID
AY
sa YA sa AT
llo T. llo .
we we
d! d!
Conclusion
Th Th
is is
do do
In this lesson, youclearned
um cu
to insert rows and columns in Microsoft Excel worksheets,
me to delete rows and columns in
en nt
Microsoft Excel t b beheights and column widths,
No worksheets,
ron elonas well as to transpose rows and columns, toNchangeo ronrow lon
u d
narowsy@ g st u na d y gs
to hide and unhide uth and ini
columns
o R and to freeze panes. uth @in to
ori x ori i x R
ze indo OND ze indo OND
dc .co IH dc .co IH
op ID op ID
ies .id AY ies .id AY
all AT a l AT
ow . low .
ed ed
! !
Th Th
is is
do do
cu cu
me me
nt nt
No ro be No ron belon
lo
un ndy@ ngs un d gs
au to au y@i
tho in RO tho nix to RO
riz ixind riz i
ed o.c NDI ed ndo. ND
IH
co HI co co
pie o.id DA pie . id ID
AY
sa YA sa AT
llo T. llo .
we we
d! d!
Th Th
is is
do do
cu cu
me me
nt nt
No ro be No ron belon
lo
un ndy@ ngs un d gs
au to au y@i
tho in RO tho nix to RO
riz ixind riz i
ed o.c NDI ed ndo. ND
IH
co HI co co
pi o.id DA pi . id ID
A