Conditional Formatting Bar Chart?

Apr 4, 2014

I have a number of bar charts for which I'd like to colour the bars blue if the associated value is greater than zero and red if less than zero.

Is it possible to get Excel to assign the colours accordingly, in the same way as it does with conditional formatting in worksheets?

View 3 Replies


ADVERTISEMENT

Chart Conditional Formatting?

Dec 4, 2012

I have a Pivot Chart with 5 data series requiring 3 different formats.

Data: In my Pivot Table I have the following Fields - Type, Year, Month, Sales.

The Years are always the most Recent 2 Years (Currently 2011,2012).

The Months are, well, the Months Jan Through Dec.

The Sales are 'Number of Sales in The Period'

The Type is one of 3: Sales, Cumulative Sales and Change.

Sales has a field for every month in 2011 and 2012, the same for cumulative and finally, Change has the difference between 2011 and 2012 sales for each month.

Now when I plot these on the chart I have

Sales 2011, Sales 2012 Plotted as a line chart on the primary axis,

Change Plotted as a bar chart on the primary axis, with invert if negative formatting,

Cumulative Sales 2011, Cumulative Sales 2012, Plotted as a line chart on the Secondary axis. With the same colours per year as Sales, but as a Dashed Line.

I want this formatting to remain static as the data updates, and if possible when the series changes name (which i'm not sure is possible) because, come January the data series will be 2013/2012 not 2012/2011.

With the other formatting is seems to sometimes stay static and sometimes just decides to reformat everything and switch axes and i'm not really sure why.

View 1 Replies View Related

Conditional Formatting In Chart

Dec 20, 2011

Is it possible to aply conditional formating in Chart. for eg. my data in is below format

MonthNo of PO'sNo of GRN'sJan23444443Feb34343453Mar45425566April19002123Average PO's3055Average SO's3896

Now I want a Coloumn chart in which line changed to Red color which are below average. Currently i have to do manually change in it. Is it possible to change column chart color as per condition.

View 5 Replies View Related

Conditional Formatting In Bubble Chart

Nov 26, 2013

I have the table: chart1.png

If the bubble size is 0-5, I need the bubble color to be green
If the bubble size is 6-15, I need the bubble color to be yellow
If the bubble size is 16-25, I need the bubble color to be red.

So, right now my chart looks like this: chart.png

As you can see the top bubble is the right color, but based on the bottom bubble value, it should be green.

How do I make this change colors dynamically based on the bubble size value?

View 1 Replies View Related

Gantt Chart Help With Conditional Formatting Automation

Dec 14, 2009

Hey Guys- I'm not sure if this is even possible but I need some help. I have attached a file below similar to a gantt chart. I need help with the conditional formatting, as I have manually changed the colors to match what I need automated.

Basically I have 6 tasks and I need to change dates for individual projects but I also need the corresponding color to also change.

View 9 Replies View Related

Conditional Formatting Percentage Axis For Thermometer Chart?

Jun 11, 2014

I currently have a thermometer chart in Excel 2013 that I set up with percentages along the Y-Axis. The thermometers are showing spending based on a budgeted number. Currently, the project is over-budget so I have adjusted the thermometer scale to go far beyond 100%.

I would like to have the percentages past 100% show in red along the lefthand side.

View 2 Replies View Related

Bar Chart Conditional Formatting - Values Changing Frequently

Jan 8, 2014

I have a horizontal bar chart in which some of the bars represent positive values and others represent negative values.

How to format the bars so the "positive" bars are shaded in one colour and "negative" bars in another colour? I'd prefer not to change the bar colour manually as the values change frequently.

View 2 Replies View Related

Conditional Formatting Vertical Bar Chart Tied To A Date

Dec 2, 2012

I have 60 days of data, Nov 1st through Dec 31st.

The date is my x-axis labels.

I produce a daily report. I'd always like for the current dates vertical bar to be "red".

Is there any easy way to have this accomplished?

View 6 Replies View Related

Conditional Formatting Using Date Range (Gantt Chart)

Jun 16, 2014

I am looking for the best way to use conditional formatting in a Gantt chart. I want the cells to turn blue if they fall between two dates.

View 4 Replies View Related

Conditional Formatting Of Chart Based On Category Axis Value

May 24, 2005

I am trying to format the colour of a column chart based on the value of the x axis (not the y axis value). Firstly I need to know if it is possible. Secondly I would appreciate any hints / VBA code that could be useful.

View 4 Replies View Related

Conditional Formatting Of Bubble Chart Points Based On Bubblesizes

Jul 26, 2012

I am trying to format the colors of the bubbles on my bubble chart to Green (>5), Yellow (4-5), or Red (<4) based on the value used to create the bubblesize.

The problem that I am having is that .BubbleSizes is property of type String, not range like .xValues, or .Values. So instead of pulling in the value, I am pulling in the reference and getting a "Type Mismatch" Error. The reference of my data for .BubbleSizes is $D$5:$D51. Each row is it's own series and the list is dynamic, so I need to be able to support future rows without a lot of maintenance.

Here is the code that I have so far.

VB:
Sub DataSeriesFormat()
'
' DataSeriesFormat Macro
' Format Data Series based on defined parameters for Green, Yellow, and Red. Created by Derek Steinmetz 7/24/12
'
Dim x As Integer
Dim val As Variant
Dim Green As Range

[Code] ......

View 1 Replies View Related

Conditional Formatting - Two Different Fields Affect One Cells Formatting For Date?

Sep 16, 2013

A little background on what i am doing. I have a spreadsheet that tracks when i have blown the dust out of our computers. I have set up conditional formatting so that the text turns red after 300 days and the cell turns yellow after 600 days. However, some computers are in high dust environments. I would like the spreadsheet to tell me to blow the dust out of these sooner. see the attached sheet.

dust 1.xlsx

View 2 Replies View Related

Conditional Formatting Based On Another Cell Conditional Format

Mar 20, 2013

Is it possible to change the format of cell AI3 based on the format of cell C3 and D3? I have C3 and D3 set to turn red based on what is in cell C2 and D2. I would like the following done:

If AI3=C3 & C3 is red, format AI3 blue
If AI3=D3 & D3 is red, format AI3 blue
Otherwise, leave AI3 unformatted.

Possible???

View 3 Replies View Related

IF Statement Using Formatting Criteria (NOT Conditional Formatting)

May 5, 2009

Is there "code" for different formatting in a spreadsheet so you can use an IF statement to do something like:

if(A1=blue background,"Yes","No")

or

if(A1=red text,"Yes","No")

etc.?? But replace "blue background" and "red text" with some sort of number code? I want to compile a list of the items that are formatted with certain background colors and/or text colors and then organize only those items into a chart.

View 5 Replies View Related

VBA To Convert Conditional Formatting To Fixed Formatting?

Jul 5, 2013

Any VBA that I can put into a macro that will convert conditional formatting into fixed formatting..? So when the cell contents/formulas are deleted the formatting remains. Assume that the range I want to convert is A1:D200...

View 9 Replies View Related

Looping & Conditional Format: Finds A "J" It Will Apply Conditional Formatting To A Row Of 4 Cells Directly Adjacent?

Feb 9, 2009

I need to run a loop through a column of values (attachment col B) and when it finds a "J" it will apply conditional formatting to a row of 4 cells directly adjacent. The attachment is a theoretical before & after.

View 2 Replies View Related

GAS Mileage Chart Formatting

Feb 20, 2008

I have created a gas mileage chart where the MPG line will change from one color to another as the "type" of driving changes (Highway to City). However, the chart also ignores any non-full tank data to eliminate spikes that arise in your MPG calculations when you don't fill your tank up all the way.

I have attached a spreadsheet detailing what i have done and would like to know if anyone can think of an easier way to replicate this chart.

View 10 Replies View Related

VBA - Formatting Points On A Chart

Sep 11, 2012

I'm trying to write a macro that will format my chart data based on the corresponding cell value. I have the following code, which runs without error, but the formatting on data points doesn't change. I can't seem to get this to actually change the color of the data point in the chart.

Code:
Sub FormatChart()
Dim wb As Workbook
Dim ws As Worksheet
Dim wks As Worksheet
Dim y As Long
Dim j As Long

'this routine will format the charts on worksheets "SL11730" & "SL14100" 'so that data points equal to or above 98% will be green filled and 'all other points will be red filled

'set loop counter to two (contract (4100) & retail (1730))
j = 1
'start loop
Do Until j = 3
If j = 1 Then strwkb = "SL11730"
If j = 2 Then strwkb = "SL14100"

[code].....

View 4 Replies View Related

Conditional Objects In Chart

Sep 28, 2007

I want on my chart is an object (Arrow in this case), that is conditional formatted on data between 2 periods.

The first bar of 20 represents a top 20 list with most common failures.
I would like to have an arrow that indicates that if the last period, the amount of failures has gone up, down or is equal to the period before that.

So period 1, article 111 had 10 failures, period 2 article 111 had 20 failures, hence there should be an arrow pointing up related to that bar.

View 9 Replies View Related

Conditional Chart Data

Dec 3, 2007

I am trying to bring my charting skills up to date, and all I can say is that I am not good. What I am trying to accomplish is a graph where I can choose in the graph ie by a check box which units I want to include. In some instances perhaps I would like all units and in some instances only a couple. Is this possible to do? I have included some data that might be useful to work with.

View 5 Replies View Related

Conditional Chart With Frequency

Mar 11, 2008

I have four columns in my worksheet. In column C, I need to find the no. of times word "Alarm" is occuring. Further, with each "Alarm" entry in col C, there is a alarm type given in column D. I need to find the no. of alarms for each type and then display a bar chart for the alarm type vs. frequency of its occurence.

View 2 Replies View Related

Formatting The Date In A Pivot Chart

Jun 11, 2014

I am trying to format the date in my x-axis which is currently 'month-day-year' but I would llike it to be 'month-year' I know it is because my data that was used for the date is 'month-day-year' but since I am using power pivot I can not change the data. Is there a way I can change it to my desired format so that my pivot chart will only have the 'month-year' format in the x-axis?

View 8 Replies View Related

Formatting Axis Of Bubble Chart

Aug 2, 2013

I created a bubble chart whose x-axis and y-axis show every 10th value between 0 and 100 (i.e. 0, 10, 20, 30...). The axes intersect at (50, 50) to create 4 quadrants.

I want to erase/hide the values on the axes (i.e. the axes will no longer show 0, 10, 20, 30... and at the same time, the bubbles will still be in the same place) to create 4 blank quadrants and make my bubble chart easier to look at.

View 4 Replies View Related

Formatting Chart With Too Many Series To Display

Aug 29, 2006

My question is a display/ chart format question. I need to convey what I am showing on this chart in a less "busy" fashion. Is there a way to display the data in an easier to read and see format? In particular, is having both averages on the chart in the same format an issue?

View 2 Replies View Related

Conditional Line Chart Color

Jun 26, 2008

I am trying to have the points and the lines connecting them on my line graph be two different colors depending on a value i put in a column next to the chart values.

For example:
x y Variable
1 5 1
2 10
3 16 1
4 5

The points where there is a 1 in the variable column i would like to make a different color from the other points.

I did an extensive search and all i could find was the following:

Sub myChartClass_Calculate()
Dim cht As Object
Dim p As Object
Dim V As Variant
Dim Counter As Integer

However, this uses the values from the chart data, not an outside variable.

View 4 Replies View Related

Formatting Row Labels In Pivot Table / Chart

Apr 30, 2014

Was working on this problem for a poster: [URL] ......

I can't seem to get the pivot table/chart to format exactly as I desire. It seems that as soon as I add 'group by hour and day' Excel forces the formatting to AM/PM and I want to keep it military. I want to group by hour, so that data that occurs at 6:00 and at 6:30 are grouped, and I had to group by day so that 6:00 on 1/1 was separated from 6:00 on 1/2.

Attached is a worksheet which shows the desired chart format (not a pivot chart), and the attempted pivot chart. I want the pivot chart to match the 'simple' chart in look and feel. Any attempts to change the formatting of the row labels to 'h' is promptly ignored by Excel.

Note the two tasks that occur at hour 18 (one at 18:00 and the other at 18:20 (you will need to see the formatting to truly see the minutes)). Those should be combined in the pivot table (and they are) and on my 'adjusted' table (where I used SUMIFS).

View 2 Replies View Related

Excel 2003 :: Formatting Chart Data

Jan 18, 2014

I work in a call centre and I record my daily figures. My target is 82%, and I would like a bar chart in Excel 2003 to colour the chart according to wether I hit target or not. If my daily figure >=82% the bar should be green.

View 9 Replies View Related

Preserve Formatting On Pivot Chart Refresh

Sep 22, 2009

have come across the apparent inflexibility of a pivot chart retaining its user defined formatting whenever it is refreshed.

I understand I can save my chosen formatting as a 'user defined' custom chart, which can be applied post-refresh, but was wondering if a simple bit of code would do this automatically, saving the additional clicks!

how to deal with the attached. How could I adapt the code to call in other 'user defined' charts I may create in the future?

View 8 Replies View Related

Formatting X Axis On Scatter Plot Chart

Jul 27, 2007

Attached is a chart I am trying to create. So basically, I originally used a line chart but it didn't have the flexibility of the scatter chart, but i am having a very hard time formatting the X axis. First of all - I would like the line in the middle at the 0% point to actually go to the bottom so that the x axis labels aren't in the middle of the graph. Second the x axis labels aren't showing up correctly. They should be quarters: 1Q:02, 2Q:02, 3Q:02, 4Q:02... Finally, how can I show the correlation between these two data points plotted - the R-squared. THANKS!!! Auto Merged Post;I actually was able to figure out most of what I asked. What is remaining: how do I calculate the R-Squared on the chart? Isn't there a way to do it automatically in excel on the chart.

View 3 Replies View Related

Vba For Conditional Chart Fill Colour Change

Apr 22, 2014

I have a spread sheet with various tick boxes, that when ticked calculate an accumulative percentage in a cell. This cell is the basis of my graph. e.g. if the cell displays 80% - the chart with show 80% - simple.

however, I want to write a vba code that changes the fill colour of the chart depending on the percentage.

i.e. if the percentage data = 0-49% I wish the chart to display as red. 50-69% - yellow and 70%+ = green.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved