+ Reply to Thread
Results 1 to 6 of 6

Conditional Formatting with date range issue

  1. #1
    Registered User
    Join Date
    01-28-2014
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    16

    Conditional Formatting with date range issue

    Hi,

    I have a column of dates in column M, and in A1 I have the formula =TODAY() for today's date. I would like to conditionally format all of column M (up to row 198) so that it turns orange if the date in M is before today and after or equal to 3 working days before the date in M.

    I have this
    =AND($A$1<M2,$A$1>=(WORKDAY(M2,-3))) but it doesn't appear to be working because it's highlighting dates after todays date. Please can you help?

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Conditional Formatting with date range issue

    Try This!

    =AND(M1<$A$1,M1<=A1+3)

    Deep
    Cheers!
    Deep Dave

  3. #3
    Registered User
    Join Date
    01-28-2014
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Conditional Formatting with date range issue

    Thanks for your reply, however...

    =AND(M1<$A$1,M1<=A1+3) The bold part of this formula - this is saying todays date plus 3 days? this isn't what I'm after. It needs to be 3 working days before the date in column M.

    Thanks

  4. #4
    Registered User
    Join Date
    01-28-2014
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Conditional Formatting with date range issue

    Can anyone else help me with this?

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Conditional Formatting with date range issue

    Try this
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    01-28-2014
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Conditional Formatting with date range issue

    Thank you for your help. Within the workday bracket, should it be 3 or -3 if I want it to be 3 days before?

  7. #7
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Conditional Formatting with date range issue

    it is not clear.Explain with example.If today is 27/2/20145 what should be M1 values.

+ 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 formatting date range
    By rosetynt in forum Excel General
    Replies: 10
    Last Post: 01-28-2013, 06:15 PM
  2. Conditional Formatting Issue when using date [SOLVED]
    By SandyMarie321 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-02-2012, 11:02 AM
  3. Replies: 8
    Last Post: 11-15-2011, 12:29 PM
  4. Conditional formatting based on date range
    By RGB in forum Excel General
    Replies: 3
    Last Post: 05-23-2006, 12:45 PM
  5. [SOLVED] How do I set a date range for conditional formatting in a macro?
    By billo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-07-2005, 03: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