<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Chandoo.org - Learn Excel &#38; Charting Online - Forums Topic: Conditional Formatting a Graph</title>
		<link>http://chandoo.org/forums/topic/conditional-formatting-a-graph</link>
		<description>Ask Excel and Charting Questions, Muse about Visualizations, Learn and Share - Discussion Forums - Chandoo.org</description>
		<language>en-US</language>
		<pubDate>Thu, 20 Jun 2013 02:31:57 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://chandoo.org/forums/search.php</link>
		</textInput>
		<atom:link href="http://chandoo.org/forums/rss/topic/conditional-formatting-a-graph" rel="self" type="application/rss+xml" />

		<item>
			<title>dan_l on "Conditional Formatting a Graph"</title>
			<link>http://chandoo.org/forums/topic/conditional-formatting-a-graph#post-17593</link>
			<pubDate>Tue, 31 Jan 2012 23:10:12 +0000</pubDate>
			<dc:creator>dan_l</dc:creator>
			<guid isPermaLink="false">17593@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Just use the formatting options.  You'll only have to do it once.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>markkara on "Conditional Formatting a Graph"</title>
			<link>http://chandoo.org/forums/topic/conditional-formatting-a-graph#post-17588</link>
			<pubDate>Tue, 31 Jan 2012 22:00:40 +0000</pubDate>
			<dc:creator>markkara</dc:creator>
			<guid isPermaLink="false">17588@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Thanks Dan, appreciate the extended answer.&#60;/p&#62;
&#60;p&#62;One final thing. Ive recreated the book using your steps and ive gotten this to work, however the color coding is the typical red and blue that excel defaults on. For above 80 im getting the red, below 80 im receiving the blue.&#60;/p&#62;
&#60;p&#62;In your examples, it seems to have already been programed as green and red, what step is the color process mapped?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dan_l on "Conditional Formatting a Graph"</title>
			<link>http://chandoo.org/forums/topic/conditional-formatting-a-graph#post-17548</link>
			<pubDate>Tue, 31 Jan 2012 06:19:41 +0000</pubDate>
			<dc:creator>dan_l</dc:creator>
			<guid isPermaLink="false">17548@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Sure.  &#60;/p&#62;
&#60;p&#62;The DNR's are based on the offset formula.  You can read the official chandoo explanation for them here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://chandoo.org/wp/2009/10/15/dynamic-chart-data-series/&#34; rel=&#34;nofollow&#34;&#62;http://chandoo.org/wp/2009/10/15/dynamic-chart-data-series/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;But more or less, you have 3 of them in this workbook.  If you peek at your name manager you'll see:&#60;br /&#62;
=OFFSET(Sheet1!$D$3,0,0,COUNT(Sheet1!$C$3:$C$14),1)&#60;br /&#62;
=OFFSET(Sheet1!$A$3,0,0,COUNT(Sheet1!$C$3:$C$14),1)&#60;br /&#62;
=OFFSET(Sheet1!$C$3,0,0,COUNT(Sheet1!$C$3:$C$14),1)&#60;/p&#62;
&#60;p&#62;I always have trouble remembering the syntax for offset, so i always remember it as:&#60;br /&#62;
=offset(starts where,rows over, columns over, height, width)&#60;/p&#62;
&#60;p&#62;So in this case you're starting at the top sells of our key ranges.  We're not modifying the starting position.  We could.  But we're not, so rows over and columns over are 0.  The moving part is the count function.  You'll notice that I don't change it.  That's because I'm lazy.  That and since you already have all of the months listed, a more accurate reading on how many labels you need would be taken from one of the data columns.  Width would always be 1.  I chronically put it in as 0 by accident. &#60;/p&#62;
&#60;p&#62;On to the if's, they're pretty self explanatory:  &#60;/p&#62;
&#60;p&#62;=IF(B3&#38;lt;&#38;gt;&#34;&#34;,IF(B3&#38;lt;80,B3,0),&#34;&#34;)&#60;/p&#62;
&#60;p&#62;If you're new, you might be just thrown off by the fact that there's 2 if's in there:  &#60;/p&#62;
&#60;p&#62;All it's saying is:  If B3 is not blank, check to see if the contents are less than 80, otherwise return a blank.  &#60;/p&#62;
&#60;p&#62;As long as it's returning &#34;&#34; or blank, it won't be picked up by the count function in the offset formula.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>markkara on "Conditional Formatting a Graph"</title>
			<link>http://chandoo.org/forums/topic/conditional-formatting-a-graph#post-17547</link>
			<pubDate>Tue, 31 Jan 2012 05:44:56 +0000</pubDate>
			<dc:creator>markkara</dc:creator>
			<guid isPermaLink="false">17547@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Thanks for your reply Dan, this is exactly what i was after.&#60;/p&#62;
&#60;p&#62;Is it possible for you to explain in greater depth for my knowlegde the use of the if/then and the dynamic ranges?&#60;/p&#62;
&#60;p&#62;I want to use this in future and apply it to various sheets, so id like to brush up on the theory behind the actual practise and output.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dan_l on "Conditional Formatting a Graph"</title>
			<link>http://chandoo.org/forums/topic/conditional-formatting-a-graph#post-17546</link>
			<pubDate>Tue, 31 Jan 2012 05:31:58 +0000</pubDate>
			<dc:creator>dan_l</dc:creator>
			<guid isPermaLink="false">17546@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Bah.  &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://dl.dropbox.com/u/1275899/Book1.xlsm&#34; rel=&#34;nofollow&#34;&#62;http://dl.dropbox.com/u/1275899/Book1.xlsm&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here's what I did:  &#60;/p&#62;
&#60;p&#62;1.  I created 2 new columns.  One is for values over target, the other is for values below your target.&#60;br /&#62;
2.  Using a couple of if/then's, I added formulas to go all the way down to December.  If the value isn't populated yet, it just inserts &#34;&#34; or nothing.&#60;br /&#62;
3.  This is just some polish, but for something you'll be updating, it's kind of nice:  I added 3 dynamic ranges to the chart.  If you click on your name manager, you'll see them.&#60;br /&#62;
4.  I plugged the 3 dynamic ranges into a chart.  &#60;/p&#62;
&#60;p&#62;Now, if you add data in to your original column, you'll see the chart automagically puts the value in the right bucket and the chart updates accordingly.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Hui on "Conditional Formatting a Graph"</title>
			<link>http://chandoo.org/forums/topic/conditional-formatting-a-graph#post-17545</link>
			<pubDate>Tue, 31 Jan 2012 04:05:50 +0000</pubDate>
			<dc:creator>Hui</dc:creator>
			<guid isPermaLink="false">17545@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Markkara&#60;/p&#62;
&#60;p&#62;Firstly, Welcome to the Chandoo.org Forums&#60;/p&#62;
&#60;p&#62;Have a read of Narayan's answer to this post:&#60;br /&#62;
It sounds like it should help you&#60;br /&#62;
&#60;a href=&#34;http://chandoo.org/forums/topic/set-chart-series-colors-to-match-source-cell-colors-based-on-conditional-format&#34; rel=&#34;nofollow&#34;&#62;http://chandoo.org/forums/topic/set-chart-series-colors-to-match-source-cell-colors-based-on-conditional-format&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>markkara on "Conditional Formatting a Graph"</title>
			<link>http://chandoo.org/forums/topic/conditional-formatting-a-graph#post-17540</link>
			<pubDate>Tue, 31 Jan 2012 01:31:45 +0000</pubDate>
			<dc:creator>markkara</dc:creator>
			<guid isPermaLink="false">17540@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Hi Guys&#60;/p&#62;
&#60;p&#62;I want to conditional format a bar graph based on the results within B3-B14. Ive applied a conditional format to B3-B14, in which anything equal or greater than 80 is green and anything less than 80 as red.&#60;/p&#62;
&#60;p&#62;Essentially i want the graph results for that given month to replicate the color of the cell, but not sure how this can be done. Im assuming via a macro, however my VBA/recording skills are limited at this point (still playing around with it).&#60;/p&#62;
&#60;p&#62;Can someone explain how i can run a macro automatically change the call of the bar as per the respective cell?&#60;/p&#62;
&#60;p&#62;I mean, i could change the bar color via a formatting tool, but i want this to be as quick and proffesional as possible.&#60;/p&#62;
&#60;p&#62;Here is the link to my dummy file:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.sendspace.com/file/nuia2e&#34; rel=&#34;nofollow&#34;&#62;http://www.sendspace.com/file/nuia2e&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Help is appreciated.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
