18.11.2014 Views

Microsoft Office

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Entering and Editing Worksheet Data 3<br />

Entering date values<br />

Excel handles dates by using a serial number system. The earliest date that Excel understands is January 1,<br />

1900. This date has a serial number of 1. January 2, 1900, has a serial number of 2, and so on. This system<br />

makes it easy to deal with dates in formulas. For example, you can enter a formula to calculate the number<br />

of days between two dates.<br />

Most of the time, you don’t have to be concerned with Excel’s serial number date system. You can simply<br />

enter a date in a familiar date format, and Excel takes care of the details behind the scenes.<br />

For example, if you need to enter June 1, 2007, you can simply enter the date by typing June 1, 2007 (or<br />

use any of several different date formats). Excel interprets your entry and stores the value 39234, which is<br />

the date serial number for that date.<br />

The date examples in this book use the U.S. English system. Depending on your regional<br />

settings, entering a date in a format (such as June 1, 2007) may be interpreted as text rather<br />

than a date. In such a case, you need to enter the date in a format that corresponds to your regional date<br />

settings — for example, 1 June, 2007.<br />

NOTE<br />

CROSS-REF<br />

For more information about working with dates and times, refer to Chapter 13.<br />

Entering time values<br />

When you work with times, you simply extend Excel’s date serial number system to include decimals. In<br />

other words, Excel works with times by using fractional days. For example, the date serial number for June<br />

1, 2007, is 39234. Noon on June 1, 2007 (halfway through the day), is represented internally as 39234.5<br />

because the time fraction is simply added to the date serial number to get the full date/time serial number.<br />

Again, you normally don’t have to be concerned with these serial numbers (or fractional serial numbers, for<br />

times). Just enter the time into a cell in a recognized format.<br />

CROSS-REF<br />

Refer to Chapter 13 for more information about working with time values.<br />

Modifying Cell Contents<br />

After you enter a value or text into a cell, you can modify it in several ways:<br />

n<br />

n<br />

n<br />

Erase the cell’s contents<br />

Replace the cell’s contents with something else<br />

Edit the cell’s contents<br />

Erasing the contents of a cell<br />

To erase the contents of a cell, just click the cell and press Delete. To erase more than one cell, select all the<br />

cells that you want to erase and then press Delete. Pressing Delete removes the cell’s contents but doesn’t<br />

remove any formatting (such as bold, italic, or a different number format) that you may have applied to<br />

the cell.<br />

39

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!