Está en la página 1de 13

Lesson 2 Adjusting the Size of Rows and Columns

If you click the right edge of the column selector for column H and drag the selector to the right, the column will be widened as you drag. Similarly, if you drag the column selector to the left, the column will be narrowed as you drag. You can have Excel automatically adjust a column to fit the longest entry in the column by double-clicking the right edge of a column selector. You can also adjust the row height for a particular row by using the same basic methods. You can also change the height of a row by clicking the bottom of the row selector and dragging it up or down.

In this exercise, you resize columns and rows. For this exercise, the width of columns in the practice file has been preset to 15 characters.
1 On the Standard toolbar, click the Open button. The Open dialog box appears. The Lesson2 folder in the Spreadsheet Fundamentals Practice folder should be displayed. Click the Lesson2 workbook and click Open. The file opens. Select the range B4:F4. On the Format menu, point to Column, and then click Width. The Column Width dialog box appears, showing the current column width.

2 3

Type 13 in the Column Width text box, and click OK. The width of columns B through F decreases from 15 characters to 13 characters.

To specify a standard width for all columns in a workbook, on the Format menu, point to Column, and click Standard Width. Type the desired width, and click OK.

5 6 7

Click any cell. The range B4:F4 is no longer selected. Point to the bottom of the row selector for row 2. The mouse pointer changes to a double-headed arrowthe resize pointer. Drag the row selector down until the row has a height of about 20.25 points (27 pixels, or screen picture elements). The height of row 2 increases.

8 9

Point to the right edge of the column selector for column D. The mouse pointer changes to a double-headed arrow. Double-click the right edge of the column selector for column D. The width of column D decreases to better fit the column contents.

Keep this file open for the next exercise.

Aligning Cell Contents


In this exercise, you align cell contents horizontally and vertically, and you use the Undo and Redo buttons to see how changes can be undone and reapplied as desired.
1 2 Select the range B3:B6. On the Format menu, click Cells. The Format Cells dialog box appears, as shown on in the illustration on the following page.

Click the Alignment tab. The Alignment tab appears.

4 5

Click the Horizontal down arrow, and click Left (Indent) in the list. Click the Vertical down arrow, and view the list choices. Choices on the Vertical list let you align the data up and down inside the cell. Vertical alignment becomes more apparent if your rows are significantly taller than the data they contain. Click the Vertical down arrow again to close the list without changing the vertical alignment. Click OK. Excel left-aligns the contents of the selected cells. On the Standard toolbar, click the Undo button. Excel returns the cells to their previous formatting. On the Standard toolbar, click the Redo button. Excel reapplies the cell formatting. On the Standard toolbar, click the Undo button. Excel undoes the cell formatting again. Keep this file open for the next exercise.

6 7 8 9 10

Inserting and Deleting Cells, Rows, and Columns

In this exercise, you delete a column, insert cells (shifting the adjacent cells in the same row to the right), and insert rows.
1 2 3 Click cell C3. C3 is the active cell. On the Edit menu, point to Clear, and click Contents. The contents of the active cell are deleted, but the column is not removed. On the Edit menu, click Delete. The Delete dialog box appears.

4 5 6

Click the Entire column option, and click OK. The Year column, along with all of its contents, is deleted. Select C1:F1. Four cells are selected. On the Insert menu, click Cells. The Insert dialog box appears.

7 8 9

Click the Shift cells right option, and then click OK. Excel inserts four new cells and shifts the contents of existing cells (in the same row) to the right. Select cells A10:A12. Three rows are selected. On the Insert menu, click Rows. Excel inserts three rows above what was row 10 (now row 13). You now have room to add three new rental items.

10

Click the Undo button twice. Excel removes the inserted rows and cells.

11 12

On the Standard toolbar, click the Save button. The workbook is saved with the current name. On the File menu, click Close. The workbook closes. Keep Excel open for the next exercise.

Cutting, Copying, Pasting, and Clearing Cells


In this exercise, you move and copy data within a worksheet, clear the formatting in a selected range, and clear the contents in a selected range.
1 On the Standard toolbar, click the Open button. The Open dialog box appears. The Lesson02 folder in the Spreadsheet Fundamentals Practice folder should be displayed. Click the Monthly Sales workbook, and click Open. The file opens. Click cell A7, and on the Standard toolbar, click the Cut button. The contents of cell A7 are copied to the Windows Clipboard, and a flashing marquee appears around cell A7. The marquee indicates the contents that will be cut. Click cell A8, and on the Standard toolbar, click the Paste button. The contents of the Windows Clipboard (from cell A7) are pasted in cell A8, and the marquee no longer appears around cell A7. Select B3:D6, and on the Standard toolbar, click the Copy button. The contents of the selected cells are copied to the Windows Clipboard, and a flashing marquee appears around the selected cells, indicating what has been copied to the Windows Clipboard. Click the Q2 sheet tab near the bottom of the Excel window. Excel displays the Q2 worksheet. Click cell B4, and on the Standard toolbar, click the Paste button. The contents of the Windows Clipboard are copied to the Q2 worksheet, starting at the location of the active cell (B4). On the Edit menu, point to Clear, and click Formats. Excel removes the currency formatting from the selected cells. On the Standard toolbar, click the Undo button. The currency formatting is reapplied to the selected cells. On the Edit menu, point to Clear, and click Contents. Excel removes the contents from the selected cells, but it retains the formatting. Type 3444, and press Enter. Excel converts your entry to currency format. On the File menu, click Save As, type Monthly Sales 2, and click OK. The workbook is saved with the new name.

2 3

6 7

8 9 10 11 12

Formatting Text
In this exercise, you format text in a worksheet.
1 2 3 4 5 Open the Lodging Analysis03.xls workbook stored in the Lesson03 folder located in the Spreadsheet Fundamentals Practice folder on your hard disk. Click cell B1, and on the Formatting toolbar, click the Bold button. The title appears in bold. Select the range B3:E3, and on the Formatting toolbar, click the Center button. The year labels are centered. Click the Bold button on the Formatting toolbar. The year labels appear in bold. Right-click the area youve selected, click Format Cells on the shortcut menu, and then click the Font tab. The Font tab of the Format Cells dialog box appears.

6 7 8

On the Font list, scroll down, and click Times New Roman. On the Size list, scroll down, and click 12. Click the Color down arrow, click the Red square (third row, first square), click OK, and then click a blank area of the worksheet. The range is deselected and appears in 12-point, red, Times New Roman text.

9 10 11

Select the range A4:A8, and click the Bold button. The row labels appear in bold. On the Format menu, click Cells, and click the Alignment tab. The Format Cells dialog box appears with the Alignment tab on top. Double-click in the Indent box, type 1, and click OK. The sales categories in the selected cells are indented one character to the right.

12

On the File menu, click Save As, type Lodging Analysis, and then click Save. The workbook is saved with the new name. Keep this file open for the next exercise.

Using Format Painter


In this exercise, you use the Format Painter button to copy a format from one cell to a range of cells.
1 2 Click cell B3. The first column label cell is selected. Click the Format Painter button on the Standard toolbar. A flashing marquee appears around the selected cell and the mouse icon changes to a plus sign with a paintbrush next to it.

Select the range A4:A8 (the row labels). Excel copies the formatting in cell B3 to the range you selected. The row labels now appear in red, bold, and 12-point Times New Roman font. On the Standard toolbar, click the Save button. The workbook is saved with the current name. Keep this file open for the next exercise.

Adding Borders to Cells


In this exercise, you add borders to the cells in your worksheet that contain totals and to the column headings of your worksheet. 1 2 Select the range B8:E8. On the Formatting toolbar, click the down arrow to the right of the Borders button. A menu of border line styles and locations appears.

3 4 5

Click the Thick Box Border button (fourth button, third row). A thick border is added around all sides of the selected cells. Select the range A3:E3. On the Format menu, click Cells, and click the Border tab. The Format Cells dialog box appears with the Border tab on top.

6 7 8

On the Line, Style list, click the second line style in the second column. Click the Color down arrow, and click the Blue square (second row, sixth square). In the Border section of the dialog box, click the bottom border. In the dialog box Excel shows a preview of what the chosen border will look like.

9 10 11

Click OK, and click a blank cell in the worksheet. The Format Cells dialog box closes, and the blue border is added to your worksheet. Point to Toolbars on the View menu and click on Borders to open the Borders toolbar. Click the down arrow on the Line Style button and select the double line. The mouse pointer changes to a pencil with a line next to it and the Line Style button reflects the selection you have made. Click and drag under the text in cell B1. Then click the Draw Border button on the Borders toolbar to toggle the mouse icon back to the regular selection arrow. A double line is drawn under the text and your worksheet should look similar to the illustration on the following page.

12

Keep this file open for the next exercise.

10

Merging Cells
In this exercise, you merge cells both horizontally (multiple cells in the same row) and vertically (multiple cells in the same column), and you reformat the merged cells.
1 2 3 4 5 6 Open the file AW Guest Supplies stored in the Lesson03 folder located in the Spreadsheet Fundamentals Practice folder on your hard disk. Click cell A1 to select it, if necessary. Hold down the Shift key, and click cell F1. The range A1:F1 is selected. Click the Merge and Center button. The selected cells are merged into one cell, and the text is centered in the cell. Click cell A3, hold down the Shift key, and then click cell F3. The range A3:F3 is selected. Click the Merge and Center button. The selected cells are merged into one cell, and the text is centered in the cell, as shown in the illustration on the following page.

Select the range C4:C5, right-click the selected cells, and on the shortcut menu, click Format Cells. The Format Cells dialog box appears. Click the Alignment tab. The Alignment tab of the Format Cells dialog box appears on top.

11

9 10 11

Click the Vertical down arrow, and click Center. The selected cells will be centered vertically in the merged cell. In the Text control section of the dialog box, select the Wrap text check box. The text in the selected cells will wrap to two or more lines if the text does not fit on one line. In the Text control section of the dialog box, select the Merge cells check box, and click OK. The cells are now merged into a single cell, and the text is centered both vertically and horizontally in the merged cell. Click the right edge of the column selector for column C until the move pointer (two-headed arrow) appears. Drag the column selector for column C to the left until it is about 9 characters in width. The text in the merged cell wraps to a second line.

12 13

12

14 15 16 17 18

On the Standard toolbar, double-click the Format Painter button, and select the range D4:D5. Excel copies the merge formatting to the selected cells. Select the range E4:E5. Excel copies the merge formatting to the selected cells. Select the range F4:F5, and click the Format Painter button. Excel copies the merge formatting to the selected cells, the Format Painter is no longer activated, and the cell selection marquee around cell C4 disappears. On your own, use the column selectors to reduce the width of columns D, E, and F so that the text in the merged cells wraps to two lines for each column.

19

On the File menu, click Save As, type AW Guest Supplies 03, and then click the Save button. The file is saved with the new name.

13

También podría gustarte