+ Reply to Thread
Results 1 to 7 of 7

Conditional Formatting and week day delays

  1. #1
    Registered User
    Join Date
    09-12-2013
    Location
    Midlands, England
    MS-Off Ver
    Excel 2010
    Posts
    14

    Conditional Formatting and week day delays

    Hello all,

    I am trying to use Excel to calculate if a delay is present in a project, I have attached my spreadsheet.

    My idea is as follows:
    If the ordered date Column F is less than or equal to Column D then it highlights that cell in Column F green, and Column G green also.

    If the ordered date Column F is greater than Column D then it highlights that cell in Column F Red, and Column G red also, with this scenario Column H would be populated with the Working Days delay Column G-C.

    Any help is much appreciated on how to achieve this result.

    Thanks,

    Chris
    Attached Files Attached Files

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Conditional Formatting and week day delays

    Conditional formatting rules:
    Green: =F2<=D2
    Red: =F2>D2

    For H2 values try =IF(F2>D2,NETWORKDAYS(G2,C2),"")
    Last edited by PaulM100; 07-17-2018 at 08:41 AM.

  3. #3
    Registered User
    Join Date
    09-12-2013
    Location
    Midlands, England
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Conditional Formatting and week day delays

    Thank you Paul, The conditional formatting does not seem to work? I tried that and it always showed Green regardless.

    I shall try the H2 equation and update accordingly, thank you again.

  4. #4
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Conditional Formatting and week day delays

    Try these two:
    Green: =DATE(YEAR(F2),MONTH(F2),DAY(F2))<=DATE(YEAR(D2),MONTH(D2),DAY(D2))
    Red: =DATE(YEAR(F2),MONTH(F2),DAY(F2))>DATE(YEAR(D2),MONTH(D2),DAY(D2))
    Click the * to say thanks.

  5. #5
    Registered User
    Join Date
    09-12-2013
    Location
    Midlands, England
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Conditional Formatting and week day delays

    Thank you Paul, these worked a treat:
    "Try these two:
    Green: =DATE(YEAR(F2),MONTH(F2),DAY(F2))<=DATE(YEAR(D2),MONTH(D2),DAY(D2))
    Red: =DATE(YEAR(F2),MONTH(F2),DAY(F2))>DATE(YEAR(D2),MONTH(D2),DAY(D2))"

    However the Sum for H2 didn't appear to work, I must admit, I thought this was going to be simple, at the moment I stumped though.

  6. #6
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Conditional Formatting and week day delays

    For H2 you need the number of business days between Required Delivery Date and Estimated Delivery date, am I correct? If so, this should work:
    =IF(YEAR(G2)=1900,"",NETWORKDAYS(C2,G2)) and format it accordingly

  7. #7
    Registered User
    Join Date
    09-12-2013
    Location
    Midlands, England
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Conditional Formatting and week day delays

    Thank you Paul, you are a Star!!!

    You solved my dilemma

+ 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. Replies: 6
    Last Post: 02-15-2018, 11:54 PM
  2. Replies: 2
    Last Post: 10-03-2016, 08:35 AM
  3. [SOLVED] Highlight week number using Conditional formatting - shows incorrect week
    By spliffter in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 02-26-2016, 09:52 AM
  4. [SOLVED] Conditional Formatting to show week over week improvement/decline
    By erikw48 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 06-15-2015, 10:22 AM
  5. [SOLVED] Conditional Formatting for Day of Week
    By mdt175 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-13-2014, 08:21 PM
  6. [SOLVED] Conditional Formatting Depending on Day of the Week
    By Bisquick in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-13-2013, 04:25 AM
  7. Conditional Formatting Days of the Week
    By braydon16 in forum Excel General
    Replies: 3
    Last Post: 01-13-2011, 03:43 PM

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