+ Reply to Thread
Results 1 to 2 of 2

Dates in Conditional Formatting help!!!

  1. #1
    Corey
    Guest

    Dates in Conditional Formatting help!!!

    I want to set up CONDITIONAL FORMATTING with Dates.
    I want to set it so that if the date value in a cell has passed (expired)
    the it will be shaded RED,
    If the date value is in the next 14days then it wil be shaded yellow,
    If the date value in the cel is greater than 14 away yet less than 30 days
    then the shade to be green.
    If the date value is > than 30 days from today then the shading to remain
    white.

    How i have set it up is as follows:

    sheet1=input sheet (to enter dates)
    sheet2= frequecy values in coresponding cells to sheet1(1,2,3,5 years)
    sheet3=shaded sheet. This sheet to display the date values that are:

    sheet1 input date + sheet2 frequency(yrs)= sheet3 cell value

    How do i get the sheet3 dates to be calulated from sheet1 with sheet2 added
    to them?

    And then to shade them as above??

    Regards

    Corey



  2. #2
    Bob Phillips
    Guest

    Re: Dates in Conditional Formatting help!!!

    =Date(Year(Sheet1!A2)+Sheet2!A2,Month(Sheet1!A2),Day(Sheet1!A2))

    To shade them set the condition to formula is in CF and add conditions, with
    a formula of

    =A2<TODAY()

    =A2<TODAY()+14

    =A2<TODAY()+30

    --
    HTH

    Bob Phillips

    (replace somewhere in email address with gmail if mailing direct)

    "Corey" <coreymcconnell@splicetech.com.au> wrote in message
    news:uLFaaKTsGHA.4596@TK2MSFTNGP04.phx.gbl...
    > I want to set up CONDITIONAL FORMATTING with Dates.
    > I want to set it so that if the date value in a cell has passed (expired)
    > the it will be shaded RED,
    > If the date value is in the next 14days then it wil be shaded yellow,
    > If the date value in the cel is greater than 14 away yet less than 30 days
    > then the shade to be green.
    > If the date value is > than 30 days from today then the shading to remain
    > white.
    >
    > How i have set it up is as follows:
    >
    > sheet1=input sheet (to enter dates)
    > sheet2= frequecy values in coresponding cells to sheet1(1,2,3,5 years)
    > sheet3=shaded sheet. This sheet to display the date values that are:
    >
    > sheet1 input date + sheet2 frequency(yrs)= sheet3 cell value
    >
    > How do i get the sheet3 dates to be calulated from sheet1 with sheet2

    added
    > to them?
    >
    > And then to shade them as above??
    >
    > Regards
    >
    > Corey
    >
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1