+ Reply to Thread
Results 1 to 4 of 4

How to get Conditional Formatting to ignore blank cells?

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

    How to get Conditional Formatting to ignore blank cells?

    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
    Last edited by AndyHawke; 08-22-2012 at 08:29 AM. Reason: Solved

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: How to get Conditional Formatting to ignore blank cells?

    Hi Andy,

    try using ISblank function.. but be sure that it does'nt work if there is any formula even if the formula is fetching blank ("")..
    =isblank(E7)

    regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

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

    Re: How to get Conditional Formatting to ignore blank cells?

    dilipandey I salute you - thanks so much for this resolution - super quick and works perfectly! If I could click the star twice I would!

    Best regards,

    Andy

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: How to get Conditional Formatting to ignore blank cells?

    Cheers

    Please mark this thread as [SOLVED].. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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