<?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>Excel Zoom &#187; Tips</title>
	<atom:link href="http://excelzoom.com/tag/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://excelzoom.com</link>
	<description>...because it&#039;s more than just a calculator</description>
	<lastBuildDate>Wed, 02 Sep 2009 20:43:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>The Mystery of Excel&#8217;s Too Many Different Cell Formats</title>
		<link>http://excelzoom.com/2009/09/the-mystery-of-excels-too-many-different-cell-formats/</link>
		<comments>http://excelzoom.com/2009/09/the-mystery-of-excels-too-many-different-cell-formats/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 20:36:57 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Cell]]></category>
		<category><![CDATA[File]]></category>
		<category><![CDATA[Formats]]></category>

		<guid isPermaLink="false">http://excelzoom.com/?p=289</guid>
		<description><![CDATA[If you have ever received the &#8220;Too many different cell formats&#8221; error message in Excel, stop what you&#8217;re doing, take a look around your workbook and ask yourself &#8220;are all these cell formats really useful?&#8221;  After you answer the inevitable &#8220;no&#8221;, smack yourself in the back of the head for creating such a mess!  Just [...]]]></description>
			<content:encoded><![CDATA[<p>If you have ever received the &#8220;Too many different cell formats&#8221; error message in Excel, stop what you&#8217;re doing, take a look around your workbook and ask yourself &#8220;are all these cell formats really useful?&#8221;  After you answer the inevitable &#8220;no&#8221;, smack yourself in the back of the head for creating such a mess!  Just kidding, don&#8217;t actually smack yourself, but apologize to your co-workers for making them put up with your &#8220;creativity&#8221;.</p>
<p>The reason why you got this error is because an Excel file can only have approximately 4,000 different combinations of cell formats.  At first this might seem like a lot, but think about all the unique formatting characteristics that can be applied to a cell.</p>
<ul>
<li>Fonts: including the font, font size, bold, italic, underline, strikethrough, superscript, subscript, color, etc.</li>
<li>Borders: including which side of the cell has a border (top, left, right, or bottom), border color, border thickness (or weight), etc.</li>
<li>Fills: including fill color, and patterns.</li>
<li>Number formatting: such as General, Number, Currency, Accounting, Date, Time, Percentage, Fraction, Scientific, Text, Special, or Custom.  Not to mention the number of decimal places shown.</li>
<li>Alignment: Top, bottom, left, right, centered, centered across selection, indented, orientation degrees, wrapped text, shrink to fit, merged cells, text direction, etc.</li>
</ul>
<p>Any unique combination of the above cell formats counts towards the 4,000 limit, however if several cells share exactly the same formatting, it only counts as one.</p>
<p>For example, assuming that all other formats are the same, a 3&#215;3 cell &#8220;boxed&#8221; with a border going around it would have nine different cell formats, considering that no cell in the group would share the same side border formatting (see below).</p>
<table border="1" cellspacing="0" cellpadding="0" width="233" frame="box" rules="none" bordercolor="#ff0000">
<tbody>
<tr height="17">
<td width="87" height="17">Top &amp; Left</td>
<td width="49">Top</td>
<td width="97">Top &amp; Right</td>
</tr>
<tr height="17">
<td height="17">Left</td>
<td>None</td>
<td>Right</td>
</tr>
<tr height="18">
<td height="18">Bottom &amp; Left</td>
<td>Bottom</td>
<td>Bottom &amp; Right</td>
</tr>
</tbody>
</table>
<p> To fix this, simplify the formats of the cells in your file, by using some of the suggestions below:</p>
<ul>
<li>Use only one or two standard fonts.  For example, if you want your headings to be bold, and the data to be in a regular style, do so consistently.</li>
<li>Use consistent borders in your worksheets.  Maybe just box in headings and your data points to make it easier for your files users to read.</li>
<li>Clear out unnecessary fill colors and patterns.</li>
<li>Make sure your numbers are consistently presented (i.e. percentages are shown as such with the same number of decimal points, dollars are shown in the currency, or accounting format, etc.).</li>
</ul>
<p>Also, consider clearing the formats of blank cells.  To do this, click Edit | Go To | Special | Blanks.  This will highlight all cells that do not contain data.  Next, click Edit | Clear | Formats (or All).  This will clear all the blank cells of any formatting that have been applied to them.  Be careful however, as this could have unintended consequences if you&#8217;ve filled the cells in a row or column to act as a &#8220;border&#8221; between sections in your worksheet, or if you&#8217;ve used the Center Across Selection formatting.</p>
<p>After done simplifying your cell formats across your entire file, save, close, and then re-open before adding any new cell formats.</p>
]]></content:encoded>
			<wfw:commentRss>http://excelzoom.com/2009/09/the-mystery-of-excels-too-many-different-cell-formats/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Goal Seek to Break Even</title>
		<link>http://excelzoom.com/2009/08/goal-seek-to-break-even/</link>
		<comments>http://excelzoom.com/2009/08/goal-seek-to-break-even/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 18:07:53 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Goal Seek]]></category>

		<guid isPermaLink="false">http://excelzoom.com/?p=260</guid>
		<description><![CDATA[Recently I found myself deciding if I should sell some stock in order to provide a little extra cash to my bank account.  I purchased shares of the company&#8217;s stock four times in various quantities, and at varying prices.  Due to the downturn in the stock market recently the prices dropped steadily, so I was [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I found myself deciding if I should sell some stock in order to provide a little extra cash to my bank account.  I purchased shares of the company&#8217;s stock four times in various quantities, and at varying prices.  Due to the downturn in the stock market recently the prices dropped steadily, so I was able to purchase some of the shares at a low price.  The company has done a little better in recent months and has produced a gain for some of the shares I bought at the lower price.</p>
<p>The question I want to solve is: if I sell all the shares that have produced a gain, how many of the shares should I sell at a loss in order to offset the gains, and the resulting taxes?</p>
<p>To do this, I set up my spreadsheet like the one below:</p>
<table border="0" cellspacing="0" cellpadding="0" width="582">
<colgroup span="1">
<col span="1" width="14"></col>
<col span="1" width="51"></col>
<col span="1" width="104"></col>
<col span="1" width="103"></col>
<col span="1" width="92"></col>
<col span="1" width="96"></col>
<col span="1" width="122"></col>
</colgroup>
<tbody>
<tr height="17">
<td width="14" height="17"> </td>
<td width="51"><strong>A</strong></td>
<td width="104"><strong>B</strong></td>
<td width="103"><strong>C</strong></td>
<td width="92"><strong>D</strong></td>
<td width="96"><strong>E</strong></td>
<td width="122"><strong>F</strong></td>
</tr>
<tr height="17">
<td height="17" align="right"><strong>1</strong></td>
<td><strong>Shares</strong></td>
<td><strong>Purchase Price</strong></td>
<td><strong>Total Purchase</strong></td>
<td><strong>Current Price</strong></td>
<td><strong>Current Value</strong></td>
<td><strong>Current Gain/Loss</strong></td>
</tr>
<tr height="17">
<td height="17" align="right"><strong>2</strong></td>
<td>       60</td>
<td>               65.26</td>
<td>           3,915.60</td>
<td>            20.79</td>
<td>         1,247.40</td>
<td>              (2,668.20)</td>
</tr>
<tr height="17">
<td height="17" align="right"><strong>3</strong></td>
<td>       20</td>
<td>               17.26</td>
<td>             345.20</td>
<td>            20.79</td>
<td>            415.80</td>
<td>                    70.60</td>
</tr>
<tr height="17">
<td height="17" align="right"><strong>4</strong></td>
<td>       75</td>
<td>               14.37</td>
<td>           1,077.75</td>
<td>            20.79</td>
<td>         1,559.25</td>
<td>                  481.50</td>
</tr>
<tr height="17">
<td height="17" align="right"><strong>5</strong></td>
<td>     100</td>
<td>                 6.95</td>
<td>             695.00</td>
<td>            20.79</td>
<td>         2,079.00</td>
<td>               1,384.00</td>
</tr>
<tr height="17">
<td height="17" align="right"><strong>6</strong></td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr height="17">
<td height="17" align="right"><strong>7</strong></td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td>Total Gains</td>
<td>               1,936.10</td>
</tr>
<tr height="17">
<td height="17" align="right"><strong>8</strong></td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td>Losses to Break Even</td>
<td>                         -  </td>
</tr>
<tr height="17">
<td height="17" align="right"><strong>9</strong></td>
<td> </td>
<td> </td>
<td> </td>
<td colspan="2">Shares to be Sold to Break Even</td>
<td> </td>
</tr>
</tbody>
</table>
<pre>Note: these are not the actual amounts I used in my own personal situation.  They are only provided for illustration purposes.</pre>
<p><a href="http://excelzoom.com/example_files/GoalSeekBreakevenExample.xls">Download the example file here.</a></p>
<p>In cell G8 (labeled &#8220;Total Losses&#8221; in cell F8), I have the following formula: =(G10*C3)-(G10*E3), which I want to equal the total gains amount, of $1,936.10.  Right now it is showing a zero value because I haven&#8217;t determined how many shares need to be sold at a loss to equal the gains.</p>
<p>To do this, select cell G8, then click Tools | Goal Seek.  In the box that pops up, enter the following:</p>
<ul>
<li>Set cell: Keep as G8.  If it isn&#8217;t G8, enter G8 here.</li>
<li>To value: Enter 1,936.10, as this is the value we wish to set the losses to.</li>
<li>By changing cell: Enter cell G9, as you want to determine how many shares need to be sold in order to break even.</li>
<li>Click OK</li>
</ul>
<p>The result will tell you that you should sell 43.54 shares in order to break even.</p>
<p>For more information on Excel&#8217;s Goal Seek feature, take a look at the post <a href="http://excelzoom.com/2009/07/goal-seek-to-solve-a-problem/">Goal Seek to Solve a Problem</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://excelzoom.com/2009/08/goal-seek-to-break-even/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Goal Seek to Solve A Problem</title>
		<link>http://excelzoom.com/2009/07/goal-seek-to-solve-a-problem/</link>
		<comments>http://excelzoom.com/2009/07/goal-seek-to-solve-a-problem/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 15:14:27 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Automatic]]></category>
		<category><![CDATA[Formula]]></category>
		<category><![CDATA[Goal Seek]]></category>

		<guid isPermaLink="false">http://excelzoom.com/?p=230</guid>
		<description><![CDATA[Microsoft Excel is jam packed with cool useful features that tend to go unused by most users, simply because they don&#8217;t know how to use them, or even that they exist.  One of these features is Excel&#8217;s Goal Seek tool. First, some background on what it does.  Goal Seek is essentially the answer to every [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft Excel is jam packed with cool useful features that tend to go unused by most users, simply because they don&#8217;t know how to use them, or even that they exist.  One of these features is Excel&#8217;s Goal Seek tool.</p>
<p>First, some background on what it does.  Goal Seek is essentially the answer to every middle school aged kid&#8217;s math test word problem.  It is best used when you know the answer to the problem you&#8217;re trying to solve, but don&#8217;t know all the inputs.</p>
<p>For example, a simple word problem might be &#8220;You have 432 sheets of paper to give out to a class of 36 students.  How many sheets of paper does each student get.&#8221;  Well you know that 36 multiplied by something will give you 432, but you don&#8217;t know what that number is.  You could divide 432 by 36 to get the answer, but let&#8217;s assume that isn&#8217;t possible right now.  With Goal Seek, you need several things:</p>
<ul>
<li>An answer expressed as a formula, in this case 432 is equal to 36 times something.  Don&#8217;t worry, the result of the formula doesn&#8217;t have to equal 432 yet.  That&#8217;s the magic of Goal Seek.</li>
<li>You need one part of the equation, in this case 36.</li>
</ul>
<p>To start, type the following into your spreadsheet in the cells indicated.</p>
<table border="0">
<tbody>
<tr>
<td>
<h3> </h3>
</td>
<td>
<h3 style="text-align: center;">A </h3>
</td>
</tr>
<tr>
<td>
<h3>1</h3>
</td>
<td> 36</td>
</tr>
<tr>
<td>
<h3>2</h3>
</td>
<td> &lt;leave blank&gt;</td>
</tr>
<tr>
<td>
<h3>3</h3>
</td>
<td> =A1*A2</td>
</tr>
</tbody>
</table>
<p>Next, open Goal Seek (Tools | Goal Seek, or Data tab on the Excel 2007 ribbon | What If Analysis | Goal Seek).</p>
<p>You are now going to be asked for three things. </p>
<ol>
<li><strong>Set Cell</strong>: this is the reference to the cell that contains your formula, in which you want Excel to produce your answer of 432.  In our example it should be A3.  Note: the Set Cell MUST contain a formula or function.</li>
<li><strong>To Value</strong>: this is the value you want in your Set Cell (A3).  The value here should be 432.</li>
<li><strong>By Changing Cell</strong>: Since we know that the formula in cell A3 is correct, and the value of 36 in cell A1 is correct, we want Excel to produce the answer of 432 by changing cell A2.  Type A2 in this box.  Note: the Changing Cell MUST contain a value.</li>
<li><strong>Click OK</strong>.</li>
</ol>
<p>After clicking OK, Excel will attempt to find a solution to the equation.  Once it does, it will enter the missing number in cell A2 and your formula should now equal 432.</p>
<p>Obviously this is a basic example, and doesn&#8217;t use Goal Seek&#8217;s capabilities to their fullest extent.  Let&#8217;s take another example that looks at a company&#8217;s sales by product to get their desired level of revenue.</p>
<p>XYZ Company makes four different products, Product A, Product B, Product C, and Product D.  The company can produce 1,000, 750, 500, and 100 of each product respectively.  The products also sell for $15, $20, $35, and $50 respectively.  Their maximum revenue for products produced that month, therefore is as follows:</p>
<table border="0">
<tbody>
<tr>
<td> </td>
<td>
<h3 style="TEXT-ALIGN: center">A</h3>
</td>
<td>
<h3 style="TEXT-ALIGN: center">B</h3>
</td>
<td>
<h3 style="TEXT-ALIGN: center">C</h3>
</td>
<td>
<h3 style="TEXT-ALIGN: center">D</h3>
</td>
</tr>
<tr>
<td style="TEXT-ALIGN: center">
<h3>1</h3>
</td>
<td><strong>Product</strong></td>
<td><strong>Production</strong></td>
<td><strong>Sales Price</strong></td>
<td><strong>Net Revenue</strong></td>
</tr>
<tr>
<td>
<h3>2</h3>
</td>
<td>Product A</td>
<td>1,000</td>
<td>$15</td>
<td>$15,000</td>
</tr>
<tr>
<td>
<h3>3</h3>
</td>
<td>Product B</td>
<td>750</td>
<td>$20</td>
<td>$15,000</td>
</tr>
<tr>
<td>
<h3>4</h3>
</td>
<td>Product C</td>
<td>500</td>
<td>$35</td>
<td>$17,500</td>
</tr>
<tr>
<td>
<h3>5</h3>
</td>
<td>Product D</td>
<td>100</td>
<td>$50</td>
<td>$5,000</td>
</tr>
<tr>
<td>
<h3>6</h3>
</td>
<td>Total</td>
<td> </td>
<td> </td>
<td>$52,500</td>
</tr>
</tbody>
</table>
<p>Now say the company feels that their underdog, Product D, could be producing much more.  They also want their revenues to be 60,000.  How many more of Product D will they need to produce?</p>
<p>To figure this out, run Goal Seek just like before, except this time, the &#8220;Set Cell&#8221; is cell D6, &#8220;To Value&#8221; is 60,000, and the &#8220;By Changing Cell&#8221; is cell B5.  After clicking OK, you&#8217;ll notice that Excel has changed the value in cell B5 to 250, indicating that you will need to increase production of Product D to 250 units from 100 in order to have revenues of $60,000, assuming everything else remains the same.</p>
]]></content:encoded>
			<wfw:commentRss>http://excelzoom.com/2009/07/goal-seek-to-solve-a-problem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Use Excel As A Calculator</title>
		<link>http://excelzoom.com/2009/07/use-excel-as-a-calculator/</link>
		<comments>http://excelzoom.com/2009/07/use-excel-as-a-calculator/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 01:55:12 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Calculator]]></category>

		<guid isPermaLink="false">http://excelzoom.com/?p=223</guid>
		<description><![CDATA[OK, I know the tag-line for this website is &#8220;&#8230;because it&#8217;s more than just a calculator&#8221;.  Of course this is in reference to the almost endless number of functions that Excel can calculate when compared to a standard calculator.  That isn&#8217;t to say though that Excel can&#8217;t calculate things just as well as a standard [...]]]></description>
			<content:encoded><![CDATA[<p>OK, I know the tag-line for this website is &#8220;&#8230;because it&#8217;s more than just a calculator&#8221;.  Of course this is in reference to the almost endless number of functions that Excel can calculate when compared to a standard calculator.  That isn&#8217;t to say though that Excel <em>can&#8217;t</em> calculate things just as well as a standard calculator.</p>
<p>For example, when balancing a checkbook, you could write out your bank balance and manually add or subtract the deposits and checks that haven&#8217;t cleared the bank yet.  Or, you could type your bank balance into Excel, type the list of checks and deposits and have Excel do the math for you.</p>
<p>You could also add a list of numbers together in one cell the opposite way from how you would calculate them on a calculator.  If you have the following list of numbers: 8, 17, 49, 32, 19, you would add them on a calculator by typing 8+17+49+32+19= to produce 125.  In Excel, the equals sign is on the opposite side of the equation.  You simply type =8+17+49+32+19 hit Enter and the cell will display the result, 125.</p>
<p>You can do this with all the familiar operators found on a calculator (add, subtract, multiply, and divide), as follows.</p>
<table border="0">
<tbody>
<tr>
<td><strong>Operator</strong></td>
<td><strong>Calculator Input</strong></td>
<td><strong>Excel Formula</strong></td>
</tr>
<tr>
<td>Add (+)</td>
<td>5+5=</td>
<td>=5+5</td>
</tr>
<tr>
<td>Subtract (-)</td>
<td>5-5=</td>
<td>=5-5</td>
</tr>
<tr>
<td>Multiply (*)</td>
<td>5&#215;5=</td>
<td>=5*5</td>
</tr>
<tr>
<td>Divide (/)</td>
<td>5÷5=</td>
<td>=5/5</td>
</tr>
</tbody>
</table>
<p>So, while Excel <em>is</em> more than just a calculator, it can still perform various functions like a calculator.</p>
]]></content:encoded>
			<wfw:commentRss>http://excelzoom.com/2009/07/use-excel-as-a-calculator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Office 2010</title>
		<link>http://excelzoom.com/2009/07/microsoft-office-2010/</link>
		<comments>http://excelzoom.com/2009/07/microsoft-office-2010/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 19:43:16 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Excel 2007]]></category>

		<guid isPermaLink="false">http://excelzoom.com/?p=220</guid>
		<description><![CDATA[For all of you out there still wondering where the &#8220;File&#8221; menu is in Excel 2007 and other Office 2007 products, another twist is in store for you.  Microsoft announced earlier this week that they are planning on releasing Office 2010, which includes updates to Word, Excel, PowerPoint, Outlook, OneNote, Publisher, Access, SharePoint Workspace (formerly [...]]]></description>
			<content:encoded><![CDATA[<p>For all of you out there still wondering where the &#8220;File&#8221; menu is in Excel 2007 and other Office 2007 products, another twist is in store for you.  Microsoft announced earlier this week that they are planning on releasing Office 2010, which includes updates to Word, Excel, PowerPoint, Outlook, OneNote, Publisher, Access, SharePoint Workspace (formerly Groove 2007), and InfoPath.</p>
<p>In addition to the new programs, Microsoft is also introducing Office Web Applications, which compliments Word, Excel, PowerPoint, and OneNote to allow you to access your files from anywhere with an internet connection.  It also allows you to share documents with others and even gives you the ability to work simultaneously on the same document.  Further adding to their product offerings is Office Mobile, which allows you to view Word, Excel, and PowerPoint files on a mobile version of the software.  Email will also be easier to manage with Outlook Mobile.</p>
<p>OK, so enough with the Office features, what&#8217;s new in Excel 2010?</p>
<p>Spreadsheets can now be run in your web browser, and be published to the web via the desktop version.  The browser version does not have as many features as the desktop version, however it is an improvement over Google Spreadsheets.  Additionally, a new analytic feature is called Sparklines, which produce a visual trend of a data set over time similar to a chart, except the Sparkline is contained within a single cell.  For example, if you&#8217;re tracking monthly sales of a product, you can set a Sparkline that will show the peaks and valleys that the data produces.</p>
<p>One thing users of Excel 2007 (and other Office 2007 programs) who are just getting used to the new Ribbon will not have to worry about is learning another new user interface.  The ribbon should remain essentially the same as in the 2007 version, except for a few new features.</p>
<p>This post will get updated as I discover new features, so please bookmark it and check back often.</p>
]]></content:encoded>
			<wfw:commentRss>http://excelzoom.com/2009/07/microsoft-office-2010/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dynamic Chart Labels</title>
		<link>http://excelzoom.com/2009/07/dynamic-chart-labels/</link>
		<comments>http://excelzoom.com/2009/07/dynamic-chart-labels/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 17:11:50 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Charts]]></category>

		<guid isPermaLink="false">http://excelzoom.com/?p=216</guid>
		<description><![CDATA[Using charts in Excel can be a very powerful tool when used correctly.  They can help to quickly visualize trends, and analyze results.  The charts, however are useless if the person who is looking at them can&#8217;t tell what the data is that they are trying to analyze. Excel helps the user by inserting labels [...]]]></description>
			<content:encoded><![CDATA[<p>Using charts in Excel can be a very powerful tool when used correctly.  They can help to quickly visualize trends, and analyze results.  The charts, however are useless if the person who is looking at them can&#8217;t tell what the data is that they are trying to analyze.</p>
<p>Excel helps the user by inserting labels in key points to help the user identify what they are looking at.  If you have a dynamic set of data (that is, it can change and represent different different sets of data) that feeds a chart, you might not want to use Excel&#8217;s default data labels.  Luckily Excel will allow you to link certain labels to a cell in your file, which will update the label&#8217;s value each time the cell value changes.</p>
<p>To do this, simply click on the label so that there is a box surrounding it.  Then click in the formula bar and type &#8220;=A1&#8243; (assuming you wish to link the label to cell A1).  Hit Enter and you&#8217;re all set!</p>
<p>Linking the chart&#8217;s labels is useful when, for example, you have some monthly sales information set up so that when you type &#8220;Monthly&#8221; in cell A1, it displays the data by month, and when you type &#8220;Quarterly&#8221; in cell A1 it displays it by quarter.  Essentially its the same data, just aggregated a little differently. </p>
<p>Having a chart that is as dynamic as the data would be nice so that you don&#8217;t have to keep changing the chart title from &#8220;Monthly Sales Data&#8221; to &#8220;Quarterly Sales Data&#8221;, or the X-Axis label from &#8220;Monthly&#8221; to &#8220;Quarterly&#8221;, and back again each time you change the views.</p>
]]></content:encoded>
			<wfw:commentRss>http://excelzoom.com/2009/07/dynamic-chart-labels/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Create a User Defined Function</title>
		<link>http://excelzoom.com/2009/06/create-a-user-defined-function/</link>
		<comments>http://excelzoom.com/2009/06/create-a-user-defined-function/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 11:35:25 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[UDF]]></category>
		<category><![CDATA[User Defined Function]]></category>
		<category><![CDATA[VBA]]></category>

		<guid isPermaLink="false">http://excelzoom.com/?p=152</guid>
		<description><![CDATA[Excel allows you to create your own &#8220;User Defined Functions&#8221; (UDF) that can be used the same way as any other built-in function in Excel (i.e. IF, SUM, VLOOKUP, etc.).  With a little knowledge of VBA code, you can create your own function to do pretty much whatever you want. To illustrate how to create [...]]]></description>
			<content:encoded><![CDATA[<p>Excel allows you to create your own &#8220;User Defined Functions&#8221; (UDF) that can be used the same way as any other built-in function in Excel (i.e. IF, SUM, VLOOKUP, etc.).  With a little knowledge of VBA code, you can create your own function to do pretty much whatever you want.</p>
<p>To illustrate how to create a UDF, we&#8217;ll create a function that calculates fuel consumption in miles per gallon.</p>
<ul>
<li>First, open a new Excel workbook.</li>
<li>Open VBA (Alt+F11)</li>
<li>Right click the workbook&#8217;s name (i.e. VBAProject (Book1))and select Insert | Module</li>
</ul>
<p>In order to calculate your vehicle&#8217;s fuel consumption in miles per gallon, you&#8217;ll need to know a couple things:</p>
<ul>
<li>How many miles driven (ending miles less beginning miles)</li>
<li>Number of gallons used </li>
<li>Miles per Gallon = (Ending Miles &#8211; Beginning Miles) / Gallons Used</li>
</ul>
<p>Now, from the new module you opened in VBA, begin typing your function as follows.</p>
<p style="padding-left: 30px;"><code><br />
Function MPG(BeginningMiles As Integer, EndingMiles As Integer, Gallons As Single)<br />
     MPG = (EndingMiles - BeginningMiles) / Gallons<br />
End Function</code></p>
<p>After entering the UDF in your module, return back to the Excel workbook and test it out. </p>
<p>Take a look at the example below to see how this function works the same way any built in function would work.</p>
<p> </p>
<p><img src="http://excelzoom.com/images/mpg.jpg" alt="User Defined Function" /></p>
<p>You can create your own functions to do just about any calculation you can think of, as well as manipulating text.</p>
<p> These functions can be saved in the workbook you&#8217;re working in, or can be saved as an add-in if you wish to use it in more than one workbook.</p>
<p>To save the workbook as an add-in, simply click File | Save As enter a name for the file, then change the file type to Microsoft Excel Add-In (*.xla).  In Excel 2007, you can then import the add-in by clicking Excel Options after clicking the Office Button, then clicking Add-Ins.  Towards the bottom of the screen, select Manage: Excel Add-Ins and click Go.  In earlier versions of Excel, click Tools | Add-Ins.  On the next screen, click Browse and find the location of your Add-In.  Make sure it is checked in the list, and hit OK.  You should now be able to access your Add-In in any file you&#8217;re using.</p>
]]></content:encoded>
			<wfw:commentRss>http://excelzoom.com/2009/06/create-a-user-defined-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Data Validation to Avoid Duplicate Values</title>
		<link>http://excelzoom.com/2009/05/data-validation-to-avoid-duplicate-values/</link>
		<comments>http://excelzoom.com/2009/05/data-validation-to-avoid-duplicate-values/#comments</comments>
		<pubDate>Sat, 16 May 2009 14:06:45 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Data Validation]]></category>

		<guid isPermaLink="false">http://excelzoom.com/?p=112</guid>
		<description><![CDATA[Suppose you have a spreadsheet where you are entering a list of unique values, such as invoice numbers, customer names, etc. You don&#8217;t want to duplicate any of the data, as this would cause problems down the road, but at the same time the list might be too large for you to manually verify that [...]]]></description>
			<content:encoded><![CDATA[<p>Suppose you have a spreadsheet where you are entering a list of unique values, such as invoice numbers, customer names, etc.  You don&#8217;t want to duplicate any of the data, as this would cause problems down the road, but at the same time the list might be too large for you to manually verify that no duplicate values have been entered.</p>
<p>You can use Data Validation to ensure that no duplicate values can be entered into your list.  If a user accidentally enters a duplicate, an error message will pop-up telling them that they have entered an invalid value.</p>
<p>To do this, follow the steps below.</p>
<ul>
<li>Select the column where you want your list of unique values to appear (for illustration purposes we&#8217;ll assume it is column A).</li>
<li>Click Data | Validation.</li>
<li>On the Data Validation window&#8217;s Settings tab, select Allow: Custom.</li>
<li>In the Formula box, type the following formula: =MATCH(A1,$A:$A,0)=ROW(A1) (if you&#8217;re using this in a different column than column A, change the &#8220;A1&#8243; and &#8220;$A&#8221;&#8216;s in the formula to whichever column you&#8217;re using)</li>
<li>Click OK.</li>
</ul>
<p>Now begin to type your list of unique values.  If you should happen to accidentally enter one twice, you&#8217;ll see the following error message pop-up:</p>
<p><img src="http://excelzoom.com/images/data_validation_error.jpg" alt="Excel Data Validation Error" width="350" height="112" /></p>
<p>You can click &#8220;Retry&#8221; to re-enter a value in the same cell, or &#8220;Cancel&#8221; to delete the duplicate value.</p>
<h3>**UPDATE**</h3>
<p>To have a &#8220;one click&#8221; availability to this tip, use the following macro code.  Again, like the formula above, change the &#8220;A1&#8243; and &#8220;$A&#8221;&#8216;s to whichever column you&#8217;re using.<br />
<code><br />
Sub Duplicate_Validation()<br />
'<br />
'MACROS BY EXCELZOOM.COM<br />
With Selection.Validation<br />
.Delete<br />
.Add Type:=xlValidateCustom, AlertStyle:=xlValidAlertStop, Operator:= _<br />
xlBetween, Formula1:="=MATCH(A1,$A:$A,0)=ROW(A1)"<br />
.IgnoreBlank = True<br />
.InCellDropdown = True<br />
.InputTitle = ""<br />
.ErrorTitle = ""<br />
.InputMessage = ""<br />
.ErrorMessage = ""<br />
.ShowInput = True<br />
.ShowError = True<br />
End With<br />
End Sub<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://excelzoom.com/2009/05/data-validation-to-avoid-duplicate-values/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Drop Down Lists To Create Hyperlinks</title>
		<link>http://excelzoom.com/2009/05/drop-down-lists-to-create-hyperlinks/</link>
		<comments>http://excelzoom.com/2009/05/drop-down-lists-to-create-hyperlinks/#comments</comments>
		<pubDate>Sat, 16 May 2009 13:37:03 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Data Validation]]></category>
		<category><![CDATA[Name Range]]></category>

		<guid isPermaLink="false">http://excelzoom.com/?p=110</guid>
		<description><![CDATA[As discussed in a previous tip, adding a drop down list to your worksheet allows the users of the worksheet to enter information in a neat, consistent format. The example in the previous tip emphasized the importance of having consistent information when summarizing information in a PivotTable. Another use is to store lists of information, which [...]]]></description>
			<content:encoded><![CDATA[<p>As discussed in a previous <a href="http://excelzoom.com/?p=85" target="_blank">tip</a>, adding a drop down list to your worksheet allows the users of the worksheet to enter information in a neat, consistent format.</p>
<p>The example in the previous tip emphasized the importance of having consistent information when summarizing information in a PivotTable. Another use is to store lists of information, which could be anything, but in this example, I&#8217;m going to use website addresses.</p>
<p>Say you do a lot of research on several different topics, and summarize the results in a different spreadsheet for each topic. You could store all the bookmarks in your web browser, and chances are you already do. The problem with this is that if you&#8217;re only using a handful of bookmarks for one topic out of the many you have saved, you could end up searching through a lot of bookmarks to find the sites you need.</p>
<p>If you instead take the time up front to compile a list of sites you use frequently for a particular topic, you can use data validation to display them in one cell on your spreadsheet with another &#8220;clickable&#8221; cell to open the site in your web browser.</p>
<p>To do this, follow the steps below.</p>
<ul>
<li>Select the cell where you want your list of websites to appear (for illustration purposes I&#8217;ll assume your list will appear in cell A1).</li>
<li>Click Data | Validation.</li>
<li>On the Data Validation window&#8217;s Settings tab, select Allow: List, and make sure the In-cell dropdown box is checked.</li>
<li>In the Source box, refer to the range of cells in the same worksheet that contains your website list, or refer to a <a href="http://excelzoom.com/?p=77" target="_blank">named range</a> elsewhere in your workbook.</li>
<li>Click OK.</li>
</ul>
<p>When you select cell A1, you should now see the list of websites when you click the arrow to the right of the cell. Now select cell B1. This is where we are going to put some text that becomes &#8220;clickable&#8221;, sort of like a link on a website.</p>
<p>In cell B1, type =HYPERLINK(A1,&#8221;GO&#8221;). Now whenever you change the website in cell A1, using the drop down list, you can click the words &#8220;GO&#8221; in cell B1 go to that site. It&#8217;s like having your own bookmark system in Excel!</p>
]]></content:encoded>
			<wfw:commentRss>http://excelzoom.com/2009/05/drop-down-lists-to-create-hyperlinks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Return Worksheet Name in a Cell</title>
		<link>http://excelzoom.com/2009/04/return-worksheet-name-in-a-cell/</link>
		<comments>http://excelzoom.com/2009/04/return-worksheet-name-in-a-cell/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 15:03:17 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://excelzoom.com/?p=108</guid>
		<description><![CDATA[Often times it&#8217;s useful to be able to display your worksheet&#8217;s name in a cell in the worksheet. This could be tedious if you have a file with a lot of sheets, whose names could change frequently. Luckily there are a couple ways around this problem. If you want to display this information in a [...]]]></description>
			<content:encoded><![CDATA[<p>Often times it&#8217;s useful to be able to display your worksheet&#8217;s name in a cell in the worksheet. This could be tedious if you have a file with a lot of sheets, whose names could change frequently. Luckily there are a couple ways around this problem.</p>
<p>If you want to display this information in a cell in your file, enter the following formula in the cell where you want the name to appear:<br />
=MID(CELL(&#8220;filename&#8221;,A1),FIND(&#8220;]&#8221;,CELL(&#8220;filename&#8221;,A1))+1,256)</p>
<p>Anytime you change your sheet&#8217;s name, the formula will automatically update, so you never have to edit the name in the worksheet as well.</p>
<p>If you only need the information on a printout and don&#8217;t want it displayed in a cell, you can edit the sheet&#8217;s header/footer. Click View | Header and Footer | then Custom Header or Custom Footer, depending on where you want the name to appear. Determine where you want the name to appear (Left, Center, or Right) and click the worksheet button (third from the right) that looks like a worksheet with three tabs below it.</p>
]]></content:encoded>
			<wfw:commentRss>http://excelzoom.com/2009/04/return-worksheet-name-in-a-cell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

