Results 1 to 2 of 2
  1. #1
    SandyM
    Guest

    Date Conditional Formatting

    Everyday I have a spreadsheet imported from Dbase into Excel. In this sheet is a column "StartDate" that has a date I want to turn red, 3 days before TODAY. What is the correct formula, and how can the Dbase hold the formula for exporting? Or can a macro be created in Excel? Please reply to smenke@capsonic.com. Thank you!

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Date Conditional Formatting

    Select the topmost cell to be formatted, select Format, Conditional, Formula Is, enter
    "=ROUND(ThisSameCellAddress,0)<(ROUND(NOW(),0)-2)"
    in the box to the right, apply your formatting (font red, or fill red, or whatever), copy the format down the column as required.

    (Take out the rounding if you want the format to apply exactly 72 hours prior to the present moment.)
    -John ... I float in liquid gardens
    UTC -7ąDS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •