1. ENTERING, EDITING, AND MANAGING DATA
- Click cell location A2 on the worksheet.
- Type the word Month.
- Press the RIGHT ARROW key. This will enter the word into cell A2 and activate the next cell to the right.
- Type Unit Sales and press the RIGHT ARROW key.
- Repeat step 4 for the words Average Price and then again for Sales Dollars.
Figure 1.15 shows how your worksheet should appear after you have typed the column headings into Row 2. Notice that the word Price in cell location C2 is not visible. This is because the column is too narrow to fit the entry you typed. We will examine formatting techniques to correct this problem in the next section.
Click cell B3.
- Type the number 2670 and press the ENTER key. After you press the ENTER key, cell B4 will be activated. Using the ENTER key is an efficient way to enter data vertically down a column.
- Enter the following numbers in cells B4 through B14: 2160, 515, 590, 1030, 2875, 2700, 900, 775, 1180, 1800, and 4560.
- Click cell C3.
- Type the number 9.99 and press the ENTER key.
- Enter the following numbers in cells C4 through C14: 12.49, 14.99, 17.49, 14.99, 12.49, 9.99, 19.99, 19.99, 19.99, 17.49, and 14.99.
- Click cell D3.
- Type the number 26685 and press the ENTER key.
- Enter the following numbers in cells D4 through D14: 26937, 7701, 10269, 15405, 35916, 26937, 17958, 15708, 23562, 31416, and 75125.
- When finished, check that the data you entered matches Figure 1.16.
Figure 1.16 shows how your worksheet should appear after entering the data. Check your numbers carefully to make sure they are accurately entered into the worksheet.
Data that has been entered in a cell can be changed by double clicking the cell location or using the Formula Bar. You may have noticed that as you were typing data into a cell location, the data you typed appeared in the Formula Bar. The Formula Bar can be used for entering data into cells as well as for editing data that already exists in a cell. The following steps provide an example of entering and then editing data that has been entered into a cell location:
- Click cell A15 in the Sheet1 worksheet.
- Type the abbreviation Tot and press the ENTER key.
- Click cell A15.
- Move the mouse pointer up to the Formula Bar. You will see the pointer turn into a cursor. Move the cursor to the end of the abbreviation Tot and left click.
- Type the letters al to complete the word Total.
- Click the check mark to the left of the Formula Bar (see Figure 1.17). This will enter the change into the cell.
- Double click cell A15.
- Add a space after the word Total and type the word Sales.
- Press the ENTER key.
The Auto Fill feature is a valuable tool when manually entering data into a worksheet. This feature has many uses, but it is most beneficial when you are entering data in a defined sequence, such as the numbers 2, 4, 6, 8, and so on, or nonnumeric data such as the days of the week or months of the year. The following steps demonstrate how Auto Fill can be used to enter the months of the year in Column A:
- Click cell A3 in the Sheet1 worksheet.
- Type the word January and press the ENTER key.
- Click cell A3 again.
- Move the mouse pointer to the lower right corner of cell A3. You will see a small square in this corner of the cell; this is called the Fill Handle (See Figure 1.18) When the mouse pointer gets close to the Fill Handle, the white block plus sign will turn into a black plus (+) sign.
- Click the Auto Fill Options button.
- Click the Copy Cells option. This will change the months in the range A4:A14 to January.
- Click the Auto Fill Options button again.
- Click the Fill Months option to return the months of the year to the cell range A4:A14. The Fill Series option will provide the same result.
Deleting Data and the Undo Command
There are several methods for removing data from a worksheet, a few of which are demonstrated here. With each method, you use the Undo command. This is a helpful command in the event you mistakenly remove data from your worksheet. The following steps demonstrate how you can delete data from a cell or range of cells:
- Click cell C2.
- Press the DELETE key on your keyboard. This removes the contents of the cell.
Mac Users: Hold down the Fn key and press the Delete key
- Highlight the range C3:C14. Then left click and drag the mouse pointer down to cell C14.
- Place the mouse pointer over the Fill Handle. You will see the white block plus sign change to a black plus sign (+).
- Click and drag the mouse pointer up to cell C3 (see Figure 1.21). Release the mouse button. The contents in the range C3:C14 will be removed.
- Click the Undo button in the Quick Access Toolbar (see Figure 1.2). This should replace the data in the range C3:C14.
- Click the Undo button again. This should replace the data in cell C2.
Adjusting Columns and Rows
There are a few entries in the worksheet that appear cut off. For example, the last letter of the word September cannot be seen in cell A11. This is because the column is too narrow for this word. The columns and rows on an Excel worksheet can be adjusted to accommodate the data that is being entered into a cell using three different methods. The following steps explain how to adjust the column widths and row heights in a worksheet:
- Bring the mouse pointer between Column A and Column B in the Sheet1 worksheet, as shown in Figure 1.23. You will see the white block plus sign turn into double arrows.
- Click and drag the column to the right so the entire word September in cell A11 can be seen. As you drag the column, you will see the column width tip box. This box displays the number of characters that will fit into the column using the Calibri 11-point font which is the default setting for font/size.
- Release the left mouse button.
You may find that using the click-and-drag method is inefficient if you need to set a specific character width for one or more columns. Steps 1 through 6 illustrate a second method for adjusting column widths when using a specific number of characters:
- Click any cell location in Column A by moving the mouse pointer over a cell location and clicking the left mouse button. You can highlight cell locations in multiple columns if you are setting the same character width for more than one column.
- In the Home tab of the Ribbon, left click the Format button in the Cells group.
- Click the Column Width option from the drop-down menu. This will open the Column Width dialog box.
- Type the number 13 and click the OK button on the Column Width dialog box. This will set Column A to this character width (see Figure 1.24).
- Once again bring the mouse pointer between Column A and Column B so that the double arrow pointer displays and then double-click to activate AutoFit. This features adjusts the column width based on the longest entry in the column.
- Use the Column Width dialog box (step 6 above) to reset the width to 13.