+ Reply to Thread
Results 1 to 5 of 5

Conditionally formatting Chart Labels?

  1. #1
    Registered User
    Join Date
    06-03-2008
    Posts
    35

    Conditionally formatting Chart Labels?

    I have a relatively simple chart in a worksheet that contains the number of parts created (y-axis) that's graphed by date. On the same chart, I'm also graphing a percentage (scrap/parts created).

    The percentage bar is labeled directly on the chart above the bar itself (see attached picture), and I'm hoping to change the color of that label but only if the % is above 4% (thus the 8% on the bar should be one color and the 3% should be another)

    Is this something that can be done in Excel itself? Or do I need to code something in VBA to accomplish this?

    Alternatively, the bar itself could change colors, but that doesn't seem like a simpler solution...
    Attached Images Attached Images

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437
    Can you post an actual workbook as it is difficult to tell from the image what series the data labels are related to.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    06-03-2008
    Posts
    35
    Yeah, I should have done this in the first place. Here's a sample.
    Attached Files Attached Files

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437
    It's easier to format the series actually.

    See attached which uses formula to feed 2 series for displaying Scrap.

    I have also changed the layout slightly.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-03-2008
    Posts
    35
    Andy, that looks awesome! Thanks

+ 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