+ Reply to Thread
Results 1 to 6 of 6

Help with Conditional Formating and formula with multiple conditions

  1. #1
    Registered User
    Join Date
    04-12-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    30

    Question Help with Conditional Formating and formula with multiple conditions

    Hi all!
    I have a schedule in Excel 2007 with dates and also a checkbox for each entry so it can be checked when completed. I have created a Conditional Format that formats the cells for each entry when the check box is ticked. I did this by connecting the checkbox with the cell the box is located in so it enters the value TRUE in that cell and triggers the formatting.

    But, now i am trying to use the same method to get the cells of the entry to be formated if the entry fails to be completed on it's set date. For this to work as desired i need to have a formula entered into Conditional Formatting that triggers when the date has passed and the checkbox connected cell is still empty. I have been thinking of a combination of IF and ISBLANK but i just can't get it to work.

    See attached example file for how the TRUE Conditional Format is working now.

    Hope someone can help
    Attached Files Attached Files

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

    Re: Help with Conditional Formating and formula with multiple conditions

    hi Snoddas, welcome to the forum. i noticed you have done your Conditional Formatting one by one. delete all of your existing rules & here's how you can do it. select the range you want to apply to (say from A3:C10)
    in Excel 2007 & above, go to Home -> Conditional Formatting -> New Rule -> Use a formula to determine which cells to format -> Format values where this formula is true:
    =$C3
    that is for your existing green

    to highlight those that fails to be completed, do the same steps again, but use this formula:
    =AND($A3<TODAY(),$C3=FALSE,$A3<>"")

    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

  3. #3
    Registered User
    Join Date
    04-12-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Help with Conditional Formating and formula with multiple conditions

    Hi Ben,
    Well i am thinking of using seperate Conditionals because i just want the row where i tick the checkbox to get marked.

    Thank you for that formula, but when i pasted it as is into the Format field of Conditional Formatting, Excel says that there is an error in the formula. Might you have missed something?

  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: Help with Conditional Formating and formula with multiple conditions

    I tried Bens formula in CF and it did not give an error message - but it also did not change any colors

    This will highlight all rows that have a check-mark...

    1. highlight the range you want to apply the conditional formatting to (A3:C4)
    2. on the home tab, styles, select CF
    3. select new rule, select use formula
    4. enter =$C3=TRUE format fill as required
    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

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

    Re: Help with Conditional Formating and formula with multiple conditions

    when encountering an error with our formulas, 1 possibility is that your region settings is using semi-colons instead of commas. you can try changing our formulas' commas to semi-colons.

    Quote Originally Posted by FDibbins View Post
    I tried Bens formula in CF and it did not give an error message - but it also did not change any colors
    attached file for what i think OP wants
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-12-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Help with Conditional Formating and formula with multiple conditions

    Quote Originally Posted by benishiryo View Post
    when encountering an error with our formulas, 1 possibility is that your region settings is using semi-colons instead of commas. you can try changing our formulas' commas to semi-colons.
    Brilliant! Why didn't i think of that LOL The change to Semi-colon did the trick Ben, formula works like a charm!

    Thank you so much for all your help.

+ 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. Conditional formating 7 conditions
    By ABSTRAKTUS in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-16-2011, 04:36 PM
  2. Replies: 10
    Last Post: 05-18-2010, 11:35 AM
  3. Can I use more than three conditions for conditional formating?
    By Jmaas in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-28-2006, 07:20 PM
  4. [SOLVED] More that 3 conditions for conditional formating?
    By Jerry Kinder in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 10-19-2005, 02:05 PM
  5. Conditional Formating 4 conditions
    By Roy in forum Excel General
    Replies: 1
    Last Post: 05-28-2005, 06:08 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