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


ADVERTISEMENT

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

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

Combine (Overlay) Bubble Chart & Point Scatter Chart

Jun 30, 2009

I would like combine (overlay) a bubble chart with a connected point scatter chart. I understand that, without VBA, this is not possible. However, I understand that, by using VBA, the markers of a scatter chart can be configured as circles with their size proportional to values in a specified column. This pseudo-bubble chart can then easily be combined with a connected point scatter chart.

My question is: does anyone have any VBA code to share that shows how to configure a scatter chart as the type of pseudo-bubble chart described above.

View 2 Replies View Related

Convert Scatter Chart To Bubble Chart

Jun 28, 2009

I would like to combine / overlay a bubble chart and scatter chart with straight connectors.

I understand that, without VBA, it is not possible to combine a bubble chart with a scatter chart.

Unfortunately, I am a VBA newbie, and so I cannot write my own code (though I can usually adapt code to my specific environment).

My question is: does anyone have VBA code to share that will convert a scatter chart series (x,y data in 2 columns) to a bubble-style chart (bubble radius in 3rd column)?

View 2 Replies View Related

Quadrant Bubble Chart

Sep 27, 2007

create a Quadrant Bubble chart. I have found examples of using scatter charts but unfortantely those charts do not satisfy what I am trying to accomplish.

View 5 Replies View Related

Plotting Cities On Bubble Chart?

Apr 10, 2012

I have the Lat and Long for each of several US cities. I want to use these to create a bubble chart that plots the cities and which I can place over a US map picture.

However, I have the problem that, because of the curvature of the earth, the city locations form the lat and longs are not tying with the map.

how to adjust the lat and longs so that they will correspond to the typical US map?

For example, the base lat and longs for Denver are 39.5742 and -104.8588. What formulas can I use to modify these to match the standard map projection?

View 9 Replies View Related

Automate New Series For Bubble Chart

Apr 15, 2007

I’m trying to take an existing bubble chart, paste new data into the sheet,
then march sequentially from row to row, adding specific cells within each as a new series in the chart until I run out of rows. Below is my latest attempt (not working of course).

Sub setseries1()
Range("A1").Select 'select upper left cell to start
Do Until ActiveCell.Value = "" 'stop when you run out of rows
ActiveChart.ChartArea.Select
ActiveChart.ChartType = xlBubble
With ActiveChart.SeriesCollection.NewSeries
'use these values for the next series
.Name = ActiveCell.Offset(1, 0).Select
.BubbleSizes = ActiveCell.Offset(0, 1).Select
.Values = ActiveCell.Offset(0, 1).Select
.XValues = ActiveCell.Offset(0, 9).Select
End With
'go to next row, and repeat
ActiveCell = ActiveCell.Offset(0, -1)
Loop
End Sub

View 7 Replies View Related

Adding New Series To Bubble Chart

Jul 12, 2007

I have a worksheet where I am collecting data and a seperat Chart. The first part of this code which adds a new row in my table works perfectly fine, but the latter part (based on a macro recording) does not. I need to specify the relevant row for the new series in the bubble chart. The colums are of course the same.

Private Sub CommandButton1_Click()

Dim LastRow, LastRef As Long

'Works!

ThisWorkbook.Worksheets("Projektradar - input").Select
Range("Q3").Activate
LastRef = ActiveCell.Value
Range("Q3").Value = LastRef + 1

View 4 Replies View Related

Bubble Chart: Add To Label Hover Display

Dec 19, 2006

When you hold your mouse over a bubble on a bubble chart, it typically displays the x value, y value and size value. Is there any way to add other captions to display? For example, if my chart is based on sales data and I'm plotting a point based on ease of probability (x axis) and dollar value (y value)....I'd also like to see the initials of the salesperson assigned to that prospect when I hover over the bubble?

View 2 Replies View Related

Change Bubble Chart Color Based On Cell Value

Aug 30, 2008

Let Sheet 1 have data in 3 columns to support a standard bubble chart

Col A: X Values
Col B: Y Values
Col C: Bubble Size

Id like to be able to color the bubbles according to the Y values, whether the Y values fall within the following ranges

Green for Y <=2
Orange for 2<Y<=5
Red for Y > 5

Im assuming some straightforward VB code is in the works but Im not quite there yet

View 4 Replies View Related

Dynamic Bubble Chart - Data Point Naming

Feb 16, 2007

I am looking to create a dynamic bubble chart. To do this I am using offset to create the series formula which without listing all the data names turns out to be something like this (where 297 will adjust to the number of rows with data): =SERIES(Project!$A$5:$A$297, Project!$J$5:$J$297,Project!$P$5:$P$297,2,Project!$Q$5:$Q$297)

My problem is that by creating the chart in this fassion I am unable to get a unique name for each data point. For example, if row A looks like this,

A5: 1
A6: 2
A7: 3

each data point will be named 1 2 3. How do I either create a new series for each row dynamically or get the specific name from column A to associate with the correct data point?

View 2 Replies View Related

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 View Related

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

Bubble Chart Function - Click To Open Percentage By Subject Line

May 23, 2014

I am new to excel and to the bubble chart function and need creating one for a presentation.

I was asked to do a bubble chart to show the open and click to open percentage by subject line

E.g.
Subject line: Win 20% open, 23 % Click to Open, Getaway 20$ Open, 21% CTO etc., to include an industry average for open and CTO in the chart.

X axis: click to open and Y axis: open

I tried the following in the picture and it doesn't look right.

Capture.JPG

View 1 Replies View Related

Bubble Sizes In Bubble-Charts Macro

Nov 9, 2006

Im trying to create a simple 3D Bubble Chart macro, and as most people who've never dealt with this before (i think), i've hit a wall with BubbleSizes. I've attached the file im trying to get to work. The VBA is quite simple but an error occurs at BubbleSizes. I've read that BubbleSizes takes a different reference style than xValues and such, but haven't had any luck trying to change that. For those who just want to see the code without getting the file:

Sub EmbeddedChartFromScratch()
Dim myChtObj As ChartObject
Dim rngChtData As Range
Dim rngChtXVal As Range
Dim iColumn As Long
' make sure a range is selected
If TypeName(Selection) <> "Range" Then Exit Sub
' define chart data
Set rngChtData = Selection
' add the chart
Set myChtObj = ActiveSheet.ChartObjects.Add _
(Left:=250, Width:=375, Top:=75, Height:=225)
With myChtObj.Chart................................

View 5 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 - 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

Label Bubbles In Bubble Charts

Aug 11, 2006

I have a file in which column a shows product names, and columns b and c contains quantitative data. I want to put this in a bubble graph (column b = y axis) and (column c = x axis) and label the bubble with the product names. I tried to make this graph but either it doesn't show labels ,either it doesn't provide bubbles. How can i label the bubbles? I attached a small sample file.

View 4 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







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