+ Reply to Thread
Results 1 to 3 of 3

conditional formatting - problem with empty cell being formatted

  1. #1
    Registered User
    Join Date
    04-01-2010
    Location
    Worcester, UK
    MS-Off Ver
    Microsoft 365 (subscription)
    Posts
    53

    conditional formatting - problem with empty cell being formatted

    Hi all excel masters!
    I got a problem with setting conditional formatting, please see attached workbook.
    The rules I want to set:
    if number of rejections is above 5 - change cell colour to red (done that)
    if number of rejections is between zero and 5 - change cell colour to green (done that as well).
    The problem I am having is that empty cells (for future weeks) are coloured green as well, I would like them to remain white.
    Please help!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: conditional formatting - problem with empty cell being formatted

    Amended version attached.

    I've used an AND formula to change one of the conditional formats.
    So if the cell is blank it stays white.
    Attached Files Attached Files
    If I've been of help, please hit the star

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: conditional formatting - problem with empty cell being formatted

    For the green condition, use a formula

    =AND(ISNUMBER(C3),C3>=0)

    NOTE: Place the red condition first and green second.
    HTH
    Regards, Jeff

+ 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.6.0 RC 1