+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting with IF for 2 values

  1. #1
    Registered User
    Join Date
    02-03-2015
    Location
    Farmington, NM
    MS-Off Ver
    MS 2010
    Posts
    11

    Unhappy Conditional Formatting with IF for 2 values

    I need column D, to change to "Overdue" when the date in Column H>today(), but only when column 'I' is blank, and if possible highlight in red the cell in column 'H' that is overdue. If status in column 'D' says "Complete", I dont want it to change anything.

    I tried conditional formating on column 'H' for anything that was past todays date, but then it highlights in red also those which are completed and have a date in column 'I'

    Any thoughts?

    Thanks!

    conditional .jpg

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Conditional Formatting with IF for 2 values

    Try this in D...

    =if(and(H3>TODAY(),I3="","Overdue","Pending")
    Then you can use CF based on that column

    If you still have a problem, upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    02-03-2015
    Location
    Farmington, NM
    MS-Off Ver
    MS 2010
    Posts
    11

    Re: Conditional Formatting with IF for 2 values

    Hi, Thanks for the formula, i was hoping to utilize conditional formatting since the report gets updated weekly by another database and the formulas would vanish, but I was able to utilize a Macro and set to input the formula you provided. Thanks for your help!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Conditional Formatting with IF for 2 values

    Conditional formatting only changes a cell's appearance, not its contents. And if you copy/paste over a cell that contains CF, that CF will be replaced

+ 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. Formatting Cells with Date or Text Values in a Conditional Formatting Formula
    By Phil Hageman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-15-2014, 09:36 AM
  2. Replies: 1
    Last Post: 09-25-2013, 10:05 AM
  3. Conditional formatting for -/+ values
    By kisboros in forum Excel General
    Replies: 1
    Last Post: 11-21-2012, 11:37 PM
  4. Conditional Formatting... w/values?
    By gunkie in forum Excel General
    Replies: 3
    Last Post: 10-19-2006, 04:35 AM
  5. [SOLVED] Values w/conditional formatting
    By Fred Timmons in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-04-2005, 12:06 AM

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