+ Reply to Thread
Results 1 to 9 of 9

Conditional Formatting

  1. #1
    Registered User
    Join Date
    08-27-2015
    Location
    india
    MS-Off Ver
    2013
    Posts
    52

    Conditional Formatting

    HI , I need a formula for conditional formatting in which there will be two conditions to be highlighted :
    1. Cell should not be blank
    2. Date should be less than the current date
    if both of the above conditions are met change the color of the cell .

  2. #2
    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,779

    Re: Conditional Formatting

    If the cell contains a date, then it will not be blank, so why do you need the first condition?
    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.

  3. #3
    Registered User
    Join Date
    08-27-2015
    Location
    india
    MS-Off Ver
    2013
    Posts
    52

    Re: Conditional Formatting

    am not able to attach the file , pls find the screenshot for the same


    Capture.JPG
    Last edited by sweetfriend9; 06-20-2017 at 08:48 AM.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,552

    Re: Conditional Formatting

    Try the following formula as a conditional formatting rule: =AND(H2<>"",H2< TODAY())
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Conditional Formatting

    Is your data a table or a range?

    If it is a table, you can select the table column and apply the conditional formatting to that column only (stops at the end of the table).

    If you do it this way, you would select the Due Date column by left clicking directly over Due Date once your pointer turns into a down arrow > Conditional Formatting > New Rule > Use a formula

    =H2 < TODAY()

    Format: Fill color of your choice > OK > OK

  6. #6
    Registered User
    Join Date
    08-27-2015
    Location
    india
    MS-Off Ver
    2013
    Posts
    52

    Re: Conditional Formatting

    Thanks to all , it worked

  7. #7
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Conditional Formatting

    Glad we could help. If this solved your problem, please mark this thread as SOLVED.

  8. #8
    Registered User
    Join Date
    08-27-2015
    Location
    india
    MS-Off Ver
    2013
    Posts
    52

    Re: Conditional Formatting

    From where i could do that , pls help with the option for " SOLVED"

  9. #9
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Conditional Formatting

    It looks like the thread has been marked as SOLVED.

    FYI: to mark a thread as SOLVED,
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

+ 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: 1
    Last Post: 12-08-2016, 03:14 PM
  2. Replies: 1
    Last Post: 10-04-2016, 05:17 AM
  3. Conditional Formatting Removing Previous Conditional Formatting?
    By CravingGod in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2016, 01:02 PM
  4. Replies: 6
    Last Post: 01-08-2016, 06:44 PM
  5. Opening xlsm files with conditional formatting opens with removed conditional formatting
    By Martijn.Steenbakker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:38 AM
  6. Replies: 1
    Last Post: 09-20-2013, 06:23 PM
  7. Replies: 3
    Last Post: 05-15-2012, 04: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