+ Reply to Thread
Results 1 to 8 of 8

conditional formatting

Hybrid View

  1. #1
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    conditional formatting

    Hi Guys

    Cells B10:B107 contain the formula

    =IF(O10="","",NETWORKDAYS(TODAY(),O10)&" days ")
    which acts as (in this case) a deadline countdown which tell the user how many days there are left to respond to a complaint.

    I wanted to add conditional formatting so it is very clear at a glance which ones are urgent.

    Red = <=5
    Amber = Between 6 & 9
    Green = >=10

    The issue i am encountering is the the Blank Cells within the range b10:b107 (blank as Col 0 is unpopulated) are appearing as (Format) green I would like them to be left without formating! Any ideas on how to achieve this ? cheers

    See database tab of attachment col B

    Thanks for your response.
    Attached Files Attached Files
    Last edited by Blake 7; 02-15-2012 at 10:31 AM.
    Blake 7

    If your question has been answered, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If any member's response has helped to solve your problem, please consider using the scales icon on the top right of their post to show your appreciation.

    http://failblog.org/

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: conditional formatting

    Change the Red condition to: use a formula to determine which cells to format and use formula:

    =AND(B10<>"",B10<0)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: conditional formatting

    http://www.excelforum.com/excel-gene...ormatting.html
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: conditional formatting

    Hi N, Thanks for your help.

    I changed the red to

    =AND(B10<>"",B10<0)

    and the green to

    =AND(B10<>"",B10>=10)

    This worked re the formatting issue and now the blank cells are un formatted - however, minus numbers ie deadlines in the past are formatting as green.. how can this be so as a minus value is <10... !! any clue?

    @ fotis, hi there and thanks for your input. Before posting this thread i put a note on the previous thread advising that it was closed.

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: conditional formatting

    Try changing formula in column B to:

    =IF(O10="","",NETWORKDAYS(TODAY(),O10)) so you are dealing with actual numbers.

    and then format as Custom:

    General " days"

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: conditional formatting

    OK..! Nothing personal, but for me is the same requietment.

    This mean duplicate post!!..

    As the Moderator does not thinks so, then for me is OK...!

  7. #7
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: conditional formatting

    You legend - perfect

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: conditional formatting

    I closed the other thread to eliminate confusion.

+ 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