+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting ignoring null values

  1. #1
    Registered User
    Join Date
    12-21-2006
    Posts
    35

    Angry Conditional formatting ignoring null values

    Hi,

    Im using Excel 2010 and i have managed to conditionaly format my cells based on the the column in front of it, however I donít want the cell to condiotinally format if there is no data in it.

    For example I have in column F a list of numbers and in column E a number of statuses ie (red, amber or green). Now I want the cells in column F to change colour based on the status but i dont want the cell to change colur if there is not a value present in the cell in colum F. Can anyone help with this?

    In the example below i want the cells with the numbers 10, 5 and 12 to turn their respective colours but i dont want the empty cell to turn green.

    e.g.

    Column E F
    Green 10
    Red 5
    Green
    Amber 12

    Many thanks in advance.

  2. #2
    Registered User
    Join Date
    08-06-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    80

    Re: Conditional formatting ignoring null values

    In conditional Format go to "Manage Rules", then click on "New Rule". Once you've done this select "Use a formulae to ..."

    Now put this code in

    =IF(F1="",TRUE,FALSE)

    Then you just need to format this to a blank format. Click the stop when true selection box and that should do it for you

    Any questions then let me know

  3. #3
    Forum Guru Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,067

    Re: Conditional formatting ignoring null values

    Conditional formatting--Blanks--No format
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Registered User
    Join Date
    12-21-2006
    Posts
    35

    Re: Conditional formatting ignoring null values

    Fantastioc Jockeny - thats done the trick, thank you very much.

  5. #5
    Registered User
    Join Date
    08-06-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    80

    Re: Conditional formatting ignoring null values

    You're welcome

+ 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