Excel XP

Enter, Edit, and Delete Data

Introduction

By the end of this lesson, you should be able to:

  • Enter text in a cell
  • Edit information in a cell
  • Delete information in a cell
  • Select multiple cells

Entering text in a cell

You can enter three types of data in a cell: text, numbers , and formulas . Text is any entry that is not a number or formula. Numbers are values used when making calculations. Formulas are mathematical calculations.

To enter data into a cell:

  • Click the cell where you want to type information.
  • Type the data. An insertion point appears in the cell as the data is typed.

    The Insertion Point
  • The data can be typed in either the cell or in the formula bar.

    Text is Entered in Cell or Formula Bar
  • Data being typed appears in the both active cell and the formula bar .

    Text Appears in Cell and Formula Bar When Typed
  • Notice the Cancel and Enter buttons in the formula bar.

    The Excel XP Formula Bar
  • Click the Enter button Enter button to end the entry and turn off the formula bar buttons.

Excel's AutoComplete feature keeps track of previously entered text. If the first few characters you type in a cell match an existing entry in that column, Microsoft Excel fills in the remaining characters for you.

Editing information in a cell

Information in a spreadsheet is likely to change over time. Information can be changed in two ways.

The quick and easy method:

  • Click the cell containing the information you want to change.
  • Type the new entry. The old entry is replaced by the new entry.

If the original entry is long and requires only a minor adjustment (in spelling, for example), you can directly edit the information in the cell.

To edit information in a cell:

Method 1: Direct cell editing

  • Double-click the cell containing the information you want to change.
  • The cell is opened for direct editing .

    Direct Cell Editing
  • Make the necessary corrections.
  • Press Enter or click the Enter button on the formula bar Enter button to complete the entry.

Method 2: Formula bar editing

  • Click the cell containing the information you want to change.
  • Edit the entry in the formula bar .

    Edit Information in the Formula Bar

Deleting information in a cell

To delete data that already appears in a cell:

  • Click the cell containing the information you want to delete.
  • Click the information displayed in the formula bar .
  • Click the Cancel button Cancel button to delete an entry and turn off the formula buttons.

OR

  • Click the cell containing the information you want to delete.
  • Press the Delete key , OR
  • Right-click and choose Clear Contents from the shortcut menu.

    Clear Contents selection on the Shortcut Menu

To delete data being typed but not yet added to the cell:

  • Cancel an entry by pressing the Escape key .

Using the Undo and Redo features

Sometimes you might do something to a spreadsheet that you didn't mean to, like type the wrong number in a cell. Excel XP allows you to undo an operation. Use the Undo button Undo button on the Standard toolbar to recover an error. The last single action is recoverable.

To undo recent actions one at a time:

  • Click the Undo button Undo button .

To undo several recent actions at once:

  • Click the arrow next to the Undo button .
  • Select the desired Undo operation(s) from the list.

    The Undo List Box
  • Microsoft Excel reverses the selected action and all actions that appear in the list above it.

An Undo operation can be canceled by applying a Redo . This is useful when an Undo operation was mistakenly applied. Remember, a redo is possible only if you have not changed an Excel spreadsheet since the last Undo operation was completed:

To redo an Undo operation:

  • Press the Redo button Redo button.

To redo several recent Undo actions at once:

  • Click the arrow next to Redo button.
  • Select the desired Redo operation from the list.
  • Microsoft Excel reverses the Undo operation.

Selecting multiple cells

The currently selected cell in Excel XP is called the active cell . You can also select a group of adjacent cells, or a cell range . Many operations can be done against a cell range, including moving, copying, deleting, and formatting. A cell range can be defined in different ways: select a specific range of cells, select multiple columns or rows, or select the entire worksheet.

To select a range of cells:

  • Move to the first cell in the range.
  • The mouse pointer becomes a large cross .
  • Click and hold the left mouse button and drag left or right, up or down to the last cell you want to select.
  • Release the mouse button.
  • The cells you selected are shaded.

    Cell Range

To select all cells in a column or row:

  • Click the gray column heading to select the entire column. Click and drag the cursor across other column headings to select those columns.

    Select All Cells in a Column
  • Click the gray row heading to select the entire row. Click and drag the cursor down through the row headings select those rows.

    Select All Cells in a Row

To select an entire worksheet:

  • Click the gray rectangle in the upper-left to select the entire worksheet.

    Select Entire Workbook

If the cells and columns you want to select are not directly next to one another, select one of the ranges you want to select, then hold down the Control key while selecting other ranges.

Use Cntrl Key to Select Specific Columns, Rows, Cells

Challenge!

  • Type the following data into your spreadsheet:

    In cell B1, type Name
    In cell C1, type Address
    In cell D1, type Phone
    In cell B2, type Jay
    In cell C2, type 123 Street
    In cell D2, type 555-5555
    In cell B3, type Lisa
    In cell C3, type 456 Street
    In cell D3, type 555-1213

  • Edit the label entered in cell B1 using the direct cell editing method. Change Name to First Name .
  • Delete the phone number that appears in cell D3.
  • Undo the last operation.
  • Edit the phone number entered in cell D3 using the formula bar editing method. Change the phone number to 555-1214 .
  • Select all the contents of any column or row.