<?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>Bacon Bits: &#187; Formulas</title>
	<atom:link href="http://datapigtechnologies.com/blog/index.php/tag/formulas/feed/" rel="self" type="application/rss+xml" />
	<link>http://datapigtechnologies.com/blog</link>
	<description>A DataPig Technologies Blog</description>
	<lastBuildDate>Sun, 01 Jan 2012 21:30:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Building a Multiplication Heat Map</title>
		<link>http://datapigtechnologies.com/blog/index.php/building-a-multiplication-heat-map/</link>
		<comments>http://datapigtechnologies.com/blog/index.php/building-a-multiplication-heat-map/#comments</comments>
		<pubDate>Wed, 11 May 2011 11:43:10 +0000</pubDate>
		<dc:creator>datapig</dc:creator>
				<category><![CDATA[Excel Formulas]]></category>
		<category><![CDATA[Excel Tips and Tricks]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Formulas]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://datapigtechnologies.com/blog/index.php/building-a-multiplication-heat-map/</guid>
		<description><![CDATA[The boy is now doing a lot of math that involves multiplication, so he&#8217;s been reviewing the dreaded multiplication table. It occurred to me that you could build a quick multiplication table in Excel. Simply build this grid, enter the formula at the intersection of 2*2, and then copy down and across. . For giggles, [...]
Related posts:<ol>
<li><a href='http://datapigtechnologies.com/blog/index.php/changing-font-size-of-just-the-formula-bar/' rel='bookmark' title='Changing Font Size of Just the Formula Bar'>Changing Font Size of Just the Formula Bar</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/safely-move-formulas-without-absolute-reference/' rel='bookmark' title='Safely Move Formulas without Absolute Reference'>Safely Move Formulas without Absolute Reference</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/emailing-from-excel-using-the-hyperlink-function/' rel='bookmark' title='Emailing from Excel Using the Hyperlink Function'>Emailing from Excel Using the Hyperlink Function</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sorting-numbers-and-text-together/' rel='bookmark' title='Sorting Numbers and Text Together'>Sorting Numbers and Text Together</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sort-by-color-in-excel-2003/' rel='bookmark' title='Sort by Color in Excel 2003'>Sort by Color in Excel 2003</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>The boy is now doing a lot of math that involves multiplication, so he&#8217;s been reviewing the dreaded multiplication table.</p>
<p>It occurred to me that you could build a quick multiplication table in Excel.<br />
<span id="more-3207"></span><br />
Simply build this grid, enter the formula at the intersection of 2*2, and then copy down and across.</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/05/051111_1143_BuildingaMu1.png" alt="" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p>For giggles, I applied a conditional formatting just to be dazzled by the colors.</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/05/051111_1143_BuildingaMu2.png" alt="" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p>Then I thought it would be cool if I applied a custom heat map based on how well the boy was able to fill in the table on his own.</p>
<p>Here&#8217;s what he looks like. The dark orange areas are problem areas. The light orange are areas that could use reinforcement.</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/05/051111_1143_BuildingaMu3.png" alt="" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p>If I was a math teacher, I&#8217;d build one of these per student and use it to focus in on multiplication.  This would highlight the areas to focus on for each student.</p>
<p><span style="color: white;">.<br />
</span></p>
<p>Of course, this is until some parent complains to the school board that the colors are causing irreparable harm to their child’s psyche due to the subliminal messages emanating from the heat map. So I’ll be dragged into court to prove that the shapes created on the heat map were only <em>coincidently</em> shaped like testicles.</p>
<p>Related posts:<ol>
<li><a href='http://datapigtechnologies.com/blog/index.php/changing-font-size-of-just-the-formula-bar/' rel='bookmark' title='Changing Font Size of Just the Formula Bar'>Changing Font Size of Just the Formula Bar</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/safely-move-formulas-without-absolute-reference/' rel='bookmark' title='Safely Move Formulas without Absolute Reference'>Safely Move Formulas without Absolute Reference</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/emailing-from-excel-using-the-hyperlink-function/' rel='bookmark' title='Emailing from Excel Using the Hyperlink Function'>Emailing from Excel Using the Hyperlink Function</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sorting-numbers-and-text-together/' rel='bookmark' title='Sorting Numbers and Text Together'>Sorting Numbers and Text Together</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sort-by-color-in-excel-2003/' rel='bookmark' title='Sort by Color in Excel 2003'>Sort by Color in Excel 2003</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://datapigtechnologies.com/blog/index.php/building-a-multiplication-heat-map/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Changing Font Size of Just the Formula Bar</title>
		<link>http://datapigtechnologies.com/blog/index.php/changing-font-size-of-just-the-formula-bar/</link>
		<comments>http://datapigtechnologies.com/blog/index.php/changing-font-size-of-just-the-formula-bar/#comments</comments>
		<pubDate>Mon, 25 Apr 2011 13:11:19 +0000</pubDate>
		<dc:creator>datapig</dc:creator>
				<category><![CDATA[Excel Formatting Tips]]></category>
		<category><![CDATA[Excel Formulas]]></category>
		<category><![CDATA[Excel Tips and Tricks]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Excel Formatting]]></category>
		<category><![CDATA[Formulas]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://datapigtechnologies.com/blog/index.php/changing-font-size-of-just-the-formula-bar/</guid>
		<description><![CDATA[I just got back from a whirlwind week of live training events. The most exciting one was the live Xcelsius training we did in Miami. We had a blast, as we always do at our live events. I was on my game &#8211; of course – and everyone walked away with coffers full of new [...]
Related posts:<ol>
<li><a href='http://datapigtechnologies.com/blog/index.php/formula-auditing-art/' rel='bookmark' title='Formula Auditing Art'>Formula Auditing Art</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/outta-my-way-formula-thingy/' rel='bookmark' title='Outta My Way Formula Thingy!'>Outta My Way Formula Thingy!</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sorting-numbers-and-text-together/' rel='bookmark' title='Sorting Numbers and Text Together'>Sorting Numbers and Text Together</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/emailing-from-excel-using-the-hyperlink-function/' rel='bookmark' title='Emailing from Excel Using the Hyperlink Function'>Emailing from Excel Using the Hyperlink Function</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sort-by-color-in-excel-2003/' rel='bookmark' title='Sort by Color in Excel 2003'>Sort by Color in Excel 2003</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I just got back from a whirlwind week of live training events. The most exciting one was the live Xcelsius training we did in Miami. We had a blast, as we always do at our live events. I was on my game &#8211; of course – and everyone walked away with coffers full of new techniques.</p>
<p><span style="color: white;">.<br />
</span></p>
<p>During my live training events, I have gotten into the habit of using a trick I learned from <strong><em>John</em></strong> (a Senior VP at Ernst &amp;Young) a few months ago.</p>
<p>With this trick, I can increase the font of just the Formula bar. Like this:</p>
<p><span id="more-3170"></span></p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/04/042511_1311_ChangingFon1.png" alt="" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p>This technique has proven to be extremely useful in live training scenarios where students in the back of the room struggle to see the formulas that are thrown up on the screen.</p>
<p>Here, I can make the Font size huge so all the students can see.</p>
<p><span style="color: white;">.<br />
</span></p>
<p>I know what you&#8217;re thinking: &#8220;Why isn&#8217;t the rest of the workbook huge too (i.e. column references, row references). Well the secret is if you increase the workbook font properties, then open an already existing workbook, only the formula bar actually takes on the new font properties.</p>
<p><span style="color: white;">.<br />
</span></p>
<p><strong>Try it yourself.<br />
</strong></p>
<p>In Excel, open up the Excel options and go to the section called &#8216;When creating new workbooks&#8217;.</p>
<p>Then change the Font size to any size you&#8217;d like.</p>
<p>Now press the OK button and close out Excel.</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/04/042511_1311_ChangingFon2.png" alt="" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p>The next time you open Excel, everything will be BIG.</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/04/042511_1311_ChangingFon3.png" alt="" /><span style="color: white;"><br />
</span></p>
<p><span style="color: white;">.<br />
</span></p>
<p>However…….If you open an Excel document that was created and saved in normal size, only the formula bar is big.</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/04/042511_1311_ChangingFon4.png" alt="" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p><span style="color: white;">.<br />
</span></p>
<p>Now…. I personally wouldn&#8217;t use this trick in my everyday work. Constantly changing font sizes in my Excel workbooks seems silly.</p>
<p>However, when I put on my live training events, I use this trick all the time. It&#8217;s my way of giving back to the sight-challenged Excel analyst community.</p>
<p><span style="color: white;">.<br />
</span><br />
Apart from the accidental functionality I&#8217;ve found in this strange glitch in Workbook Font sizing, this behavior in Excel does feel a bit like a bug. One would think the formula bar would remain normal size (like the other interface components) when opening up an exisitng workbook. Instead, the Formula bar is the only interface component that takes on the new Workbook font properties.</p>
<p><span style="color: white;">.<br />
</span><br />
Bug or not, I&#8217;ve adopted this freakish behavior as my trick.</p>
<p>Related posts:<ol>
<li><a href='http://datapigtechnologies.com/blog/index.php/formula-auditing-art/' rel='bookmark' title='Formula Auditing Art'>Formula Auditing Art</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/outta-my-way-formula-thingy/' rel='bookmark' title='Outta My Way Formula Thingy!'>Outta My Way Formula Thingy!</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sorting-numbers-and-text-together/' rel='bookmark' title='Sorting Numbers and Text Together'>Sorting Numbers and Text Together</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/emailing-from-excel-using-the-hyperlink-function/' rel='bookmark' title='Emailing from Excel Using the Hyperlink Function'>Emailing from Excel Using the Hyperlink Function</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sort-by-color-in-excel-2003/' rel='bookmark' title='Sort by Color in Excel 2003'>Sort by Color in Excel 2003</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://datapigtechnologies.com/blog/index.php/changing-font-size-of-just-the-formula-bar/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Using HLOOKUP in Dashboard Models</title>
		<link>http://datapigtechnologies.com/blog/index.php/using-hlookup-in-dashboard-models/</link>
		<comments>http://datapigtechnologies.com/blog/index.php/using-hlookup-in-dashboard-models/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 13:09:27 +0000</pubDate>
		<dc:creator>datapig</dc:creator>
				<category><![CDATA[Excel Formulas]]></category>
		<category><![CDATA[Visualizations]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Formulas]]></category>
		<category><![CDATA[Visualization]]></category>

		<guid isPermaLink="false">http://datapigtechnologies.com/blog/index.php/using-hlookup-in-dashboard-models/</guid>
		<description><![CDATA[Debra D. is currently on a mission at the Contextures Blog to cover 30 Excel Functions in 30 days. Quite the feat, considering since she also cranks out a video tutorial with each one. Anyway, the 10th function she covered was HLOOKUP. And as you may have guessed, poor old HLOOKUP didn&#8217;t even get one [...]
Related posts:<ol>
<li><a href='http://datapigtechnologies.com/blog/index.php/creating-subtotals-on-many-columns/' rel='bookmark' title='Creating Subtotals on Many Columns'>Creating Subtotals on Many Columns</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sorting-numbers-and-text-together/' rel='bookmark' title='Sorting Numbers and Text Together'>Sorting Numbers and Text Together</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/testing-for-null-cells/' rel='bookmark' title='Testing for Null Cells'>Testing for Null Cells</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sort-by-color-in-excel-2003/' rel='bookmark' title='Sort by Color in Excel 2003'>Sort by Color in Excel 2003</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/getting-data-from-previous-sheet/' rel='bookmark' title='Getting Data from Previous Sheet'>Getting Data from Previous Sheet</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Debra D. is currently on a mission at the Contextures Blog to cover 30 Excel Functions in 30 days. Quite the feat, considering since she also cranks out a video tutorial with each one. Anyway, the 10<sup>th</sup> function she covered was HLOOKUP. And as you may have guessed, poor old HLOOKUP didn&#8217;t even get one comment. So I&#8217;d like to give you my take on why I use the HLOOKUP function is some of my dashboard models.</p>
<p><span style="color: white;">.<span id="more-2970"></span><br />
</span></p>
<p>If you&#8217;re new to the HLOOKUP function, you can get the specifics at <a href="http://blog.contextures.com/archives/2011/01/11/30-excel-functions-in-30-days-10-hlookup/">Debra&#8217;s post</a>. But the gist is that HLOOKUP finds a single value from a row of data where the column label matches a given criterion.</p>
<p>For example, the table in C3 requires quarter-end numbers (March and June) for 2010. HLOOKUP uses the column labels to find the correct month columns and then locates the 2010 data by moving down the appropriate number of rows. In this case, 2010 data is in row 4, so the number 4 is used in the formulas.</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/01/011711_1309_UsingHLOOKU1.png" alt="" /></p>
<p><span style="color: white;"><strong><span style="color: #ffffff;">.<br />
</span></strong></span></p>
<p>This is fine and dandy, but we all know that HLOOKUP is the less popular cousin of the cool VLOOKUP function (mainly because Excel data is typically vertically oriented). So in most situations, we would use some other formula to do this kind of thing.</p>
<p><span style="color: white;">.<br />
</span></p>
<p>But like I said, I personally use the HLOOKUP when I&#8217;m building dashboard models where I need to separate the data layer and the analysis layer.</p>
<p>In a dashboarding model, you don&#8217;t want your data to become too tied into any one particular way of presenting that data. So you separate the data layer from the analysis layer. The analysis layer consists primarily of formulas that analyze and shape data from the data layer into formatted tables (commonly referred to as staging tables). These staging tables ultimately feed the reporting components in your presentation layer. In short, the analysis layer is where data is summarized and shaped to feed the reporting components.</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/01/011711_1309_UsingHLOOKU2.png" alt="" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p>There are a couple of benefits to this setup. First, the entire reporting model can easily be refreshed by simply replacing the raw data with an updated dataset. The formulas in the analysis tab continue to work with the latest data. Second, any additional analysis can easily be created by using different combinations of formulas on the analysis tab. If you need data that doesn&#8217;t exist in the data sheet, you can easily append a column to the end of the raw dataset without disturbing the analysis or presentation sheets.</p>
<p><span style="color: white;">.<br />
</span></p>
<p>HLOOKUPs are especially handy for shaping data in the analysis layer into structures appropriate for charting or other types of reporting. Take the simple example demonstrated here.</p>
<p>In this example, HLOOKUP formulas pull and reshape data without disturbing the raw data table. The data shown in the raw data table at the bottom of the figure is reoriented in a staging table at the top. When the raw data is changed or refreshed, the staging table captures the changes.</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/01/011711_1309_UsingHLOOKU3.png" alt="" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p>In this example, HLOOKUP formulas pull and reshape data without disturbing the raw data table. The data shown in the raw data table at the bottom of the figure is reoriented in a staging table at the top. When the raw data is changed or refreshed, the staging table captures the changes.</p>
<p><span style="color: white;">.<br />
</span></p>
<p>Well, I&#8217;ve done my good deed for the day. It&#8217;s time to go make myself a Bacon Egg and Cheese Sandwich.</p>
<p><span style="color: white;">.<br />
</span></p>
<p>Oh and I might as well throw in a crass commercial plug for &#8220;<a href="http://www.amazon.com/Excel-Dashboards-Reports-Spreadsheets-Bookshelf/dp/0470620129">Excel Reports and Dashboards</a>&#8220;.</p>
<p>If you want to learn more about building effective Dashboard models, check it out.</p>
<p><a href="http://www.amazon.com/Excel-Dashboards-Reports-Spreadsheets-Bookshelf/dp/0470620129"><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/01/011711_1309_UsingHLOOKU4.png" border="0" alt="" /></a></p>
<p>Related posts:<ol>
<li><a href='http://datapigtechnologies.com/blog/index.php/creating-subtotals-on-many-columns/' rel='bookmark' title='Creating Subtotals on Many Columns'>Creating Subtotals on Many Columns</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sorting-numbers-and-text-together/' rel='bookmark' title='Sorting Numbers and Text Together'>Sorting Numbers and Text Together</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/testing-for-null-cells/' rel='bookmark' title='Testing for Null Cells'>Testing for Null Cells</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sort-by-color-in-excel-2003/' rel='bookmark' title='Sort by Color in Excel 2003'>Sort by Color in Excel 2003</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/getting-data-from-previous-sheet/' rel='bookmark' title='Getting Data from Previous Sheet'>Getting Data from Previous Sheet</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://datapigtechnologies.com/blog/index.php/using-hlookup-in-dashboard-models/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Safely Move Formulas without Absolute Reference</title>
		<link>http://datapigtechnologies.com/blog/index.php/safely-move-formulas-without-absolute-reference/</link>
		<comments>http://datapigtechnologies.com/blog/index.php/safely-move-formulas-without-absolute-reference/#comments</comments>
		<pubDate>Mon, 10 Jan 2011 12:25:12 +0000</pubDate>
		<dc:creator>datapig</dc:creator>
				<category><![CDATA[Excel Formulas]]></category>
		<category><![CDATA[Excel Tips and Tricks]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Formulas]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://datapigtechnologies.com/blog/index.php/safely-move-formulas-without-absolute-reference/</guid>
		<description><![CDATA[I can&#8217;t believe how busy the first ten days of this year have been. I&#8217;ve been tucked away in my office trying to finish off a dashboarding project. I&#8217;ve finally been able to come up for air and to update the old blog.  So here it goes. . We all know you can make the [...]
Related posts:<ol>
<li><a href='http://datapigtechnologies.com/blog/index.php/protect-worksheet-structure-with-array-formulas/' rel='bookmark' title='Protect Worksheet Structure with Array Formulas'>Protect Worksheet Structure with Array Formulas</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/emailing-from-excel-using-the-hyperlink-function/' rel='bookmark' title='Emailing from Excel Using the Hyperlink Function'>Emailing from Excel Using the Hyperlink Function</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sorting-numbers-and-text-together/' rel='bookmark' title='Sorting Numbers and Text Together'>Sorting Numbers and Text Together</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sort-by-color-in-excel-2003/' rel='bookmark' title='Sort by Color in Excel 2003'>Sort by Color in Excel 2003</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/why-find-when-you-can-search/' rel='bookmark' title='Why FIND when you can SEARCH'>Why FIND when you can SEARCH</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t believe how busy the first ten days of this year have been. I&#8217;ve been tucked away in my office trying to finish off a dashboarding project. I&#8217;ve finally been able to come up for air and to update the old blog.  So here it goes.</p>
<p><span style="color: white;">.<br />
</span></p>
<p>We all know you can make the formulas in your worksheet &#8220;Absolute Reference&#8221;. This locks the formulas so you can move them around without changing the references. But you don&#8217;t always have the luxury of applying absolute references to all the formulas you need to move &#8211; maybe your formulas have mixed references or maybe absolute references don&#8217;t fit your model. In these cases, you can use a simple trick that allows you to safely move your formulas around without having to apply absolute references.</p>
<p><span style="color: white;">.<br />
</span></p>
<p>In this example, I need to sort the formulas in column J so that the time periods are sorted by the sort key.  Note that these formulas are relative reference formulas.</p>
<p>If I apply the sort as is, the formula references will get all wacky, causing the formulas to become incorrect.</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/01/011011_1225_SafelyMoveF1.png" alt="" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p>To safely move the formulas, I perform a Find and Replace – replacing all equal (=) signs with the pound or hash (#).</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/01/011011_1225_SafelyMoveF2.png" alt="" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p>This essentially converts the formulas into hard-coded text strings which can be moved around.</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/01/011011_1225_SafelyMoveF3.png" alt="" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p>At this point, I can safely apply my sort.</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/01/011011_1225_SafelyMoveF4.png" alt="" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p>Once I&#8217;m done moving things around, I can perform another Find and Replace to find all pound or hash (#) signs and replace them with equal (=) signs.</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/01/011011_1225_SafelyMoveF5.png" alt="" /></p>
<p>Related posts:<ol>
<li><a href='http://datapigtechnologies.com/blog/index.php/protect-worksheet-structure-with-array-formulas/' rel='bookmark' title='Protect Worksheet Structure with Array Formulas'>Protect Worksheet Structure with Array Formulas</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/emailing-from-excel-using-the-hyperlink-function/' rel='bookmark' title='Emailing from Excel Using the Hyperlink Function'>Emailing from Excel Using the Hyperlink Function</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sorting-numbers-and-text-together/' rel='bookmark' title='Sorting Numbers and Text Together'>Sorting Numbers and Text Together</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sort-by-color-in-excel-2003/' rel='bookmark' title='Sort by Color in Excel 2003'>Sort by Color in Excel 2003</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/why-find-when-you-can-search/' rel='bookmark' title='Why FIND when you can SEARCH'>Why FIND when you can SEARCH</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://datapigtechnologies.com/blog/index.php/safely-move-formulas-without-absolute-reference/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Emailing from Excel Using the Hyperlink Function</title>
		<link>http://datapigtechnologies.com/blog/index.php/emailing-from-excel-using-the-hyperlink-function/</link>
		<comments>http://datapigtechnologies.com/blog/index.php/emailing-from-excel-using-the-hyperlink-function/#comments</comments>
		<pubDate>Thu, 09 Dec 2010 14:32:54 +0000</pubDate>
		<dc:creator>datapig</dc:creator>
				<category><![CDATA[Excel Formulas]]></category>
		<category><![CDATA[Excel Tips and Tricks]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Formulas]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://datapigtechnologies.com/blog/?p=2856</guid>
		<description><![CDATA[Did you know that you can use the HYPERLINK function to create emails from Excel? It&#8217;s true. Today, I&#8217;ll show you that the HYPERLINK function is not just for getting to your E-Harmony account. . Excel&#8217;s HYPERLINK function has only two arguments: the URL you are trying to hit, and the friendly name. So to [...]
Related posts:<ol>
<li><a href='http://datapigtechnologies.com/blog/index.php/using-the-switch-function-in-excel/' rel='bookmark' title='Using the Switch Function in Excel'>Using the Switch Function in Excel</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sort-by-color-in-excel-2003/' rel='bookmark' title='Sort by Color in Excel 2003'>Sort by Color in Excel 2003</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sorting-numbers-and-text-together/' rel='bookmark' title='Sorting Numbers and Text Together'>Sorting Numbers and Text Together</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/flipping-a-range-upside-down/' rel='bookmark' title='Flipping a Range Upside Down'>Flipping a Range Upside Down</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/why-find-when-you-can-search/' rel='bookmark' title='Why FIND when you can SEARCH'>Why FIND when you can SEARCH</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Did you know that you can use the HYPERLINK function to create emails from Excel?</p>
<p>It&#8217;s true. Today, I&#8217;ll show you that the HYPERLINK function is not just for getting to your E-Harmony account.</p>
<p><span style="color: white;">.<br />
</span></p>
<p>Excel&#8217;s HYPERLINK function has only two arguments: the URL you are trying to hit, and the friendly name.  So to get to the E-Harmony site, you could use something like:</p>
<p><span style="font-size: 10pt;"><strong>=HYPERLINK(&#8220;http://www.eharmony.com&#8221;, &#8220;Woman Shopping&#8221;)<br />
</strong></span><br />
<span id="more-2856"></span><br />
This will create a hot link in your spreadsheet that, when clicked, will take you to the prescribed URL.</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2010/12/120910_1432_Emailingfro1.png" alt="" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p>Well, the neat thing is that the HYPERLINK function also works with &#8216;mailto:&#8217; URL constructs. This means you can create a hot link that sends a basic email when clicked.</p>
<p><em><span style="font-size: 10pt;"><strong>=HYPERLINK(&#8220;mailto:mike@someaddress.com?subject=Email To DataPig&#8221;, &#8220;Send Email&#8221;)<br />
</strong></span></em><br />
<span style="color: white;">.<br />
</span></p>
<p>If you want to send the email to multiple recipients, you can include other addresses separating each with a comma. Like this:</p>
<p><em><span style="font-size: 10pt;">=HYPERLINK(&#8220;mailto:mike@someaddress.com<strong>, MrsPig@someaddress.com</strong>?subject=Email To DataPig&#8221;, &#8220;Send Email&#8221;)<br />
</span></em><br />
<span style="color: white;">.<br />
</span></p>
<p>What&#8217;s that? You want to use CC and BCC lines? I got you covered. Simply add the cc and bcc parameters:</p>
<p><em><span style="font-size: 10pt;">=HYPERLINK(&#8220;mailto:mike@someaddress.com, MrsPig@someaddress.com?<strong>cc=Thing1@someaddress&#038;bcc=Thing2@someaddress&#038;</strong>subject=Email To DataPig&#8221;, &#8220;Send Email&#8221;)<br />
</span></em><br />
Notice that you will need to use the ampersand (&#038;) to separate the parameters</p>
<p><span style="color: white;">.<br />
</span></p>
<p>OK, let&#8217;s get fancier and add a body.</p>
<p><em><span style="font-size: 10pt;">=HYPERLINK(&#8220;mailto:mike@someaddress.com, MrsPig@someaddress.com?cc=Thing1@someaddress&#038;bcc=Thing2@someaddress&#038;subject=Email To DataPig<strong>&#038;body=I ate too much salmon.</strong>&#8220;, &#8220;Send Email&#8221;)<br />
</span></em><br />
<span style="color: white;">.<br />
</span></p>
<p>If you need to add a multi-lined body (meaning the text of your body is on multiple lines), you can use the carriage return encoding (%0A).</p>
<p><em><span style="font-size: 10pt;">=HYPERLINK(&#8220;mailto:mike@someaddress.com, MrsPig@someaddress.com?cc=Thing1@someaddress&#038;bcc=Thing2@someaddress&#038;subject=Email To DataPig&#038;body=I ate too much salmon.<strong>%0ANow I have salmonella</strong> &#8220;, &#8220;Send Email&#8221;)<br />
</span></em><br />
<span style="color: white;">.<br />
</span></p>
<p>With the finished HYPERLINK, this email is generated. As you can see, with one click, the user gets an email with the multiple TO recipients, CC and BCC recipients, a Subject and a multi-lined Body. Pretty snazzy!</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2010/12/120910_1432_Emailingfro2.png" alt="" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p><span style="color: white;">.<br />
</span></p>
<p>And as always, you can dynamically build your &#8216;mailto&#8217; URL address in with formulas. It&#8217;s simply a matter of concatenating the appropriate cells to create the correct syntax for the URL.</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2010/12/120910_1432_Emailingfro3.png" alt="" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2010/12/120910_1432_Emailingfro4.png" alt="" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p>There you have it! Happy emailing!</p>
<p>Related posts:<ol>
<li><a href='http://datapigtechnologies.com/blog/index.php/using-the-switch-function-in-excel/' rel='bookmark' title='Using the Switch Function in Excel'>Using the Switch Function in Excel</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sort-by-color-in-excel-2003/' rel='bookmark' title='Sort by Color in Excel 2003'>Sort by Color in Excel 2003</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sorting-numbers-and-text-together/' rel='bookmark' title='Sorting Numbers and Text Together'>Sorting Numbers and Text Together</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/flipping-a-range-upside-down/' rel='bookmark' title='Flipping a Range Upside Down'>Flipping a Range Upside Down</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/why-find-when-you-can-search/' rel='bookmark' title='Why FIND when you can SEARCH'>Why FIND when you can SEARCH</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://datapigtechnologies.com/blog/index.php/emailing-from-excel-using-the-hyperlink-function/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
	</channel>
</rss>

