Consulting

Results 1 to 10 of 10

Thread: Quirk with Cond Formatting?

  1. #1
    VBAX Regular
    Joined
    Oct 2007
    Posts
    11
    Location

    Quirk with Cond Formatting?

    Hi,

    I'm having trouble with what looks to be a quirk with conditional formatting.

    I've created a formula in Column D of my worksheet that basically checks the values of numbers in Column C. If the number is above a certain value but below another value it changes the text of the cell in Column D to amber, if below a certain value it changes it to red.

    In Column D I have used a webding font character (108) to insert a solid circle in every cell.

    This works great except the amber and red look a little similar so I wanted to change the amber to a another colour. However, when I edit the conditional format rule to another font colour (that's all I change), the colour changes fine, but it also changes the font in all the relevant cells to a "|" instead of the solid circle!?!?

    It's as if the font is removed. If I click on an affected cell a see in the little window bar where formulas usually pop up (sorry, forgot what it's called) a "|" symbol. Fair enough, however if I click on one of the cells what has the unaffected circle symbol in I also see a "|" in the formula window !!!

    Confused!!

    Any ideas anyone as to why this happens?

    Cheers.

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Why not post your book so we can see this.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  3. #3
    VBAX Regular
    Joined
    Oct 2007
    Posts
    11
    Location
    Hi,

    I can't do that due to the links to other workbooks and sheets within and the sensitive nature of the content. What I'll try and do is replicate the problem in a 'clean' workbook with just those two columns and post that if possible.

    Cheers.

  4. #4
    VBAX Regular
    Joined
    Oct 2007
    Posts
    11
    Location
    OK. I think this should do it. I've copied the two columns across along with the cond formatting.

    There are 3 rules. One to make the icon in cell Dx white, one for 'amber', one for red, depending on the value of the cell in Column C.

    Now, I want to change the 'amber' colour as it's a bit close to the red, however whenever I amend the colour in the cond. format. rule it alters the view of the symbol in the cell.

    By the way I'm using Excel 2007 whether that has any bearing.

    Cheers.

  5. #5
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,876
    Quote Originally Posted by lad
    By the way I'm using Excel 2007 whether that has any bearing.
    It may well have, as I can amend the validation colour without getting a change in font in XL 2003 on XP.
    p45cal
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

  6. #6
    VBAX Regular
    Joined
    Oct 2007
    Posts
    11
    Location
    Thanks p45cal, weird one eh!

    I've Excel 2003 on my laptop so I'll see if I can sort on that when I get my hands on it. Haven't got it with me at the mo'.

  7. #7
    Quote Originally Posted by p45cal
    It may well have, as I can amend the validation colour without getting a change in font in XL 2003 on XP.
    p45cal
    works fine for me too in office 2000!

  8. #8
    VBAX Regular
    Joined
    Oct 2007
    Posts
    11
    Location
    Yep, just sent it to a colleague who has 2003 and we sorted it that way!

    Hmmm.... 2007 bug maybe?

  9. #9
    Just tried it on my Win XP 2003 and it worked OK.
    Interesting.

  10. #10
    VBAX Tutor
    Joined
    Dec 2006
    Posts
    220
    Location
    Must be a bug my Excel 2007 Displays the same as lads. Works fine in Excel 2000
    "Intellectual passion occurs at the intersection of fact and implication."

    SGB

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •