+ Reply to Thread
Results 1 to 8 of 8

Highlighting cells rule issue

  1. #1
    Forum Contributor
    Join Date
    02-14-2013
    Location
    Biloxi, Ms
    MS-Off Ver
    2013 or 2016
    Posts
    115

    Highlighting cells rule issue

    I have a coulumn of numerical data that is based on criteria from other cells. If that criteria is met then it generates the number, if it's not met then it leaves the cell blank. I need to set up a highlight rule that says that if the numerical data is over 30 then it highlights it. I tried using the built in highlight greater than value rule, which works great, but it is also highlighting those cells that are left as blank.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,433

    Re: Highlighting cells rule issue

    Use the formula option and use =AND(...)

    http://www.excelforum.com/excel-form...lank-cell.html


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Highlighting cells rule issue

    If it's throwing a problem with text,

    Then I'd highlight based on a formula instead:

    Please Login or Register  to view this content.
    like that.

  4. #4
    Forum Contributor
    Join Date
    02-14-2013
    Location
    Biloxi, Ms
    MS-Off Ver
    2013 or 2016
    Posts
    115

    Re: Highlighting cells rule issue

    Here is the formula that is imbedded in the cells for that column:

    =IF(K10="APPROVED",L10-C10,IF(K10="REJECTED",TODAY()-C10,IF(K10="WORKING",TODAY()-C10,IF(K10="CANCELLED","",IF(K10="INITIAL REJECT","","")))))

    The results that I get when the criteria is either "CANCELLED" "INITIAL REJECT" or blank results in the cell being blank. Those are the cells that are still being highlighted even though their results are not over the 30 day limit that I am targeting.

  5. #5
    Forum Contributor
    Join Date
    02-14-2013
    Location
    Biloxi, Ms
    MS-Off Ver
    2013 or 2016
    Posts
    115

    Re: Highlighting cells rule issue

    Quote Originally Posted by ben_hensel View Post
    If it's throwing a problem with text,

    Then I'd highlight based on a formula instead:

    Please Login or Register  to view this content.
    like that.

    Tried that, but then it doesn't recognize any of them as numbers so it doesn't highlight any of them.
    Last edited by xrajncajnx; 05-07-2014 at 11:48 AM.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,433

    Re: Highlighting cells rule issue

    Make life easier for everyone, don't just describe your worksheet, upload a sample of the workbook.

  7. #7
    Forum Contributor
    Join Date
    02-14-2013
    Location
    Biloxi, Ms
    MS-Off Ver
    2013 or 2016
    Posts
    115

    Re: Highlighting cells rule issue

    Ideally in the sample I would like to see only what is either "WORKING" or "REJECTED" and over 30 days highlighted in yellow on the "Total Days in Review" cell, but if it can only recognize all that are over 30 days that's fine as well.
    Attached Files Attached Files

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,433

    Re: Highlighting cells rule issue

    As the link provided explained, use AND.

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



    Regards, TMS

+ 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. Exception rule for highlighting cells macro
    By slavicgrip in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-07-2013, 01:33 AM
  2. Copy cells and Insert by rule
    By inasucur in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-29-2012, 04:54 AM
  3. apply rule to multiple cells
    By antonyx in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 04-23-2007, 10:38 PM
  4. Textbox highlighting issue
    By peter.thompson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-27-2005, 04:29 PM
  5. Replies: 6
    Last Post: 08-28-2005, 05:05 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