+ Reply to Thread
Results 1 to 11 of 11

conditional formatting not cooperating

  1. #1
    Registered User
    Join Date
    10-23-2006
    Posts
    17

    conditional formatting not cooperating

    Hi!
    First time using the coditional formatting option....pretty simple really.

    If a cell value is less than or equal to 39, shade it red.
    If a cell value is greater than or equal to 79, shade it pink.

    don't know why the cell is always red, regardless of its value. No other conditional formatting is set on the worksheet. I've also deleted the 2nd condition and the cell is always red again.

    What am I doing wrong? Please advise.
    thanks in advance.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: conditional formatting not cooperating

    What version of XL are you using ? Please provide a sample sheet

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: conditional formatting not cooperating

    Assuming your cell is A1
    your formulas should be

    =(A1<=39)
    format as red
    =(A1>=79)
    format as pink

    Make sure you clear the sheet of all current Conditional Formulas before entering the above formulas.

    If this doesn't work then post a sheet as stated
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Registered User
    Join Date
    10-23-2006
    Posts
    17

    Re: conditional formatting not cooperating

    Quote Originally Posted by Pepe Le Mokko View Post
    What version of XL are you using ? Please provide a sample sheet
    Hi Pepe, I'm using Excel 2002(10.2614.2625) on Window Vista.

  5. #5
    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 not cooperating

    Hi

    Shows red, if it's empty!(a1<=39)

    You need, this.

    For red coNdition, formula is: =AND(A1>0;A1<=39)

    fOR PINK: =A1>=79

    Hope to helps you.
    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.

  6. #6
    Registered User
    Join Date
    10-23-2006
    Posts
    17

    Re: conditional formatting not cooperating

    Hi Special-K,

    I did a Goto special formatting from the edit pull down window and none were found. I didn't type anything in...just use the conditional formatting from the format pull down window. There is an existing formula which calculates the value from other settings...where do I type in the formula above?
    Attached Files Attached Files

  7. #7
    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 not cooperating

    Excuse me. Did you see my answer??

    Note: In your example, your Conditional formatting in K3, IS cell VALUE=<=3.

    In your question, is 39.
    Last edited by Fotis1991; 03-15-2012 at 11:44 AM. Reason: Note.

  8. #8
    Registered User
    Join Date
    10-23-2006
    Posts
    17

    Re: conditional formatting not cooperating

    Hi Fotis,

    where do I type the formula above? I already have a formula for some calculation. Please see attachment from the thread above. thanks.

  9. #9
    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 not cooperating

    In K3.

    See the example
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    10-23-2006
    Posts
    17

    Re: conditional formatting not cooperating

    I can't believe it, but I forgot about the decimal point....I was reading .39 as 39 hence the condition is always true.
    Thanks for all your help!!!

  11. #11
    Registered User
    Join Date
    10-23-2006
    Posts
    17

    Re: conditional formatting not cooperating

    Thanks Fotis,
    I've learned something new today.

+ 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