bottom
Excel 2007 Tips!
     
Your e-mail address is safe!
Close Note
excel2007.Tips.Net Welcome toExcel2007.Tips.Net

Helpful Links

Excel 2007 Home
Tips.Net Home

Ask a Question
Make a Comment

Bugs and Pests Tips
Cooking Tips
ExcelTips
Money Tips

Newest Tips

Negative Elapsed Times

Specifying the Number of MRU Files

Changing Data Series Ordering

Seeing How Excel Evaluates Formulas

Highlighting a Cell if It Contains Specific Text

Filling Shapes with Pictures

Creating a List of Worksheet Formulas

 

Adding Due Date Alerts

Summary: As a due date approaches, you might want Excel to let you know. It's easy to add any of several types of alerts, as illustrated in this tip.

Jonathan developed a worksheet that tracks due dates for various departmental documents. He wondered if there was a way for Excel to somehow alert him if the due date for a particular document was approaching.

There are several ways that this can be done in Excel, and you should pick the method that is best for your purposes. The first method is to simply add a column to your worksheet that will be used for the alert. Assuming your due date is in column F, you could place the following type of formula in column G:

=IF(F3<(TODAY()+7),"<<<","")

The formula checks to see if the date in cell F3 is earlier than a week from today. If so, then the formula displays "<<<" in the cell. The effect of this formula is to alert you to any date that is either past or within the next week.

Another approach is to use the conditional formatting capabilities of Excel. Follow these steps:

  1. Select the cells that contain the document due dates.
  2. Make sure the Home tab of the Ribbon is displayed.
  3. Click the Conditional Formatting option in the Styles group. On the resulting submenu, click Manage Rules. Excel displays the Conditional Formatting Rules Manager dialog box. (Click here to see a related figure.)
  4. Click the New Rule button. Excel displays the New Formatting Rule dialog box. (Click here to see a related figure.)
  5. In the Select a Rule Type list, choose Format Only Cells That Contain.
  6. Make sure the first drop-down list in the Edit the Rule Description area is "Cell Value." (This should be the default.)
  7. Make sure the second drop-down list is "Less Than."
  8. In the formula area, enter "=TODAY()" (without the quote marks).
  9. Click the Format button. Excel displays the Format Cells dialog box.
  10. Using the Color drop-down list, choose the color red.
  11. Click OK to close the Format Cells dialog box.
  12. Click OK. The Conditional Formatting Rules Manager dialog box reappears with your newly defined condition in it.
  13. Click the New Rule button. Excel displays the New Formatting Rule dialog box.
  14. In the Select a Rule Type List, choose Format Only Cells That Contain.
  15. Make sure the first drop-down list in the Edit the Rule Description area is "Cell Value." (This should be the default.)
  16. Make sure the second drop-down list is "Less Than."
  17. In the formula area, enter "=TODAY()+7" (without the quote marks).
  18. Click the Format button. Excel displays the Format Cells dialog box.
  19. Using the Color drop-down list, choose the color blue.
  20. Click OK to close the Format Cells dialog box.
  21. Click OK. The Conditional Formatting Rules Manager dialog box reappears with your newly defined condition in it. (The newly defined condition should actually be selected in the list of conditions.)
  22. Click the Move Down arrow. This moves the last condition you defined (steps 13 through 21) so it is in the proper order.
  23. Click OK to close the Conditional Formatting dialog box.

This is a two-tiered format, and you end up with two levels of alert. If the due date is already past, then it shows up as red. If the due date is today or within the next seven days, then it shows up in blue.