<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Excel Help for Pie Graph of Frequency of Appearance of Values in a Column?</title>
	<link>http://ask.metafilter.com/38508/Excel-Help-for-Pie-Graph-of-Frequency-of-Appearance-of-Values-in-a-Column/</link>
	<description>Comments on Ask MetaFilter post Excel Help for Pie Graph of Frequency of Appearance of Values in a Column?</description>
	<pubDate>Fri, 19 May 2006 11:33:42 -0800</pubDate>
	<lastBuildDate>Fri, 19 May 2006 11:33:42 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Excel Help for Pie Graph of Frequency of Appearance of Values in a Column?</title>
		<link>http://ask.metafilter.com/38508/Excel-Help-for-Pie-Graph-of-Frequency-of-Appearance-of-Values-in-a-Column</link>	
		<description>ExcelFilter: I need help creating a pie chart as a separate worksheet in Excel that counts how often values appear in a column and creates a pie graph based on that data.  I&apos;m stumped, I&apos;m not using the right Google terms, and my company&apos;s help desk couldn&apos;t guide me through the process, either.  (That sounds awkward, so I describe it more comprehensibly inside.) &lt;br /&gt;&lt;br /&gt; I am a legal assistant whose station changes from day to day and week to week (a &quot;floater&quot;).  I keep an assignment log as an Excel spreadsheet, detailing where I worked each day, and any personal notes about the desk.&lt;br&gt;
&lt;br&gt;
The horizontal subject headers are &quot;date,&quot; &quot;secretary,&quot; &quot;department,&quot; &quot;practice area&quot; (a sort of &apos;subdepartment&apos;), &quot;attorney 1&quot;, &quot;attorney 2&quot;, &quot;attorney 3&quot;, &quot;attorney 4&quot;, and &quot;notes.&quot;  The vertical headers are the dates I work.&lt;br&gt;
&lt;br&gt;
I&apos;m seeking to figure out how I can have Excel create, and automatically update, a pie chart based on the &quot;department&quot; column, and, optionally, to help me break down further in some clickable way the practice area off of the respective departments.  The latter is not entirely necessary if it would add too much of a complicating factor.&lt;br&gt;
&lt;br&gt;
Let&apos;s say, for example, that the department column of this spreadsheet looks like this:&lt;br&gt;
&lt;br&gt;
Rotor-Scooting&lt;br&gt;
RealityDistortionField-Creating&lt;br&gt;
GatesAssassin&lt;br&gt;
Metafilter-Reading&lt;br&gt;
Widget-Making&lt;br&gt;
Widget-Making&lt;br&gt;
Widget-Making&lt;br&gt;
Widget-Making&lt;br&gt;
Rotor-Scooting&lt;br&gt;
GatesAssassin&lt;br&gt;
&lt;br&gt;
I&apos;m looking to figure out how I can get Excel to create a pie chart that would have 40% widget-making, 20% rotor-scooting, 20% GatesAssassin, 10% Metafilter-Reading, and 10% RealityDistortionField-Creating ... based on its own, updated count of the frequency of appearance of the departments as compared against the total non-blank entries in the column in question.&lt;br&gt;
&lt;br&gt;
And if all the following week, I worked for the BallmerAssassin department, it would automatically add in the appropriate slice and udpate the chart.&lt;br&gt;
&lt;br&gt;
Keep in mind that since the number of entries in that column will change on a daily basis, I&apos;d prefer not to &quot;hardcore&quot; into any existing formula or chart or what-have-you the rows part of the range, unless it can&apos;t be done otherwise.&lt;br&gt;
&lt;br&gt;
Is what I&apos;m talking about possible?  I thought it&apos;d be something that Excel could do with its eyes closed, but not only did I dredge up a big fat zero when trying to figure this out, so did my business&apos; help desk.  Any ideas?</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2006:site.38508</guid>
		<pubDate>Fri, 19 May 2006 11:33:20 -0800</pubDate>
		<dc:creator>WCityMike</dc:creator>
		
			<category>frequency</category>
		
			<category>chart</category>
		
			<category>Excel</category>
		
			<category>log</category>
		
			<category>worklog</category>
		
			<category>pie</category>
		
			<category>piegraph</category>
		
			<category>formula</category>
		
			<category>microsoft</category>
		
			<category>resolved</category>
		
	</item> <item>
		<title>By: WCityMike</title>
		<link>http://ask.metafilter.com/38508/Excel-Help-for-Pie-Graph-of-Frequency-of-Appearance-of-Values-in-a-Column#595303</link>	
		<description>Gah.  ^udpate^update.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.38508-595303</guid>
		<pubDate>Fri, 19 May 2006 11:33:42 -0800</pubDate>
		<dc:creator>WCityMike</dc:creator>
	</item><item>
		<title>By: skynxnex</title>
		<link>http://ask.metafilter.com/38508/Excel-Help-for-Pie-Graph-of-Frequency-of-Appearance-of-Values-in-a-Column#595317</link>	
		<description>You want to look up &quot;CountIf&quot; and the functions that are related to it, to find exactly what you want. &lt;br&gt;
&lt;br&gt;
To give an example, the percentage, of say, Widget-Making in the range A1:A50 can be given with:&lt;br&gt;
&lt;br&gt;
=CountIf(A1:A50,&quot;Widget-Making&quot;)/CountA(A1:A50)&lt;br&gt;
&lt;br&gt;
Just do that for each thing you&apos;re doing, and use those numbers as the datasource for the chart. You can easily have it update by using the Excel trick of having the range go one row past the end of your list and then when you go to insert a new row of data, use Insert Row and Excel will expand the range.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.38508-595317</guid>
		<pubDate>Fri, 19 May 2006 11:46:03 -0800</pubDate>
		<dc:creator>skynxnex</dc:creator>
	</item><item>
		<title>By: contessa</title>
		<link>http://ask.metafilter.com/38508/Excel-Help-for-Pie-Graph-of-Frequency-of-Appearance-of-Values-in-a-Column#595318</link>	
		<description>Here&apos;s how I would do it (caveat: no doubt there&apos;s a way to do this 10 times faster/easier):&lt;br&gt;
&lt;br&gt;
1.  create a new worksheet&lt;br&gt;
2.  in one column, list all the possible departments you might work in.&lt;br&gt;
3.  in the column next to that, type in this formula:&lt;br&gt;
&lt;br&gt;
=countif((&apos;NameOfReferenceSheet&apos;!XA:XN),&quot;-departmentname-&quot;)&lt;br&gt;
&lt;br&gt;
where &lt;strong&gt;NameOfReferenceSheet&lt;/strong&gt; is the sheet where you&apos;re logging the data, &lt;strong&gt;XA:XN &lt;/strong&gt;is the column where they reside (the full column including empty cells that one day will be populated with a name), and &lt;strong&gt;-departmentname-&lt;/strong&gt; is the department name exactly as you would spell it in the main list.  You can do this easily if you start typing in the =countif(( into the cell where the result should appear, then click back to the tab where you have your list, and select the entire colum where the department names are.&lt;br&gt;
&lt;br&gt;
You can copy this formula down the column, changing it each time to reflect the proper -departmentname-.&lt;br&gt;
&lt;br&gt;
This will give you a count of how many times that string (departmentname) appears in the column on the original sheet.&lt;br&gt;
&lt;br&gt;
Then you can tally them, and make another column dividing up the counts from each of the results above into the total, which gives you the %.  And from this table you can make your pie chart.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.38508-595318</guid>
		<pubDate>Fri, 19 May 2006 11:47:06 -0800</pubDate>
		<dc:creator>contessa</dc:creator>
	</item><item>
		<title>By: defcom1</title>
		<link>http://ask.metafilter.com/38508/Excel-Help-for-Pie-Graph-of-Frequency-of-Appearance-of-Values-in-a-Column#595320</link>	
		<description>I agree with the above posters ideas,&lt;br&gt;
&lt;br&gt;
For more esoteic questions about excel, there is also the great info at www.mrexcel.com (no affiliation, just like it).</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.38508-595320</guid>
		<pubDate>Fri, 19 May 2006 11:55:17 -0800</pubDate>
		<dc:creator>defcom1</dc:creator>
	</item><item>
		<title>By: randomstriker</title>
		<link>http://ask.metafilter.com/38508/Excel-Help-for-Pie-Graph-of-Frequency-of-Appearance-of-Values-in-a-Column#595343</link>	
		<description>The feature you want to use is &lt;a href=&quot;http://www.cpearson.com/excel/pivots.htm&quot;&gt;Pivot Table&lt;/a&gt;.  It&apos;s super flexible yet easy and requires no formulas.  Then create your chart based on that.  Get someone in your office to quickly demo it to you -- it&apos;s much easier to understand visually than from a written explanation.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.38508-595343</guid>
		<pubDate>Fri, 19 May 2006 12:25:25 -0800</pubDate>
		<dc:creator>randomstriker</dc:creator>
	</item><item>
		<title>By: contessa</title>
		<link>http://ask.metafilter.com/38508/Excel-Help-for-Pie-Graph-of-Frequency-of-Appearance-of-Values-in-a-Column#595346</link>	
		<description>See, I knew there was a better way...I wish I knew how to use pivot tables.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.38508-595346</guid>
		<pubDate>Fri, 19 May 2006 12:31:02 -0800</pubDate>
		<dc:creator>contessa</dc:creator>
	</item><item>
		<title>By: WCityMike</title>
		<link>http://ask.metafilter.com/38508/Excel-Help-for-Pie-Graph-of-Frequency-of-Appearance-of-Values-in-a-Column#595351</link>	
		<description>Actually, the COUNTIF stuff did the trick.  Very much obliged to all! :)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.38508-595351</guid>
		<pubDate>Fri, 19 May 2006 12:35:52 -0800</pubDate>
		<dc:creator>WCityMike</dc:creator>
	</item><item>
		<title>By: junesix</title>
		<link>http://ask.metafilter.com/38508/Excel-Help-for-Pie-Graph-of-Frequency-of-Appearance-of-Values-in-a-Column#595575</link>	
		<description>The ideal is a PivotChart.&lt;br&gt;
&lt;br&gt;
1. Highlight columns A-C (Date, Secretary, Department)&lt;br&gt;
2. Select Data &amp;gt; PivotTable and PivotChart Report &lt;br&gt;
3. Check &lt;strong&gt;Microsoft Office Excel list or database&lt;/strong&gt; and check &lt;strong&gt;PivotChart report&lt;/strong&gt;&lt;br&gt;
4. The range you highlighted should already be in the &lt;strong&gt;Range&lt;/strong&gt; field&lt;br&gt;
5. Click Next and select a &quot;New Worksheet&quot; for the chart&lt;br&gt;
6. In the new Chart worksheet, right-click on a blank area and set the Chart Type to &lt;strong&gt;Pie&lt;/strong&gt;&lt;br&gt;
7. From the &lt;strong&gt;PivotTable Field List&lt;/strong&gt; popup window, click on &lt;strong&gt;Department&lt;/strong&gt; and drag it onto the blue box on the right side for &lt;strong&gt;Category Fields&lt;/strong&gt;.&lt;br&gt;
8. Grab the &lt;strong&gt;Date&lt;/strong&gt; field from popup window and drop it over the gray area in the center of the pie chart.&lt;br&gt;
&lt;br&gt;
Voila! No formulas to write and you don&apos;t have to insert new rows.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.38508-595575</guid>
		<pubDate>Fri, 19 May 2006 16:33:54 -0800</pubDate>
		<dc:creator>junesix</dc:creator>
	</item><item>
		<title>By: WCityMike</title>
		<link>http://ask.metafilter.com/38508/Excel-Help-for-Pie-Graph-of-Frequency-of-Appearance-of-Values-in-a-Column#596146</link>	
		<description>Turns out $C:$C works well to avoid creating new rows.  Thanks again, all. :)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.38508-596146</guid>
		<pubDate>Sat, 20 May 2006 15:01:39 -0800</pubDate>
		<dc:creator>WCityMike</dc:creator>
	</item>
	</channel>
</rss>
