+ Reply to Thread
Results 1 to 4 of 4

using dates formulas for conditional formatting

  1. #1
    Registered User
    Join Date
    02-16-2015
    Location
    london
    MS-Off Ver
    office for mac
    Posts
    2

    Thumbs up using dates formulas for conditional formatting

    Hi, please can you help me with the following simple questions ..

    using conditional formatting, I need formula's for the following please ..


    question 1: turn a cell red if date 1 subtracted from date 2 is greater than/equal to +15 days
    question 2: turn a cell red if date 1 subtracted from date 2 is between +7 to +14 days
    question 3: turn a cell red if date 1 subtracted from date 2 is less than/equal to +6 days

    question 4: turn a cell red if date 1 subtracted from todays date is greater than/equal to +15 days
    question 5: turn a cell red if date 1 subtracted from todays date is less than/equal to -15 days

    thanks in advance
    Dave

  2. #2
    Forum Contributor
    Join Date
    02-15-2015
    Location
    Cecoslovacchia
    MS-Off Ver
    365 personal
    Posts
    100

    Re: using dates formulas for conditional formatting

    In Excel 2007+: select the range you are interested in >>>>Home ribbon tab>>>>Conditional Formatting>>>>>>New Rule...>>>>>Use a formula>>>to determine which cells to format


    =$B2-$A2>=15
    =E($B3-$A3>=7;$B3-$A3<=14)
    =$B4-$A4>=6
    =$B5-OGGI()>=15
    =$B6-OGGI()<=-15
    Last edited by GerryZucca; 02-16-2015 at 05:46 PM.

  3. #3
    Registered User
    Join Date
    02-16-2015
    Location
    london
    MS-Off Ver
    office for mac
    Posts
    2

    Re: using dates formulas for conditional formatting

    Hi Gerry, thank you very much, this was helpful.

    Speak soon

    D

  4. #4
    Forum Contributor
    Join Date
    02-15-2015
    Location
    Cecoslovacchia
    MS-Off Ver
    365 personal
    Posts
    100

    Re: using dates formulas for conditional formatting

    you are welcome!

+ 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: 11
    Last Post: 05-04-2014, 08:28 PM
  2. How to change conditional formatting with formulas concerning dates.
    By craig.norris in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-25-2014, 06:57 PM
  3. Replies: 4
    Last Post: 08-29-2013, 11:23 AM
  4. Conditional Formatting Formulas for Multiple Dates
    By smart_as in forum Excel General
    Replies: 4
    Last Post: 03-02-2011, 06:03 PM
  5. Conditional formatting formulas for dates
    By oakman in forum Excel General
    Replies: 6
    Last Post: 10-31-2007, 03:13 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