+ Reply to Thread
Results 1 to 3 of 3

Date Forumla/Conditional Formatting

  1. #1
    Registered User
    Join Date
    09-04-2006
    Posts
    2

    Date Forumla/Conditional Formatting

    sorry in advance if this post is in the wrong forum but this one seemed best

    i am trying to set up a formula or conditional formatting rule such that if the date entered in the box is more that 6 months ago the box turns red. if its not more than 6 months ago nothing happens. i havn't got a clue how to do this so have turned to msj for help.

    if its possible to make it so that if the date is more than 4 months ago it turns orange and then turns red after the 6 month boundary has passed that would be great but i dont know if it can be done

    if anyone can help that would be really amazing and you would be saving my ***

    thanks all

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,697
    Try this

    Assuming your date is in cell A1. Select that cell

    Format > Conditional Formatting

    Select formula is option for condition 1 and use formula
    =(A1<>"")*(DATEDIF(A1,TODAY(),"m")>5)
    select red format then add a second condition and use formula
    =(A1<>"")*(DATEDIF(A1,TODAY(),"m")>3)
    select orange format

  3. #3
    Registered User
    Join Date
    09-04-2006
    Posts
    2
    thanks a lot, it worked a treat

+ 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