+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting on date entry

  1. #1
    Registered User
    Join Date
    10-25-2010
    Location
    edmonton canada
    MS-Off Ver
    Excel 2007
    Posts
    86

    Conditional formatting on date entry

    I want to conditional format cell when I enter date that will change after the date has passed
    ie. Oct-16 entered

    on Oct 16 cell is filled green
    on Oct 17 cell will fill red until the cell beside it has a entry

    This is what I have so far I haven't added where the cell goes back to green when the cell beside has an entry

    ="IF(H3=TODAY())"
    Attached Files Attached Files

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Conditional formatting on date entry

    Hi there,

    Have a look at the Conditional Formatting used in the attached workbook and see if it does what you need.

    Hope this helps - please let me know how you get on.

    Regards,

    Greg M
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    10-25-2010
    Location
    edmonton canada
    MS-Off Ver
    Excel 2007
    Posts
    86

    Re: Conditional formatting on date entry

    this very close
    I want the color in B3 to change to red if the date entered in C3 is >B3
    and Green if =<B3

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: Conditional formatting on date entry

    If I understand then this works. Four rules are employed to produce the expected results.
    Rule #1: =AND(C3<>"",C3<=B3) [Green]
    Rule #2: =C3>B3 [Red]
    Rule #3: =B3=Today() [Green]
    Rule #4: =AND(B3<>"",B3< TODAY()) [Red]
    All rules are applied to the range B3:B20
    If this doesn't yield the expected results then please upload a spreadsheet that shows (manually fill cells) possible combinations of cells in columns B and C.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Conditional formatting on date entry

    Quote Originally Posted by JeteMc View Post
    Rule #1: =AND(C3<>"",C3<=B3) [Green]
    Rule #2: =C3>B3 [Red]
    Rule #3: =B3=Today() [Green]
    Rule #4: =AND(B3<>"",B3< TODAY()) [Red]
    If the above works (didn't check), this should too:

    Rule 1: =OR(AND(C3<>"",C3<=B3),B3=Today()) [Green]
    Rule 2: =OR(C3>B3,AND(B3<>"",B3< TODAY())) [Red]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Conditional formatting with auto entry
    By jdcarter in forum Excel General
    Replies: 8
    Last Post: 09-17-2015, 04:05 PM
  2. Conditional formatting with auto entry
    By jdcarter in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-14-2015, 06:50 PM
  3. [SOLVED] Data Validation Conditional Formatting allow entry into only one of two cells
    By dgibney in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-28-2015, 01:44 AM
  4. Replies: 4
    Last Post: 09-27-2011, 04:16 AM
  5. Conditional Formatting following a drop down box entry
    By tallonarcus in forum Excel General
    Replies: 7
    Last Post: 02-16-2011, 12:39 PM
  6. Formula entry syntax for conditional formatting?
    By dwest100 in forum Excel General
    Replies: 4
    Last Post: 08-21-2009, 02:23 PM
  7. Replies: 15
    Last Post: 07-23-2008, 06:59 AM

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