+ Reply to Thread
Results 1 to 5 of 5

formula for conditional formatting (count of dates)

  1. #1
    Registered User
    Join Date
    01-07-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    10

    formula for conditional formatting (count of dates)

    Hi all,

    Need help with the following conditional formatting.
    I have a few conditions in the "status" column and where if the test is "closed" or if the cell is blank there will not be any colour change to the cell.
    However if base on the date, if the recieved date is more than or equal to 30 the cell should be highlighted red. I'm unable to get the formula for it to work correctly, please refer to the sample excel provided.

    Thanks a lot!

    sample book.xlsx

  2. #2
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: formula for conditional formatting (count of dates)

    Try this as the CF formula: =AND(TODAY()-A2>=30,OR(B2<>"",B2<>"Closed"))
    ------------------
    Any good? Wave it, click on the little star at the bottom left of my responses
    Last edited by Max, Singapore; 02-04-2014 at 04:39 AM.

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: formula for conditional formatting (count of dates)

    hi there~ didn't hear from you since your last question on frequency. delete your existing rules & select B2:B205. use this formula:
    =AND(B2<>"",B2<>"Closed",$E$1-A2>=30)
    Attached Files Attached Files
    Last edited by benishiryo; 02-04-2014 at 04:58 AM. Reason: added file

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Registered User
    Join Date
    01-07-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: formula for conditional formatting (count of dates)

    Hey guys,

    thanks for your reply, but doesnt seem to work for me when i enter it, is there a formula that would help without deleting the other 2 conditions? So that it would only be concern with calculation of the date only.

    Hey ben! sorry totally forgot about that thread, was too busy with work.

  5. #5
    Registered User
    Join Date
    01-07-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: formula for conditional formatting (count of dates)

    Hey guys really thank you for all your suggestions and help i seem to have found the solution, i replaced the forumla with =TODAY()-A2:A213>=30 and it worked alright.

    Thanks again, appreciate it and Happy Chinese New Year to all! HUAT AH!

+ 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] Count conditional formatting formula
    By igloo_sw in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-29-2013, 09:58 PM
  2. default conditional formatting formula for dates
    By wormssss in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-09-2013, 03:49 PM
  3. Formula or conditional formatting for dates
    By Phillipengela in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-05-2013, 02:11 PM
  4. [SOLVED] Conditional Formatting or formula for comparing dates
    By sweetds in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-23-2013, 10:34 AM
  5. Replies: 8
    Last Post: 03-05-2005, 08: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