+ Reply to Thread
Results 1 to 17 of 17

Excel formula timesheet conditional formatting problem.

  1. #1
    Registered User
    Join Date
    01-30-2024
    Location
    Sarajevo
    MS-Off Ver
    Office 365
    Posts
    9

    Excel formula timesheet conditional formatting problem.

    I have a problem with timesheet that I'm working on. Actual days are not moving as they should based on starting date using conditional formatting. I suppose that problem is in formula so if someone could check the formulas and let me know how to fix it I would appreciate it. I've attached and spreadsheet.

    Screenshot 2024-01-30 081235.png

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,918

    Re: Excel formula timesheet conditional formatting problem.

    Two named ranges added:
    Cal.Sched ='CH GM Mobilisation Plan'!$H$6:INDEX('CH GM Mobilisation Plan'!$6:$6,LastSchedDate)
    LastSchedDate =MATCH(9E+303,'CH GM Mobilisation Plan'!$6:$6)
    Conditional Format formulas:
    Actual days (orange/stripe):
    Please Login or Register  to view this content.
    %comp (green)
    Please Login or Register  to view this content.
    MOB DAY (YELLOW):
    Please Login or Register  to view this content.
    Column B, C, D use random numbers for testing Press F9....
    Attached Files Attached Files
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    01-30-2024
    Location
    Sarajevo
    MS-Off Ver
    Office 365
    Posts
    9

    Re: Excel formula timesheet conditional formatting problem.

    Dear Ben

    Thank you so much for contribution, I've tested using random and it's working but when I try to add manual date on column "start date" nothing changes.
    Could you please checkScreenshot 2024-01-31 083615.png

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,209

    Re: Excel formula timesheet conditional formatting problem.

    Easier if you attach the workbook. NOT a picture of it. It may be the way that you have entered the date.

    It works fine here.

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    P
    Q
    R
    S
    T
    U
    V
    W
    X
    Y
    Z
    AA
    AB
    AC
    AD
    AE
    AF
    AG
    AH
    6
    ACTIVITY/DESCRIPTION
    START DATE
    PLANNED DAYS
    MOB DAY
    ACTUAL DAYS
    % Completion
    RESOURCE / RESPONSIBILITY
    11/13/23
    11/14/23
    11/15/23
    11/16/23
    11/17/23
    11/18/23
    11/19/23
    11/20/23
    11/21/23
    11/22/23
    11/23/23
    11/24/23
    11/25/23
    11/26/23
    11/27/23
    11/28/23
    11/29/23
    11/30/23
    12/1/23
    12/2/23
    12/3/23
    12/4/23
    12/5/23
    12/6/23
    12/7/23
    12/8/23
    12/9/23
    7
    MOBILISATION
    8
    Notification of award
    11/28/23
    12
    2
    1
    99%
    Sheet: CH GM Mobilisation Plan
    Last edited by AliGW; 01-31-2024 at 03:44 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    01-30-2024
    Location
    Sarajevo
    MS-Off Ver
    Office 365
    Posts
    9

    Re: Excel formula timesheet conditional formatting problem.

    Dear Ali

    Here is workbook.GCG Clarion GM Mobilisation (BVJ).xlsx

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,209

    Re: Excel formula timesheet conditional formatting problem.

    You need to enter dates with slashes, not dots (e.g. 11/14/23. NOT 11.14.23).

    See the top row in the attachment.
    Attached Files Attached Files
    Last edited by AliGW; 01-31-2024 at 04:02 AM.

  7. #7
    Registered User
    Join Date
    01-30-2024
    Location
    Sarajevo
    MS-Off Ver
    Office 365
    Posts
    9

    Re: Excel formula timesheet conditional formatting problem.

    I've tried and it that way and it's not working.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,209

    Re: Excel formula timesheet conditional formatting problem.

    Yws it is - see the attachment to post #6.

    You should be entering dates as dd/mm/yy for your locale, though: 14/11/23, NOT 11/14/23, which is US format mm/dd/yy).

  9. #9
    Registered User
    Join Date
    01-30-2024
    Location
    Sarajevo
    MS-Off Ver
    Office 365
    Posts
    9

    Re: Excel formula timesheet conditional formatting problem.

    AliGW yes you are right, now it's working thank you so much for your contribution.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,209

    Re: Excel formula timesheet conditional formatting problem.

    You might want to change the way that you are formatting dates - change it to SHORT DATE instead of CUSTOM.

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  11. #11
    Registered User
    Join Date
    01-30-2024
    Location
    Sarajevo
    MS-Off Ver
    Office 365
    Posts
    9

    Re: Excel formula timesheet conditional formatting problem.

    Dear Ben

    I've notice that if completion percentage is 0% there will be always one cell colored green. Is it possible change that if 0% of completion then no green colour on cell should be?

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,209

    Re: Excel formula timesheet conditional formatting problem.

    Try changing the green rule to:

    =AND($F8>0,((INDEX(Cal.Sched,COLUMN()-7)=MEDIAN($B8,INDEX(Cal.Sched,COLUMN()-7),$B8+ROUNDDOWN($C8*$F8,0)))*3)=3)

  13. #13
    Registered User
    Join Date
    01-30-2024
    Location
    Sarajevo
    MS-Off Ver
    Office 365
    Posts
    9

    Re: Excel formula timesheet conditional formatting problem.

    Hmm it's not working only what happen that green colour disappear, but then when I try to add some percentage nothing happens.

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,209

    Re: Excel formula timesheet conditional formatting problem.

    Again, provide a workbook! It's working fine here - you have probably done something incorrectly again. Who knows witbout seeing the workbook???

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    8
    Notification of award
    11/14/23
    7
    3
    3
    2%
    9
    Carry out debriefing meeting with bidding team
    11/14/23
    14
    1
    5
    0%
    10
    Issue Mobilisation plan
    11/14/23
    12
    4
    5
    15%
    Sheet: CH GM Mobilisation Plan

  15. #15
    Registered User
    Join Date
    01-30-2024
    Location
    Sarajevo
    MS-Off Ver
    Office 365
    Posts
    9

    Re: Excel formula timesheet conditional formatting problem.

    Thank you again for response, it works now, reason why it was not working was because I added one more row so instead of F8 I had to use F9 row

  16. #16
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,209

    Re: Excel formula timesheet conditional formatting problem.

    OK - make sure you have it as $F9 in the rule, and not just F9.

    In future, test proposed solutions BEFORE making other changes!!!

  17. #17
    Registered User
    Join Date
    01-30-2024
    Location
    Sarajevo
    MS-Off Ver
    Office 365
    Posts
    9

    Re: Excel formula timesheet conditional formatting problem.

    Sure thank you again.

+ 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 with formula problem
    By chuath in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-27-2023, 09:34 AM
  2. conditional formatting formula problem
    By eugz in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-19-2022, 12:06 AM
  3. Conditional Formatting Using Formula Problem
    By sharpbriar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2020, 06:23 AM
  4. [SOLVED] Conditional Formatting Timesheet
    By ismailshajji in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-07-2019, 12:47 PM
  5. [SOLVED] Conditional Formatting formula problem
    By rajeshn_in in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-23-2016, 08:41 AM
  6. Replies: 7
    Last Post: 06-27-2016, 01:11 AM
  7. Conditional Formatting formula problem
    By ddub25 in forum Excel General
    Replies: 3
    Last Post: 01-21-2010, 08:24 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