+ Reply to Thread
Results 1 to 6 of 6

conditional format a blank cell

  1. #1
    Forum Contributor
    Join Date
    06-15-2010
    Location
    Oklahoma
    MS-Off Ver
    Excel 2019
    Posts
    168

    Question conditional format a blank cell

    Excel 2007: In cells that contain a formula, but is currently blank (has not yet returned a number based on the formula) I wish to set a conditional format that highlights the cell a particular color. I find I cannot use the “blank” conditional format function because there is a formula in the cell. Thank you for your assistance. Regards, Gary
    Last edited by allgeef; 08-11-2012 at 01:25 PM.

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

    Re: conditional format

    What does the formula return?

    Maybe...

    If 0 >> then =A1=0

    If blank >> then >> =LEN(A1)=0
    HTH
    Regards, Jeff

  3. #3
    Forum Contributor
    Join Date
    06-15-2010
    Location
    Oklahoma
    MS-Off Ver
    Excel 2019
    Posts
    168

    Re: conditional format

    The formula has not returned anything yet. As soon as the formula generates a number the cell now is set to highlight in a green. I wish the cell to highlight red while it is still void of a number, and then turn green when a number is generated. The formula is waiting for monthly inputs, while it waits I want the cell to be red. How do I set a conditional format that sees a cell with a formula but is presently blank?

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

    Re: conditional format a blank cell

    So if the cell is currently blank then within the formula you must have set it to ""

    If so then the =Len(A1)=0 should work

    Did you try =A1=0 >> format red and then for a number, =A1>0 >> format green

  5. #5
    Forum Contributor
    Join Date
    06-15-2010
    Location
    Oklahoma
    MS-Off Ver
    Excel 2019
    Posts
    168

    Re: conditional format a blank cell

    Thanks Jeffrey, I revisited your LEN suggestion with success. Regards, Gary

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

    Re: conditional format a blank cell

    Glad it worked out for you Gary and you are welcome Thanks for the feedback.

+ 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