+ Reply to Thread
Results 1 to 10 of 10

Conditional formating-format the cell background "Red".

  1. #1
    Registered User
    Join Date
    07-25-2006
    Posts
    4

    Conditional formating-format the cell background "Red".

    Need help figuring out a formula please.

    If "date entered" in cell exceedes todays date by 4 days, then format the cell background "Red".

    Thanks so much for any help you can give.

  2. #2
    Bob Phillips
    Guest

    re: Conditional formating-format the cell background "Red".

    Use a formula of

    =A2>=TODYA()+4

    where A2 is assumed as the first cell with CF

    "Unplugged" <[email protected]> wrote
    in message news:[email protected]...
    >
    > Need help figuring out a formula please.
    >
    > If "date entered" in cell exceedes todays date by 4 days, then format
    > the cell background "Red".
    >
    > Thanks so much for any help you can give.
    >
    >
    > --
    > Unplugged
    > ------------------------------------------------------------------------
    > Unplugged's Profile:

    http://www.excelforum.com/member.php...o&userid=36751
    > View this thread: http://www.excelforum.com/showthread...hreadid=564685
    >




  3. #3
    Bernard Liengme
    Guest

    re: Conditional formating-format the cell background "Red".

    Click on the cell (let's call it A1)
    Use Format | Conditional Formatting
    Formula: $A$1-TODAY()>4
    Then set colour as needed
    best wishes
    --
    Bernard V Liengme
    www.stfx.ca/people/bliengme
    remove caps from email

    "Unplugged" <[email protected]> wrote
    in message news:[email protected]...
    >
    > Need help figuring out a formula please.
    >
    > If "date entered" in cell exceedes todays date by 4 days, then format
    > the cell background "Red".
    >
    > Thanks so much for any help you can give.
    >
    >
    > --
    > Unplugged
    > ------------------------------------------------------------------------
    > Unplugged's Profile:
    > http://www.excelforum.com/member.php...o&userid=36751
    > View this thread: http://www.excelforum.com/showthread...hreadid=564685
    >




  4. #4
    Bob Phillips
    Guest

    re: Conditional formating-format the cell background "Red".

    Should be TODAY() of course


    "Bob Phillips" <[email protected]> wrote in message
    news:uYRPVx#[email protected]...
    > Use a formula of
    >
    > =A2>=TODYA()+4
    >
    > where A2 is assumed as the first cell with CF
    >
    > "Unplugged" <[email protected]> wrote
    > in message news:[email protected]...
    > >
    > > Need help figuring out a formula please.
    > >
    > > If "date entered" in cell exceedes todays date by 4 days, then format
    > > the cell background "Red".
    > >
    > > Thanks so much for any help you can give.
    > >
    > >
    > > --
    > > Unplugged
    > > ------------------------------------------------------------------------
    > > Unplugged's Profile:

    > http://www.excelforum.com/member.php...o&userid=36751
    > > View this thread:

    http://www.excelforum.com/showthread...hreadid=564685
    > >

    >
    >




  5. #5
    Registered User
    Join Date
    07-25-2006
    Posts
    4

    Thanks so much but...

    Wow! Thanks so much for the quick reply.
    Thought your formula works for the question I asked, I'm afraid I incorrectly asked my question.
    My apologies. I will try again.

    In Cell A1 I have entered a date. Eg. 01/01/06
    What I want is for that cell to turn red when 4 days have passed the entered date.

    Looking forward to your reply.
    Cheers

  6. #6
    Bob Phillips
    Guest

    re: Conditional formating-format the cell background "Red".

    Exactly 4 days?

    =A2=TODAY()-4

    or more than 4 days?

    =A2<=TODAY()-4

    --
    HTH

    Bob Phillips

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

    "Unplugged" <[email protected]> wrote
    in message news:[email protected]...
    >
    > Wow! Thanks so much for the quick reply.
    > Thought your formula works for the question I asked, I'm afraid I
    > incorrectly asked my question.
    > My apologies. I will try again.
    >
    > In Cell A1 I have entered a date. Eg. 01/01/06
    > What I want is for that cell to turn red when 4 days have passed the
    > entered date.
    >
    > Looking forward to your reply.
    > Cheers
    >
    >
    > --
    > Unplugged
    > ------------------------------------------------------------------------
    > Unplugged's Profile:

    http://www.excelforum.com/member.php...o&userid=36751
    > View this thread: http://www.excelforum.com/showthread...hreadid=564685
    >




  7. #7
    Registered User
    Join Date
    07-25-2006
    Posts
    4

    got it working, but with one more small issue.

    OK
    I got it to work by using
    =TODAY()>A1+4
    The cell now turns 'red' when 4 days have passed, which is exactly what I wanted.

    Now the only problem is...
    When I copy that conditional formating to another cell, which is 'empty', it gets filled in with 'red'.
    Is there a way to stop this from happening?

    Thanks again.

  8. #8
    Michael Behm
    Guest

    re: Conditional formating-format the cell background "Red".

    You could use an "IF" statement in your conditional formula:

    =IF(COUNT(A1)<>0,TODAY()>A1+4,0)

    Then if there's something in the cell, it checks the date, otherwise, it
    assumes you don't want to conditionally format it.

    Michael


    "Unplugged" <[email protected]> wrote in
    message news:[email protected]...
    >
    > OK
    > I got it to work by using
    > =TODAY()>A1+4
    > The cell now turns 'red' when 4 days have passed, which is exactly what
    > I wanted.
    >
    > Now the only problem is...
    > When I copy that conditional formating to another cell, which is
    > 'empty', it gets filled in with 'red'.
    > Is there a way to stop this from happening?
    >
    > Thanks again.
    >
    >
    > --
    > Unplugged
    > ------------------------------------------------------------------------
    > Unplugged's Profile:
    > http://www.excelforum.com/member.php...o&userid=36751
    > View this thread: http://www.excelforum.com/showthread...hreadid=564685
    >




  9. #9
    Bob Phillips
    Guest

    re: Conditional formating-format the cell background "Red".

    =AND(A1<>"",TODAY()>A1+4)


    --
    HTH

    Bob Phillips

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

    "Unplugged" <[email protected]> wrote in
    message news:[email protected]...
    >
    > OK
    > I got it to work by using
    > =TODAY()>A1+4
    > The cell now turns 'red' when 4 days have passed, which is exactly what
    > I wanted.
    >
    > Now the only problem is...
    > When I copy that conditional formating to another cell, which is
    > 'empty', it gets filled in with 'red'.
    > Is there a way to stop this from happening?
    >
    > Thanks again.
    >
    >
    > --
    > Unplugged
    > ------------------------------------------------------------------------
    > Unplugged's Profile:

    http://www.excelforum.com/member.php...o&userid=36751
    > View this thread: http://www.excelforum.com/showthread...hreadid=564685
    >




  10. #10
    Registered User
    Join Date
    07-25-2006
    Posts
    4

    Thank You

    Thanks so much for all your help people.
    It now works perfectly!

    Really nice to know there are people out there who are so generous with their knowledge and time.

    Best wishes, and thanks again.

+ 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