+ Reply to Thread
Results 1 to 7 of 7

Colors Reverting on Conditional Formated Chart

  1. #1
    Registered User
    Join Date
    12-08-2016
    Location
    Indiana, US
    MS-Off Ver
    Office 2013
    Posts
    3

    Colors Reverting on Conditional Formated Chart

    I've been struggling with an issue for several weeks and I really hope someone on this forum can help me out. I've created an automated tracking tool that I uses excel to create a dynamically updating bar chart tracking hold times for activities. Basically the bar gets bigger as a given activity is on hold, and then the colors change to yellow and then red if they are on hold too long. The problem I am having is that if we clear our entire queue of work, then when we enter a new work item a few minutes or hours later, the color scheme for the bars revert back to what I assume is an excel default. Since we are using this tool as a visual workplace tracker, the color scheme is important and I cannot for the life of me figure out how to prevent excel from changing the color.

    There are a few macros running to the generate a realtime clock and to automatically reapply the autofilter to add/remove work items as they come and go. The color scheme change is controlled using a conditional formatting table. Everything works perfectly, except the issue where the colors I select for the conditional formatted columns keep changing. Thanks in advance to anyone who can offer some advice on my conundrum.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Colors Reverting on Conditional Formated Chart

    Hi, welcome to the forum

    Do you mean that for a given set of data, when certain time criteria expires, it goes red.
    Then when that criteria is corrected, it reverts back to where it should be.
    When you then enter new data, it starts all over from "bar gets bigger as a given activity is on hold"...etc?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    12-08-2016
    Location
    Indiana, US
    MS-Off Ver
    Office 2013
    Posts
    3

    Re: Colors Reverting on Conditional Formated Chart

    Thanks for the welcome and sorry for not being clear enough with my description. I'll break down the workflow for the by steps.

    1) New work item comes in and team logs it into the tool based on date/time, and then selects back to the worksheet tab showing the chart
    2) The new work item is added automatically as another bar to the chart (starts as purple) and the bar starts growing over time as the work item is in progress
    3) If the work time exceeds the "warning" time, the bar turns yellow and if it goes past the limit time it will turn red
    4) Once the work is complete, the team member enters current time/date and then the chart automatically removes the bar and resizes any remaining bars still in queue

    The issue occurs when we happen to clear all of the work items out of the queue and basically have a blank chart. When the next item comes in and is added to the tool, the color scheme is changed which ruins some of the key functionality. I hope that clarifies a bit better what is occurring. Thank you again for all the help

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Colors Reverting on Conditional Formated Chart

    Yes, I think excel has a default color scheme for new charts (which I think it is now considering yours, with no data). Have you considered adding some dummy data, and making the chart show white (or whatever color would be hidden) for that? Then just leave that there all the time and work around it?

  5. #5
    Registered User
    Join Date
    12-08-2016
    Location
    Indiana, US
    MS-Off Ver
    Office 2013
    Posts
    3

    Re: Colors Reverting on Conditional Formated Chart

    That is an interesting idea. I'll give it a shot and reply with my results. Thanks!

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Colors Reverting on Conditional Formated Chart

    Cool, let me know how you make out?

  7. #7
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Colors Reverting on Conditional Formated Chart

    I am going to suggest something "on a whim." You mentioned "Clearing the queue." Can your data be put into an Excel Table and then build your chart off the table? Tables seem to "remember" things even when emptied. Maybe things that reference the table also remember what they were pointing to.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] VBA code to change Excel chart bar colors as per cell colors
    By mchilapur in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-21-2016, 03:29 AM
  2. Changing cells and column chart colors based on cell colors
    By HDeuce in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-03-2016, 11:43 AM
  3. Conditional Formatting (colors) in Bubble Chart
    By SASO in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 12-24-2015, 12:25 PM
  4. Control bubble chart colors with conditional formatting in Excel 2010
    By jschmidtfpi in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-29-2013, 11:06 AM
  5. [SOLVED] Conditional format Chart :Colors.
    By JapanDave in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 03-28-2013, 05:48 PM
  6. Excel Colors Reverting back to random palette
    By Nick D in forum Excel General
    Replies: 0
    Last Post: 07-26-2007, 09:51 AM
  7. How to carry over conditional format colors to a chart
    By Tim A in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-31-2005, 08:06 PM

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