+ Reply to Thread
Results 1 to 5 of 5

Conditional Formatting Formula

  1. #1
    Registered User
    Join Date
    05-23-2011
    Location
    Indianapolis, IN
    MS-Off Ver
    Excel 2010
    Posts
    3

    Conditional Formatting Formula

    New to the forum....so thanks ahead of time.

    The Issue:

    Doing a spreadsheet that covers different tasks that need to be completed by a Target Date.

    So there are 3 columns.....Task, Target Date, and Date Completed.

    I'd like to format so that the cells turn Green, Yellow, Red based on the following:

    Green: There is some date in the "Date Completed" column so we know the task is done

    Yellow: It's within 2 days of the target date and there is nothing in the "Date Completed" column

    Red: Today is equal to the Target Date or sometime past it, and there is no value in the "Date Completed" column so we know it has not been completed and needs attention

    So I know how to conditional format using a formula, I'm just trying to figure out what the formulas should be....I assume there will be a set of 3 that applies to each row?

    Apologies again for my ignorance and thanks again for the help,

    Best,

    J

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Conditional Formatting Formula Help

    Assuming Target Date is B2, Date Completed is C2

    Green: =C2<>""
    Yellow: =AND(B2>TODAY(),B2<=TODAY()+2)
    Red: =B2<=TODAY()

  3. #3
    Registered User
    Join Date
    05-23-2011
    Location
    Indianapolis, IN
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Conditional Formatting Formula Help

    Worked perfectly....

    Any suggestions for copying this conditional formatting to multiple rows.....

    I got it working on one row, but i need it to work with like 200 others.

    Thanks again,

    J

  4. #4
    Registered User
    Join Date
    05-23-2011
    Location
    Indianapolis, IN
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Conditional Formatting Formula Help

    Also,

    I highlighted the whole row when i started the formatting....but the Fill Color only applies to the A cell of that row....is there anyway that it can turn the whole row that color??

    Thanks,

    J

  5. #5
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Conditional Formatting Formula Help

    You neeed to apply that formula to all the cells to be coloured, but make sure you make the column in the cell reference absolute.

+ 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