<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>www.excelrange.com &#187; cell format</title>
	<atom:link href="http://www.excelrange.com/tag/cell-format/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.excelrange.com</link>
	<description>Sharing Excel skills</description>
	<lastBuildDate>Tue, 11 Jan 2011 10:09:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Pivot Table Tip: Color All One Type of Data Items at Once</title>
		<link>http://www.excelrange.com/pivot-table-tip-color-all-one-type-of-data-items/</link>
		<comments>http://www.excelrange.com/pivot-table-tip-color-all-one-type-of-data-items/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 08:12:05 +0000</pubDate>
		<dc:creator>Märt Parker</dc:creator>
				<category><![CDATA[Excel]]></category>
		<category><![CDATA[cell format]]></category>
		<category><![CDATA[data visualization]]></category>
		<category><![CDATA[Pivot table]]></category>
		<category><![CDATA[time saving]]></category>

		<guid isPermaLink="false">http://www.excelrange.com/?p=266</guid>
		<description><![CDATA[Microsoft Excel&#8217;s styling capabilities have improved over the time. But there are still lackings on some areas. One thing I personally miss is the ability to attach styles to Pivot table items. For example you have in one table the sums of revenues and sums of quantities &#8211; and you wish the revenues to be [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft Excel&#8217;s styling capabilities have improved over the time. But there are still lackings on some areas. One thing I personally miss is the ability to attach styles to Pivot table items. For example you have in one table the sums of revenues and sums of quantities &#8211; and you wish the revenues to be formatted differently. Of course, you can manually change the formatting of each revenue cell, but this is not a very modern way to handle it &#8211; considering we use styles for such formatting tasks in MS Office and other programs nowadays. </p>
<p>I have a little tip for those of you who face the same problem &#8211; you can still attach different color to different Pivot table items.<span id="more-266"></span> It is possible to use custom formatting to define the color of the Pivot table data item. This way all data of the same kind will be formatted with the same font color &#8211; resistant to table refreshes, size changes and field arrangements. And most importantly &#8211; you can change the color instantly from one place.</p>
<p>Field format is applied by right-clicking on the field name: Field settings -&gt; Number</p>
<p>Then you should apply &#8216;Custom&#8217; number formatting and define color format as shown on the screenshot below. This makes the text blue:</p>
<p><a href="http://www.excelrange.com/wp-content/uploads/2009/12/Picture-1.png" rel="lightbox[266]"><img class="alignnone size-medium wp-image-270" title="Custom format for a Pivot table item" src="http://www.excelrange.com/wp-content/uploads/2009/12/Picture-1-300x279.png" alt="Custom format for a Pivot table item" width="300" height="279" /></a></p>
<p>Below is a table of milk production data. One data item is made blue to distinguish it from the rest of the table:</p>
<p><a href="http://www.excelrange.com/wp-content/uploads/2009/12/Picture-2.png" rel="lightbox[266]"><img class="alignnone size-medium wp-image-271" title="Pivot table with colored texts" src="http://www.excelrange.com/wp-content/uploads/2009/12/Picture-2-300x228.png" alt="Pivot table with colored texts" width="300" height="228" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.excelrange.com/pivot-table-tip-color-all-one-type-of-data-items/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Get the Sum of Rounded Numbers &#8220;correct&#8221;?</title>
		<link>http://www.excelrange.com/how-to-get-the-sum-of-rounded-numbers-correct/</link>
		<comments>http://www.excelrange.com/how-to-get-the-sum-of-rounded-numbers-correct/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 07:32:04 +0000</pubDate>
		<dc:creator>Märt Parker</dc:creator>
				<category><![CDATA[Excel]]></category>
		<category><![CDATA[cell format]]></category>
		<category><![CDATA[formulas]]></category>
		<category><![CDATA[rounding numbers]]></category>

		<guid isPermaLink="false">http://www.excelrange.com/?p=233</guid>
		<description><![CDATA[It&#8217;s quite common that the calculation adds precise numbers which are formatted to be less precise. It might also happen that due to rounding, the formatted result seems mathematically incorrect on screen. 
Example:




Cell value
Cell value formatted with 1 decimal


A
12,75
12,8


B
12,75
12,8


SUM A+B
25,5
25,5



The last red number seems incorrect, because 12,8 + 12,8 = 25,6
Usually this is OK, as [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s quite common that the calculation adds precise numbers which are formatted to be less precise. It might also happen that due to rounding, the formatted result seems mathematically incorrect on screen. <span id="more-233"></span></p>
<p>Example:</p>
<table border="0">
<tbody>
<tr>
<td></td>
<td>Cell value</td>
<td>Cell value formatted with 1 decimal</td>
</tr>
<tr>
<td>A</td>
<td>12,75</td>
<td>12,8</td>
</tr>
<tr>
<td>B</td>
<td>12,75</td>
<td>12,8</td>
</tr>
<tr>
<td>SUM A+B</td>
<td>25,5</td>
<td style="color: #cc0000;"><strong>25,5</strong></td>
</tr>
</tbody>
</table>
<p>The last red number seems incorrect, because 12,8 + 12,8 = 25,6</p>
<p>Usually this is OK, as from the source data point of view, this is mathematically correct.  But on some rare cases you want to add up numbers as they are displayed and you want the result to be 25,6. To let Excel do the math at the displayed precision level go to:</p>
<p>On Excel 2007: <em>Excel Options &gt; Advanced</em>, scroll down to <em>When calculating this workbook<br />
</em></p>
<p>On Excel Mac 2008: <em>Excel -&gt; Preferences -&gt; Calculation</em></p>
<p>And check the field &#8216;<strong>Set precision as displayed</strong>&#8216;</p>
<p>This should be used with caution as Excel changes the numbers in cells permanently.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.excelrange.com/how-to-get-the-sum-of-rounded-numbers-correct/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

