11.08.2013 Views

Excel's Formula - sisman

Excel's Formula - sisman

Excel's Formula - sisman

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

146<br />

Part II: Using Functions in Your <strong>Formula</strong>s<br />

Table 6-1: Date Entry Formats Recognized by Excel (continued)<br />

Entry Excel’s Interpretation (U.S. Settings) What Excel Displays<br />

6/18 June 18 of the current year 18-Jun<br />

6-18 June 18 of the current year 18-Jun<br />

18-Jun-2010 June 18, 2010 18-Jun-10<br />

2010/6/18 June 18, 2010 Windows short date<br />

As you can see in Table 6-1, Excel is pretty good at recognizing dates entered into a cell. It’s not<br />

perfect, however. For example, Excel does not recognize any of the following entries as dates:<br />

June 18 2010<br />

Jun-18 2010<br />

Jun-18/2010<br />

Rather, it interprets these entries as text. If you plan to use dates in formulas, make sure that<br />

Excel can recognize the date that you enter as a date; otherwise, the formulas that refer to these<br />

dates will produce incorrect results.<br />

If you attempt to enter a date that lies outside of the supported date range, Excel interprets it as<br />

text. If you attempt to format a serial number that lies outside of the supported range as a date,<br />

the value displays as a series of hash marks (#########).<br />

Understanding time serial numbers<br />

When you need to work with time values, you simply extend Excel’s date serial number system<br />

to include decimals. In other words, Excel works with times by using fractional days. For example,<br />

the date serial number for June 18, 2010, is 40347. Noon (halfway through the day) is represented<br />

internally as 40347.5.<br />

The serial number equivalent of 1 minute is approximately 0.00069444. The formula that follows<br />

calculates this number by multiplying 24 hours by 60 minutes and then dividing the result into 1.<br />

The denominator consists of the number of minutes in a day (1,440).<br />

=1/(24*60)<br />

Searching for dates<br />

If your worksheet uses many dates, you may need to search for a particular date by using Excel’s<br />

Find dialog box (which you can access with the Home➜Editing➜Find & Select➜Find command,<br />

or Ctrl+F). Excel is rather picky when it comes to finding dates. You must enter a full four-digit<br />

year into the Find What field in the Find dialog box. The format must correspond to how dates<br />

are displayed in the <strong>Formula</strong> bar.

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

Saved successfully!

Ooh no, something went wrong!