+ Reply to Thread
Results 1 to 12 of 12

Conditional Formatting - Combining 2 conditions

  1. #1
    Registered User
    Join Date
    02-09-2015
    Location
    London
    MS-Off Ver
    2013
    Posts
    92

    Conditional Formatting - Combining 2 conditions

    Hello,

    I have three columns:

    Column A: Start Date
    Column B: End Date
    Column C: Yes/No

    I would like the cells in Column A to highlight red if a) The date falls before today, and b) the cell in Column C reads 'No'.

    I can't seem to get the formula working for either condition. Any ideas?

    Thanks

  2. #2
    Forum Contributor LokeshKumar's Avatar
    Join Date
    03-31-2015
    Location
    India
    MS-Off Ver
    All, mostly 2010 now..
    Posts
    471

    Re: Conditional Formatting - Combining 2 conditions

    can you upload the sample file....
    Lokesh Kumar
    Stay Hungry.. Stay Foolish..
    _________________________________________________________
    Please Click STAR to Add Reputation if my/someone's answer helped!

  3. #3
    Registered User
    Join Date
    02-09-2015
    Location
    London
    MS-Off Ver
    2013
    Posts
    92

    Re: Conditional Formatting - Combining 2 conditions

    Of course, here you go
    Attached Files Attached Files

  4. #4
    Forum Contributor LokeshKumar's Avatar
    Join Date
    03-31-2015
    Location
    India
    MS-Off Ver
    All, mostly 2010 now..
    Posts
    471

    Re: Conditional Formatting - Combining 2 conditions

    Hi,
    You can use the following formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Here is your attachment....Book1.xlsx

    If your question is resolved, mark it SOLVED using the thread tools. Click on the star if you think some-1 helped you.

  5. #5
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Conditional Formatting - Combining 2 conditions

    hi ,

    which date would you like to check " The date falls before today "

    Punnam

  6. #6
    Registered User
    Join Date
    02-09-2015
    Location
    London
    MS-Off Ver
    2013
    Posts
    92

    Re: Conditional Formatting - Combining 2 conditions

    Lokesh Kumar, thank you!

    There's also one more thing I'd like to do - I would like an IF statement in Column D which tells me if a project is delayed.

    So in other words, the cell would read 'Delayed' if the start date falls before 'today' and and is not initiated, and 'On Track' if not.

  7. #7
    Forum Contributor LokeshKumar's Avatar
    Join Date
    03-31-2015
    Location
    India
    MS-Off Ver
    All, mostly 2010 now..
    Posts
    471

    Re: Conditional Formatting - Combining 2 conditions

    try this.....

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If your question is resolved, mark it SOLVED using the thread tools. Click on the star if you think some-1 helped you.

  8. #8
    Registered User
    Join Date
    02-09-2015
    Location
    London
    MS-Off Ver
    2013
    Posts
    92

    Re: Conditional Formatting - Combining 2 conditions

    Thank you!

  9. #9
    Registered User
    Join Date
    02-09-2015
    Location
    London
    MS-Off Ver
    2013
    Posts
    92

    Re: Conditional Formatting - Combining 2 conditions

    Sorry LokeshKumar - one more thing, if it's possible.

    I now have the following formula:

    =IF(AND(A1<TODAY(),C3="No"),"Delayed","On Track")

    ... Which works perfectly for me. However I would like to add one more condition - that if the date in Column A is in the future, then the formula produces a 'Future Project' output.

    Is this possible? I've tried tinkering with nested IF functions using the above formula, but can't get it working.

  10. #10
    Registered User
    Join Date
    12-26-2013
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Conditional Formatting - Combining 2 conditions

    Hai shaunguyver

    try this

    =IF(A1>TODAY(),"Future Project",IF(AND(A1<TODAY(),C3="No"),"Delayed","On Track"))

  11. #11
    Forum Contributor LokeshKumar's Avatar
    Join Date
    03-31-2015
    Location
    India
    MS-Off Ver
    All, mostly 2010 now..
    Posts
    471

    Re: Conditional Formatting - Combining 2 conditions

    Hey bro.....
    Try the following.....
    Paste in Column D second row.....
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  12. #12
    Registered User
    Join Date
    02-09-2015
    Location
    London
    MS-Off Ver
    2013
    Posts
    92

    Re: Conditional Formatting - Combining 2 conditions

    That has worked like a charm. Thank you so much for all of your efforts :-)

+ 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. Combining V Lookup with Conditional Formatting
    By Dougie12. in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-13-2015, 09:51 AM
  2. Delete Conditional Formatting conditions but keep cell formatting - Excel 2010
    By tetreama in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-09-2012, 08:28 PM
  3. [SOLVED] Combining Conditional Formatting Rules
    By LordOMJ in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-07-2012, 01:22 PM
  4. [SOLVED] Combining INDIRECT with OR for use in conditional formatting
    By ScotyB in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-06-2012, 01:17 AM
  5. Combining Conditions within conditional formula
    By NickHubble in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-23-2009, 12:00 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