+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting for cells based on dates in subsequent cells

  1. #1
    Registered User
    Join Date
    07-08-2014
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2010
    Posts
    15

    Conditional Formatting for cells based on dates in subsequent cells

    Hi - I'm new to the forum and this is my first post. I know very little about conditional formatting but I've been trying to set up a formula to highlight cells dependant whether a date has been entered into any one of a number of subsequent cells. I've modified a formula that I got from another spreadsheet but this only does part of the job.

    This is the scenario:
    I've got a spreadsheet for my project the contains six milestones (Start, IDC, IFR, RETCOM, IFA, AFC), each of which have Planned, Forecast and Actual date columns.
    Any empty cell in any 'Actual' column should show red if the corresponding milestone 'Forecast' date is overdue (using today's date as the overdue indicator). If there is no date in the 'Forecast' cell then the comparison should be on the 'Planned' cell.
    So far I have gotten this part to work correctly.

    What I need it to do now is this:
    If any date is found to be overdue, a check should be made on all the subsequent 'Actual' cells within the row. If any of these 'Actual' cells contains a date then the preceding 'Actual' cell should not be highlighted. For example:
    The 'Forecast' date for milestone IFR is overdue but there is a date in the 'Actual' cell for the subsequent RETCOM milestone. This means that the IFR 'Actual' cell should not show red.

    I would be grateful if anyone can help with this. (Tried to attach my excel spreadsheet with the coding I have already but I'm getting an error!)

  2. #2
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Conditional Formatting for cells based on dates in subsequent cells

    hi Bcmilne..
    It would be easier for us to solve your problem ...
    if you provide a non sensitive workbook...


    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    07-08-2014
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Conditional Formatting for cells based on dates in subsequent cells

    Managed to attach my file now - there was an add-in in the program that was causing an error to occur when I tried to upload before. The file contains the Conditional Formatting that I've applied so far.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    07-08-2014
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Conditional Formatting for cells based on dates in subsequent cells

    Hey - I got a sudden brainwave and have managed to get my formula to work! Not sure where it came from but I'm very happy now! I'll give myself a gold star for this.

    Thanks to anyone was already having a look at this.

    For those interested my final coding for the six columns is:

    Please Login or Register  to view this content.

+ 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. [SOLVED] Conditional Formatting cells based on dates entered
    By Aquarock in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-29-2013, 12:54 AM
  2. Using Conditional Formatting to highlight cells based on approaching dates
    By BrutalExcel in forum Excel - New Users/Basics
    Replies: 11
    Last Post: 06-12-2013, 11:56 AM
  3. [SOLVED] Conditional formatting based on dates and blank cells
    By formatting freak in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-10-2013, 09:23 AM
  4. [SOLVED] Conditional formatting based on dates in a range of cells
    By pmerobertson in forum Excel General
    Replies: 8
    Last Post: 01-10-2013, 12:50 PM
  5. conditional formatting for dates based on three three cells.
    By jwelch176 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-31-2012, 03:03 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