+ Reply to Thread
Results 1 to 4 of 4

Date changing and colour changing if overdue

  1. #1
    Registered User
    Join Date
    04-12-2016
    Location
    Kildare, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    4

    Date changing and colour changing if overdue

    Hello,

    I've been struggling trying to sort out a datasheet for the last few weeks.

    I'm trying to get it so that a date is entered into cell B, then cell C auto-populates a date 2 months later for review. Then when a date is entered into cell D (when review is done), cell C says "Complete" in green, but if no date is put into cell D after 2 months cell C will turn red indicating that it is overdue. Also want it so that when cell B is blank nothing is in cell C.

    Is this even possible?

    Thanks
    Last edited by CiaraJ; 04-12-2016 at 11:39 AM. Reason: Solved

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Date changing and colour changing if overdue

    In cell C (lets say it's C2)
    =IF(ISNUMBER(D2), "Complete", IF(ISNUMBER(B2), EDATE(B2,2),""))

    Look at Conditional Formatting to get your Green and Red Cells
    http://www.contextures.com/xlCondFormat01.html
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    04-12-2016
    Location
    Kildare, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Date changing and colour changing if overdue

    Your an absolute life saver! Thank you it works beautifully!

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Date changing and colour changing if overdue

    Glad I could help.

+ 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. changing colour of cell if todays date equals the first day of the month
    By ConfusedaboutVBA in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-24-2013, 08:03 PM
  2. Combining codes and changing cell colour using date.
    By kawaitang in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-30-2013, 08:56 AM
  3. Replies: 3
    Last Post: 07-14-2012, 02:36 PM
  4. Changing colour on changing a Data Validation List added with VBA
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-16-2011, 08:15 AM
  5. Help changing colour of cell depending on date entered
    By dazlia in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-07-2011, 10:59 AM
  6. a cell changing colour base on date comparion
    By mambo84 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-09-2010, 02:59 AM
  7. Changing Colour of Date
    By Sleepy_Jess in forum Excel General
    Replies: 2
    Last Post: 06-18-2010, 12:20 PM
  8. Replies: 8
    Last Post: 08-22-2009, 10:03 AM

Tags for this Thread

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