+ Reply to Thread
Results 1 to 6 of 6

How to ignore blank cells in conditional formatting?

  1. #1
    Forum Contributor
    Join Date
    09-17-2009
    Location
    Torquay, England
    MS-Off Ver
    Excel 2013
    Posts
    253

    How to ignore blank cells in conditional formatting?

    I have tried to set up a list of cells to highlight in red any numerical values which are greater than 0 using conditional formatting.

    This works fine, except that all blank cells are also highlighted in red.

    Formula is currently:

    cell value is greater than 0

    What do I need to do to ignore the empty cells?

    Thanks in advance
    Last edited by Gooford; 02-15-2010 at 06:46 AM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: How to ignore blank cells in conditional formatting?

    Hi,

    Rather than using the Cell Value cond format, Use the Formula Is option and specify

    Please Login or Register  to view this content.
    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    09-17-2009
    Location
    Torquay, England
    MS-Off Ver
    Excel 2013
    Posts
    253

    Re: How to ignore blank cells in conditional formatting?

    ace cheers!

  4. #4
    Registered User
    Join Date
    08-22-2012
    Location
    england
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: How to ignore blank cells in conditional formatting?

    Hi,

    I have a sheet where I have a list of items which need to be completed by different dates. In column E I have the date which the item needs to be completed by and in column f I have the date it was actually completed by.

    I want E to display green if F includes a date (ie if the job is complete show green).
    I want E to display orange if F is less than two weeks from today
    I want E to display red if F is before today

    This is all fine... I've set up the following rules in E in the "use formula..." section:

    Show green: =F7>0
    Show orange: =(E7-TODAY())<14
    Show red: =(E7-TODAY())<0

    What I need is for the empty cells in E to have no formatting but instead they are all red. Since there are some rows which have nothing in (to seperate different sections) this looks messy. Since I won't be filling this in I don't want others to have to change the formatting.

    Any help would be gratefully received as my brain is hurting now. =)

    Thanks,

    AH

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

    Re: How to ignore blank cells in conditional formatting?

    Hi Andy & Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.
    HTH
    Regards, Jeff

  6. #6
    Registered User
    Join Date
    08-22-2012
    Location
    england
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: How to ignore blank cells in conditional formatting?

    Hi Jeff,

    Many thanks for the welcome.

    Sorry about breaking the rules... I should have read these more closely. New thread submitted.

    Thanks again,

    Andy

+ 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