+ Reply to Thread
Results 1 to 11 of 11

Thread: Conditional Formatting with multiple criteria

  1. #1
    Registered User
    Join Date
    11-09-2011
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    16

    Conditional Formatting with multiple criteria

    Hello everyone,
    The last time I posted in here out of frustration...the assistance was LIGHTENING fast! And I need to present a working version today! lol. So here I am again. I spent the better part of yesterday trying to figure this out and then closed without saving the progress I made! I am using Excel 2002/XP (we will be upgrading to 2010 in the fall so when I close a spreadsheet...it wont close all open files!)

    Here are the things I am trying to accomplish with the attached file:

    1. Have the 'Due' column tabulate how many days there are between the 'BF' column and TODAY()
    2a. If there are 6-10 days left - turn the cell yellow (text stays black)
    b. If there are 2-5 days left - turn the cell red (text stays black)
    c. If there are 1 or less days - turn the entire row red (text stays black)
    3. sort by the red rows , then red cells , then yellow cells , non-colored cells

    I hope that this is all possible with the version of Excel I am using...
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,647

    Re: Conditional Formatting with multiple criterion

    The attached has your CF rules added. To sort, simply sort on the Due column values (you can't sort on colour).
    Attached Files Attached Files
    Good luck.

  3. #3
    Registered User
    Join Date
    11-09-2011
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Conditional Formatting with multiple criterion

    AMAZING!! Thank you so much!!

  4. #4
    Registered User
    Join Date
    11-09-2011
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Conditional Formatting with multiple criterion

    One other quick question... As this is going to be a template for others, Is there any way to automatically sort the Due column?

  5. #5
    Valued Forum Contributor OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,647

    Re: Conditional Formatting with multiple criterion

    You would need code to do that. Personally I would not recommend it as I think it is hugely offputting to have the data suddenly move as you are entering it.
    Good luck.

  6. #6
    Registered User
    Join Date
    11-09-2011
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Conditional Formatting with multiple criterion

    ok... fair enough. I did forget one other conditional format question... (will be the last one...) I forgot to add the 'Completed' column and have attached a revised file. I would like to use an x in this column to represent when the task has been completed. Once there is an x entered all the formatting for that row would go back to normal and the cell in the 'Due' column would change to blank (or whatever would make it sort at the bottom). Is this possible? I am trying to make this template as user friendly as possible to try and avoid possible mistakes in deadlines...
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,647

    Re: Conditional Formatting with multiple criterion

    There is no Completed column there, but you merely alter the Due formula to something like
    =IF(OR(completed_column="X",E3=""),"",E3-TODAY())
    Good luck.

  8. #8
    Registered User
    Join Date
    11-09-2011
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Conditional Formatting with multiple criterion

    Sorry, I attached the wrong file... your formula is perfect! Thank you again for the speedy assistance and have a great day!

  9. #9
    Valued Forum Contributor OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,647

    Re: Conditional Formatting with multiple criterion

    My pleasure - you too!

    Also, please do not forget to mark the question Solved in accordance with forum rules.
    Good luck.

  10. #10
    Registered User
    Join Date
    02-11-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Conditional Formatting with multiple criteria

    hi RLSaSSy - Actually i m new to this address..just now whle searching saw ur question on Cond formattting as i require similar kind of help on tis.hope they will respond soon, if replied can u pls inform me..thanks..naaz..

    Quote Originally Posted by RLSaSSy View Post
    Hello everyone,
    The last time I posted in here out of frustration...the assistance was LIGHTENING fast! And I need to present a working version today! lol. So here I am again. I spent the better part of yesterday trying to figure this out and then closed without saving the progress I made! I am using Excel 2002/XP (we will be upgrading to 2010 in the fall so when I close a spreadsheet...it wont close all open files!)

    Here are the things I am trying to accomplish with the attached file:

    1. Have the 'Due' column tabulate how many days there are between the 'BF' column and TODAY()
    2a. If there are 6-10 days left - turn the cell yellow (text stays black)
    b. If there are 2-5 days left - turn the cell red (text stays black)
    c. If there are 1 or less days - turn the entire row red (text stays black)
    3. sort by the red rows , then red cells , then yellow cells , non-colored cells

    I hope that this is all possible with the version of Excel I am using...

  11. #11
    Registered User
    Join Date
    11-09-2011
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Conditional Formatting with multiple criteria

    Hello naaz. I have attached the final product with the conditional formatting for you. Hope this helps you!
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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.2.0