+ Reply to Thread
Results 1 to 8 of 8

Date Formula & Conditional formating

  1. #1
    Registered User
    Join Date
    11-06-2020
    Location
    Semarang, Indonesia
    MS-Off Ver
    2010, 2016, 2021
    Posts
    23

    Date Formula & Conditional formating

    Hi Expert,

    I need help to make 2 conditions in conditional formatting
    I'm using google-sheet, the formula I'm using is

    =ARRAY_CONSTRAIN(ARRAYFORMULA(if(K6:K791="",,30+K6:K791)), 786, 1) ,, download to excel and change to → =IF(K6:K791="",,30+K6:K791)

    =AND($L6<TODAY(),$L6<>"") → for conditional formating

    error:

    1. why does the formula only work until row 791? I did change it to 1374 but the formula & conditional still doesn't work.
    2. what formula can I use to cancel/undo the first conditional (yellow highlight + red font) whenever Column M is populated/filled by date (so the font & highlight is back to normal)
    3. rows 21 to ~ are hide

    Thanks,
    CoKZz
    Last edited by CokZz; 09-19-2022 at 03:35 AM.

  2. #2
    Registered User
    Join Date
    11-06-2020
    Location
    Semarang, Indonesia
    MS-Off Ver
    2010, 2016, 2021
    Posts
    23

    Re: Date Formula & Conditional formating

    here the attachment
    Attached Files Attached Files

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,633

    Re: Date Formula & Conditional formating

    Change the Applies To box setting to this: =$B$6:$N$2374
    Attached Files Attached Files
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    11-06-2020
    Location
    Semarang, Indonesia
    MS-Off Ver
    2010, 2016, 2021
    Posts
    23

    Re: Date Formula & Conditional formating

    Hi Ali,

    Can you please let me know how to cancel conditional formatting =AND($L6<TODAY(),$L6<>"") if column M filled by date <=L6 ?
    Last edited by AliGW; 09-19-2022 at 03:06 AM. Reason: Please DON'T quote unnecessarily!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,633

    Re: Date Formula & Conditional formating

    Change the rule to this:

    =AND($M6>$L6,$L6<TODAY(),$L6<>"")

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

    Re: Date Formula & Conditional formating

    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 those who have helped you 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 all those who offered help.

  7. #7
    Registered User
    Join Date
    11-06-2020
    Location
    Semarang, Indonesia
    MS-Off Ver
    2010, 2016, 2021
    Posts
    23

    Re: Date Formula & Conditional formating

    Hi ali,

    I change to M6="",

    =AND($M6>$L6,$L6<TODAY(),$L6<>"")

    for now, is clear

    thank you!

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

    Re: Date Formula & Conditional formating

    OK - happy to 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. Conditional formating if date met
    By arman29 in forum Excel General
    Replies: 2
    Last Post: 08-12-2014, 10:38 AM
  2. Conditional formating for formula with current date
    By eorydc in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-02-2014, 07:39 AM
  3. Conditional Formating of cells based on today's date, and another date
    By dviolante10 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-24-2012, 02:32 PM
  4. Conditional Date Formating
    By martin harris in forum Excel General
    Replies: 4
    Last Post: 07-09-2012, 04:26 PM
  5. Replies: 15
    Last Post: 02-06-2011, 06:13 AM
  6. Replies: 6
    Last Post: 01-17-2011, 10:34 AM
  7. [SOLVED] Conditional formating w/ Date
    By Steven Stadelhofer in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-03-2005, 02:06 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