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.

Working with Dates and Times 13<br />

FIGURE 13.5<br />

Using formulas to determine the date for various holidays.<br />

ON the CD-ROM<br />

The workbook shown in Figure 13.5 also appears on the companion CD-ROM. The file is<br />

named holidays.xlsx.<br />

New Year’s Day<br />

This holiday always falls on January 1:<br />

=DATE(A1,1,1)<br />

Martin Luther King, Jr. Day<br />

This holiday occurs on the third Monday in January. This formula calculates Martin Luther King, Jr. Day for<br />

the year in cell A1:<br />

=DATE(A1,1,1)+IF(2

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

Saved successfully!

Ooh no, something went wrong!