Sams Teach Yourself Office Productivity All in One
Authors: Perry G. M.
Published year: 2003
Pages: 359-361/474
Buy this book on amazon.com >>

Making Changes to the Worksheet

In a perfect society, you'd never need to edit your work. However, in the real world, you'll find yourself editing your cell entries time and time again. In addition to editing entries, you can delete an entry you've made. In fact, you can delete an entire row or column. You can also add rows and columns . A worksheet is a work-in-progress and, accordingly , can always be changed or improved.

Editing Cell Contents

Editing cell contents is easy. Double-click the cell that you want to edit and make your changes. You can edit the existing cell contents or replace them. When you're done, press the Enter key or one of the directional arrows, or click the green checkmark on the Formula bar to enter the new data into the cell. Cancel the edit by pressing Esc.

graphics/bookpencil_icon.gif

To quickly add to the end of cell contents, select the cell and press F2. The insertion point appears at the end of the existing cell contents. Type the addition to the cell and press Enter.


Clearing Cell Contents

Instead of editing a cell, you can clear the cell's contents. Clearing the contents of a cell is like using an eraser end of a pencil on the cell. Select the cells you want to clear and click the right mouse button. Choose Clear Contents from the shortcut menu, as shown in Figure 43.14. Keep in mind that the Clear Contents command does not place the cell contents on the Clipboard.

Figure 43.14. Use the shortcut menu to clear the contents of a cell.

graphics/43fig14.gif


Inserting and Deleting Cells

It's no problem to insert and delete cells in your worksheet. When you insert cells, Excel moves the remaining cells in the column or row in accordance with the direction you specify. Deleting cells is the opposite of inserting cells because the remaining cells are shifted to fill in the deleted cell .

graphics/alarmclock_icon.gif

Deleting a cell and clearing a cell are two very different actions. Deleting a cell removes the physical cell from the worksheet and forces the remaining cells to fill in the hole. Clearing a cell erases the contents of the cell, but leaves the cell still in the worksheet.



Working with Rows and Columns

Working with rows and columns is very much like working with cells on a larger scale. When you insert a row, the new row spans all the columns in the worksheets. New columns and rows don't contain data and are unformatted.

Insert a new row or column by clicking the spot where you want the new row or column to appear. If you want to insert more than one row or column, select the number of rows and columns you want. (For example, select three rows if you want to insert three new ones.) Click the Insert menu, as shown in Figure 43.15, and choose either Rows or Columns. Excel inserts new rows above the current row and inserts new columns to the left of the selected columns.

Figure 43.15. Add rows and columns from the Insert menu.

graphics/43fig15.gif

The following steps comprise an exercise in which you make some changes to the My Budget worksheet you started earlier, giving you a chance to put some of this knowledge to work. Don't worry if some of the changes don't make much sense; you're fine-tuning your skills right now.

  1. Highlight cells B6 through E6 on the My Budget worksheet and click the right mouse button.

  2. Choose Clear Contents from the shortcut menu that appears. As you see, you can clear the contents of one cell or a block of cells.

  3. Let's add a few rows. From any column, highlight a rectangular block of cells in rows 9, 10, and 11, as shown in Figure 43.16. Because you're going to insert three rows, you do not have to position the mouse pointer in a particular column.

    Figure 43.16. Your mouse pointer can be located in any column when you're inserting rows.

    graphics/43fig16.gif

  4. When the three rows are highlighted, click the Insert menu and choose Rows. Three blank rows are inserted above the first row you selected.

  5. Click in cell A9, type Tuition , and press the down arrow to move down. Enter Insurance and Savings in the cells A10 and A11.

  6. Select cell B5, the cell that contains the car expense and click Edit, Delete. The Delete dialog box, shown in Figure 43.17, appears. Make sure the option button next to Shift Cells Up is selected and click OK. Notice that the entry you'd made in the Groceries category for January was shifted upward.

    Figure 43.17. You need to choose the behavior of the remaining cells whenever you delete a cell.

    graphics/43fig17.gif

  7. Stop now and save the worksheet so you can work with it later. Click the Save button on the Standard toolbar or click File, Save. When the Save As dialog box appears, type My Budget in the filename box and click Save.

  8. If you're planning to go right on to the next hour , click File, Close. If you need a break before you continue, close Excel now by clicking File, Exit.

Sams Teach Yourself Office Productivity All in One
Authors: Perry G. M.
Published year: 2003
Pages: 359-361/474
Buy this book on amazon.com >>