<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"> <channel><title>Get Digital Help</title> <link>http://www.get-digital-help.com</link> <description>Quality excel resource</description> <lastBuildDate>Wed, 19 Jun 2013 08:11:17 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.5.1</generator> <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/GetDigitalHelp" /><feedburner:info uri="getdigitalhelp" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>GetDigitalHelp</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/GetDigitalHelp" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsalloy.com/?rss=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.newsalloy.com/subrss3.gif">Subscribe with NewsAlloy</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare href="http://www.yourminis.com/subscribe.aspx?u=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.yourminis.com/images/addtoyourminisbadge.gif">Subscribe with Yourminis.com</feedburner:feedFlare><feedburner:feedFlare href="http://download.attensa.com/app/get_attensa.html?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.attensa.com/blogs/attensa/WindowsLiveWriter/BadgeredintoBadges_10C02/attensa_feed_button5.gif">Subscribe with Attensa for Outlook</feedburner:feedFlare><feedburner:feedFlare href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare href="http://hub.netomat.net/account/account.autoSubscribe.jspa?urls=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.netomat.net/blogger/images/icon_netomat_feedbutton.gif">Subscribe with netomat Hub</feedburner:feedFlare><feedburner:feedFlare href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare href="http://www.flurry.com/pushRssFeed.do?r=fb&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.flurry.com/images/flurry_rss_logo2.gif">Subscribe with Flurry</feedburner:feedFlare><feedburner:feedFlare href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2FGetDigitalHelp" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><item><title>Locate a shape in a workbook</title><link>http://feedproxy.google.com/~r/GetDigitalHelp/~3/YvygmzXVXl4/</link> <comments>http://www.get-digital-help.com/2013/06/19/locate-a-shape-in-a-workbook/#comments</comments> <pubDate>Wed, 19 Jun 2013 08:11:17 +0000</pubDate> <dc:creator>Oscar</dc:creator> <category><![CDATA[Excel]]></category> <category><![CDATA[Search/Lookup]]></category> <category><![CDATA[vba]]></category> <guid isPermaLink="false">http://www.get-digital-help.com/?p=14144</guid> <description><![CDATA[A blog reader asks: I need an excel 2010 macro, where I can enter a number (value) into cell B1, click on button below, and the page will automatically go to the corresponding shape, with that same number. Answer: Enter a number in cell B1. Click "Find shape" button The macro finds a shape. VBA [...]]]></description> <content:encoded><![CDATA[<p><strong>A blog reader asks:</strong></p><p>I need an excel 2010 macro, where I can enter a number (value) into cell B1, click on button below, and the page will automatically go to the corresponding shape, with that same number.</p><p><strong>Answer:</strong></p><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/06/Find-shape.png"><img
class="alignnone size-full wp-image-14165" alt="Find shape" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/06/Find-shape.png" width="640" height="606" /></a></p><ol><li>Enter a number in cell B1.</li><li>Click "Find shape" button</li></ol><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/06/Find-shape1.png"><img
class="alignnone size-full wp-image-14166" alt="Find shape1" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/06/Find-shape1.png" width="640" height="606" /></a></p><p>The macro finds a shape.</p><p><strong>VBA Code</strong></p><pre class="brush: vb; title: ; notranslate">
Sub FindShape()
Dim sht As Worksheet
Dim shp As Shape
For Each sht In ActiveWorkbook.Worksheets
    For Each shp In sht.Shapes
        If shp.TextFrame.Characters.Text = Worksheets(&quot;Sheet1&quot;).Range(&quot;B1&quot;).Value Then
            sht.Activate
            shp.Select
            ActiveWindow.ScrollRow = shp.TopLeftCell.Row
            ActiveWindow.ScrollColumn = shp.TopLeftCell.Column
            Exit Sub
        End If
    Next shp
Next sht
End Sub
</pre><p><strong>Download excel *.xlsm file</strong><br
/> <a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/06/Locate-a-shape.xlsm">Locate a shape.xlsm</a></p> <img src="http://feeds.feedburner.com/~r/GetDigitalHelp/~4/YvygmzXVXl4" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.get-digital-help.com/2013/06/19/locate-a-shape-in-a-workbook/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.get-digital-help.com/2013/06/19/locate-a-shape-in-a-workbook/</feedburner:origLink></item> <item><title>Interactive candlestick chart</title><link>http://feedproxy.google.com/~r/GetDigitalHelp/~3/t6l7JtsMYmY/</link> <comments>http://www.get-digital-help.com/2013/06/14/interactive-candlestick-chart/#comments</comments> <pubDate>Fri, 14 Jun 2013 12:57:57 +0000</pubDate> <dc:creator>Oscar</dc:creator> <category><![CDATA[Automate]]></category> <category><![CDATA[Charts]]></category> <category><![CDATA[Excel]]></category> <guid isPermaLink="false">http://www.get-digital-help.com/?p=14130</guid> <description><![CDATA[Rudy asks in this post Use a mouse hovering technique to create an interactive chart: Is it possible to create this interactive chart into interactive candlestick chart to compare two or more charts ? Hover over a company name and the chart instantly changes data source. Formula in cell J2: ="Google"&#38;IFERROR(HYPERLINK(MouseHover("Google"),""),"") Formula in cell J3: [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://www.get-digital-help.com/2012/08/07/use-a-mouse-hovering-technique-to-create-an-interactive-chart/#comment-54498">Rudy asks</a> in this post <a
href="http://www.get-digital-help.com/2012/08/07/use-a-mouse-hovering-technique-to-create-an-interactive-chart/">Use a mouse hovering technique to create an interactive chart</a>:</p><p>Is it possible to create this interactive chart into interactive candlestick chart to compare two or more charts ?</p><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/06/interactive-candlestick-excel-chart.png"><img
class="alignnone size-full wp-image-14145" alt="interactive candlestick excel chart" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/06/interactive-candlestick-excel-chart.png" width="640" height="353" /></a></p><p>Hover over a company name and the chart instantly changes data source.</p><p><strong>Formula in cell J2:</strong></p><div
id="code1">="Google"&amp;IFERROR(HYPERLINK(MouseHover("Google"),""),"")</div><p><strong>Formula in cell J3:</strong></p><div
id="code1">="Apple"&amp;IFERROR(HYPERLINK(MouseHover("Apple"),""),"")</div><p><strong>Formula in cell K2:</strong></p><div
id="code1">=ROUNDUP(MAX(Google!D2:D54)*1.03,-1)</div><p><strong>Formula in cell K3:</strong></p><div
id="code1">=ROUNDUP(MAX(Apple!D2:D54)*1.03,-1)</div><p><strong>Formula in cell L2:</strong></p><div
id="code1">=ROUNDDOWN(MIN(Google!D2:D54)*0.97,-1)</div><p><strong>Formula in cell L3:</strong></p><div
id="code1">=ROUNDDOWN(MIN(Apple!D2:D54)*0.97,-1)</div><h3>User defined function</h3><pre class="brush: vb; title: ; notranslate">
Function MouseHover(str As String)
With ActiveSheet.ChartObjects(&quot;Chart 2&quot;)
    If str = &quot;Google&quot; And Sheet1.Range(&quot;A1&quot;) &lt;&gt; str Then
        Sheet1.Range(&quot;A1&quot;) = &quot;Google&quot;
        .Chart.SetSourceData Source:=Sheets(&quot;&quot; &amp; Range(&quot;A1&quot;) &amp; &quot;&quot;).Range(&quot;A2:A54,C2:F54&quot;)
        .Chart.Axes(xlValue).MaximumScale = Range(&quot;K2&quot;)
        .Chart.Axes(xlValue).MinimumScale = Range(&quot;L2&quot;)
    ElseIf str = &quot;Apple&quot; And Sheet1.Range(&quot;A1&quot;) &lt;&gt; str Then
        Sheet1.Range(&quot;A1&quot;) = &quot;Apple&quot;
        .Chart.SetSourceData Source:=Sheets(&quot;&quot; &amp; Range(&quot;A1&quot;) &amp; &quot;&quot;).Range(&quot;A2:A54,C2:F54&quot;)
        .Chart.Axes(xlValue).MaximumScale = Range(&quot;K3&quot;)
        .Chart.Axes(xlValue).MinimumScale = Range(&quot;L3&quot;)
    End If
End With
End Function
</pre><h3>Download excel *.xlsm file</h3><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/06/Interactive-candlestick-chart.xlsm">Interactive candlestick chart.xlsm</a></p><p>&nbsp;</p> <img src="http://feeds.feedburner.com/~r/GetDigitalHelp/~4/t6l7JtsMYmY" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.get-digital-help.com/2013/06/14/interactive-candlestick-chart/feed/</wfw:commentRss> <slash:comments>3</slash:comments> <feedburner:origLink>http://www.get-digital-help.com/2013/06/14/interactive-candlestick-chart/</feedburner:origLink></item> <item><title>Find consecutive dates in a cell range</title><link>http://feedproxy.google.com/~r/GetDigitalHelp/~3/F28xS3wUV3w/</link> <comments>http://www.get-digital-help.com/2013/06/05/find-consecutive-dates-in-a-cell-range/#comments</comments> <pubDate>Wed, 05 Jun 2013 09:06:12 +0000</pubDate> <dc:creator>Oscar</dc:creator> <category><![CDATA[Dates]]></category> <category><![CDATA[Excel]]></category> <category><![CDATA[Search/Lookup]]></category> <guid isPermaLink="false">http://www.get-digital-help.com/?p=14101</guid> <description><![CDATA[Column B contains random dates. The array formula in column D returns consecutive dates from column B. Array formula in cell D3: =IFERROR(SMALL(IF((COUNTIF($B$3:$B$8, $B$3:$B$8+1) + COUNTIF($B$3:$B$8, $B$3:$B$8-1))&#62;0, $B$3:$B$8, ""),ROW(A1)), "") How to enter an array formula Select cell D3 Copy array formula (Ctrl + c) Click in formula bar Paste formula (Ctrl  + v) Press [...]]]></description> <content:encoded><![CDATA[<p>Column B contains random dates. The array formula in column D returns consecutive dates from column B.</p><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/06/Find-consecutive-dates.png"><img
class="alignnone size-full wp-image-14102" alt="Find consecutive dates" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/06/Find-consecutive-dates.png" width="447" height="200" /></a></p><p><strong>Array formula in cell D3:</strong></p><div
id="code1">=IFERROR(SMALL(IF((COUNTIF($B$3:$B$8, $B$3:$B$8+1) + COUNTIF($B$3:$B$8, $B$3:$B$8-1))&gt;0, $B$3:$B$8, ""),ROW(A1)), "")</div><p><strong>How to enter an array formula</strong></p><ol><li><span
style="line-height: 13px;">Select cell D3</span></li><li>Copy array formula (Ctrl + c)</li><li>Click in formula bar</li><li>Paste formula (Ctrl  + v)</li><li>Press and hold CTRL + SHIFT</li><li>Press Enter simultaneously</li><li>Release all keys</li></ol><p><strong>How to copy array formula</strong></p><ol><li><span
style="line-height: 13px;">Select cell D3</span></li><li>Copy (Ctrl + c)</li><li>Select cell range D4:D5</li><li>Paste (Ctrl + v)</li></ol><h3>Find consecutive numbers</h3><p>Since dates are numbers in excel you can also use the array formula to identify consecutive numbers.</p><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/06/Find-consecutive-numbers.png"><img
class="alignnone size-full wp-image-14120" alt="Find consecutive numbers" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/06/Find-consecutive-numbers.png" width="640" height="200" /></a></p><h3>Find non-consecutive dates</h3><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/06/Find-non-consecutive-dates.png"><img
class="alignnone size-full wp-image-14131" alt="Find non consecutive dates" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/06/Find-non-consecutive-dates.png" width="640" height="201" /></a></p><p><strong>Array formula in cell D3:</strong></p><div
id="code1">=IFERROR(SMALL(IF((COUNTIF($B$3:$B$8, $B$3:$B$8+1)+COUNTIF($B$3:$B$8, $B$3:$B$8-1))=0, $B$3:$B$8, ""), ROW(A1)), "")</div><h3>Explaining the array formula in cell D3 (Consecutive dates)</h3><p><em><strong>Step 1 - Find dates that have a consecutive date except the last consecutive date</strong></em></p><p
style="padding-left: 30px;">COUNTIF($B$3:$B$8,$B$3:$B$8+1)</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">=COUNTIF({41430; 41436; 41432; 41441; 41431; 41438}, {41430; 41436; 41432; 41441; 41431; 41438}+1)</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">=COUNTIF({41430; 41436; 41432; 41441; 41431; 41438}, {41431; 41437; 41433; 41442; 41432; 41439})</p><p
style="padding-left: 30px;">and returns</p><p
style="padding-left: 30px;">{1;0;0;0;1;0}</p><p
style="padding-left: 30px;">If you are interested in how the COUNTIF function works, read this post: <a
title="View this post, &quot;COUNTIF function&quot;" href="http://www.get-digital-help.com/2013/03/27/countif-function/">COUNTIF function</a></p><p><em><strong>Step 2 - <em><strong>Find dates that have a consecutive date except the first consecutive date</strong></em></strong></em></p><p
style="padding-left: 30px;">COUNTIF($B$3:$B$8,$B$3:$B$8-1)</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">=COUNTIF({41430; 41436; 41432; 41441; 41431; 41438}, {41430; 41436; 41432; 41441; 41431; 41438}-1)</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">=COUNTIF({41430; 41436; 41432; 41441; 41431; 41438}, {41429; 41435; 41431; 41440; 41430; 41437})</p><p
style="padding-left: 30px;">and returns</p><p
style="padding-left: 30px;">{0;0;1;0;1;0}</p><p><em><strong>Step 3 - Add arrays using OR logic</strong></em></p><p
style="padding-left: 30px;">COUNTIF($B$3:$B$8,$B$3:$B$8+1)+COUNTIF($B$3:$B$8,$B$3:$B$8-1)</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">{1;0;0;0;1;0} + {0;0;1;0;1;0} and returns {1;0;1;0;2;0}</p><p><em><strong>Step 4  - Find values in array larger than 0 (zero)</strong></em></p><p
style="padding-left: 30px;">(COUNTIF($B$3:$B$8,$B$3:$B$8+1)+COUNTIF($B$3:$B$8,$B$3:$B$8-1))&gt;0</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">{1;0;1;0;2;0}&gt;0</p><p
style="padding-left: 30px;">and returns {TRUE; FALSE; TRUE; FALSE; TRUE; FALSE}</p><p><em><strong>Step 5 - Replace TRUE with corresponding date and FALSE with blanks</strong></em></p><p
style="padding-left: 30px;">IF((COUNTIF($B$3:$B$8, $B$3:$B$8+1) + COUNTIF($B$3:$B$8, $B$3:$B$8-1))&gt;0, $B$3:$B$8, "")</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">IF({TRUE; FALSE; TRUE; FALSE; TRUE; FALSE}, $B$3:$B$8, "")</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">IF({TRUE; FALSE; TRUE; FALSE; TRUE; FALSE}, {41430; 41436; 41432; 41441; 41431; 41438}, "")</p><p
style="padding-left: 30px;">and returns {41430; ""; 41432; ""; 41431; ""}</p><p
style="padding-left: 30px;">Interested in how the IF function works, read this post: <a
title="View this post, &quot;IF function explained&quot;" href="http://www.get-digital-help.com/2013/04/02/if-function-explained/">IF function explained</a><a
title="View this post, &quot;COUNTIF function&quot;" href="http://www.get-digital-help.com/2013/03/27/countif-function/"><br
/> </a></p><p><em><strong>Step 6 - Find the n-th smallest date</strong></em></p><p
style="padding-left: 30px;">SMALL(IF((COUNTIF($B$3:$B$8, $B$3:$B$8+1) + COUNTIF($B$3:$B$8, $B$3:$B$8-1))&gt;0, $B$3:$B$8, ""),ROW(A1))</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">SMALL({41430; ""; 41432; ""; 41431; ""}, ROW(A1))</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">SMALL({41430; ""; 41432; ""; 41431; ""}, 1)</p><p
style="padding-left: 30px;">and returns 41430 (June 5, 2013) in cell D3.</p><p
style="padding-left: 30px;">Interested in how the SMALL function works, read this post:<br
/> <a
title="View this post, &quot;SMALL function and LARGE function&quot;" href="http://www.get-digital-help.com/2013/04/23/small-function-and-large-function/">SMALL function and LARGE function</a></p><p
style="padding-left: 30px;">The ROW function: <a
href="http://www.get-digital-help.com/2013/04/15/row-function-explained/">ROW function explained</a></p><h3>Conditional formatting consecutive dates</h3><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/06/Find-consecutive-dates-conditional-formatting.png"><img
class="alignnone size-full wp-image-14105" alt="Find consecutive dates - conditional formatting" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/06/Find-consecutive-dates-conditional-formatting.png" width="640" height="200" /></a></p><p><strong>Conditional formatting formula:</strong></p><p>=(COUNTIF($B$3:$B$8,B3+1)+COUNTIF($B$3:$B$8,B3-1))&gt;0</p><p><strong>How to apply conditional formatting</strong></p><ol><li><span
style="line-height: 13px;">Select cell range B3:B8</span></li><li>Go to "Home" tab</li><li>Click "Conditional formatting" button</li><li>Click "New Rule..."</li><li>Click "Use a formula to determine which cells to format"</li><li>Format values where this formula is TRUE:<br
/> =(COUNTIF($B$3:$B$8,B3+1)+COUNTIF($B$3:$B$8,B3-1))&gt;0</li><li>Click "Format.." button</li><li>Go to "Fill" tab</li><li>Pick a color</li><li>Click OK</li><li>Click OK</li></ol><p>Read more about conditional formatting:</p><ul><li><a
title="View this post, &quot;Working with formulas in conditional formatting&quot;" href="http://www.get-digital-help.com/2012/03/05/working-with-formulas-in-conditional-formatting/">Working with formulas in conditional formatting</a></li><li><a
title="View this post, &quot;Search with conditional formatting&quot;" href="http://www.get-digital-help.com/2012/02/07/search-with-conditional-formatting/">Search with conditional formatting</a></li><li><a
title="View this post, &quot;How to use a table name in data validation lists and conditional formatting formulas&quot;" href="http://www.get-digital-help.com/2012/10/15/how-to-use-a-table-name-in-data-validation-lists-and-conditional-formatting-formulas/">How to use a table name in data validation lists and conditional formatting formulas</a></li></ul><h3>Download excel *.xlsx file</h3><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/06/Consecutive-dates.xlsx">Consecutive dates.xlsx</a></p><h3>Functions in this post</h3><p><a
href="http://www.get-digital-help.com/2013/03/27/countif-function/"><strong>COUNTIF(</strong><em>range</em>, <em>criteria</em><strong>)</strong></a><br
/> Counts the number of cells within a range that meet a single criterion that you specify.</p><p><a
href="http://www.get-digital-help.com/2013/04/02/if-function-explained/"><strong>IF(</strong>logical_test, [value_if_true], [value_if_false]</a><strong><a
href="http://www.get-digital-help.com/2013/04/02/if-function-explained/">)</a><br
/> </strong>Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE</p><p><a
href="http://www.get-digital-help.com/2013/04/23/small-function-and-large-function/"><strong>SMALL(</strong><em>array</em>, <em>k</em></a><strong><a
href="http://www.get-digital-help.com/2013/04/23/small-function-and-large-function/">)</a><br
/> </strong>Returns the k-th smallest value in a data set</p><p><a
href="http://www.get-digital-help.com/2013/04/15/row-function-explained/"><strong>ROW(</strong>reference<strong>)</strong></a><br
/> Returns the row number of a reference.</p> <img src="http://feeds.feedburner.com/~r/GetDigitalHelp/~4/F28xS3wUV3w" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.get-digital-help.com/2013/06/05/find-consecutive-dates-in-a-cell-range/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://www.get-digital-help.com/2013/06/05/find-consecutive-dates-in-a-cell-range/</feedburner:origLink></item> <item><title>How to use FREQUENCY function</title><link>http://feedproxy.google.com/~r/GetDigitalHelp/~3/KGNPCnqxnPY/</link> <comments>http://www.get-digital-help.com/2013/05/31/how-to-use-frequency-function/#comments</comments> <pubDate>Fri, 31 May 2013 07:35:30 +0000</pubDate> <dc:creator>Oscar</dc:creator> <category><![CDATA[Excel]]></category> <category><![CDATA[Functions]]></category> <guid isPermaLink="false">http://www.get-digital-help.com/?p=14023</guid> <description><![CDATA[FREQUENCY(data_array, bins_array) Calculates how often values occur within a range of values and then returns a vertical array of numbers having one more element than the bins_array data_array - is an array of or reference to a set of values for which you want to count frequencies. bins_array - is an array of or reference to [...]]]></description> <content:encoded><![CDATA[<p><strong>FREQUENCY(</strong><em>data_array</em>, <em>bins_array</em><strong>)</strong></p><p>Calculates how often values occur within a range of values and then returns a vertical array of numbers having one more element than the bins_array</p><p
style="padding-left: 30px;"><em>data_array - </em>is an array of or reference to a set of values for which you want to count frequencies.</p><p
style="padding-left: 30px;"><em>bins_array - </em>is an array of or reference to intervals into which you want to group the values in the data_array</p><p><strong>Note! </strong>The FREQUENCY function returns two or more values in an vertical array and you enter it as an array formula. Blanks and text strings are ignored.</p><h3>Example 1</h3><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/frequency-function2.png"><img
class="alignnone size-full wp-image-14087" alt="frequency function2" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/frequency-function2.png" width="543" height="265" /></a></p><p><strong>Array formula in cell range D3:D6:</strong></p><div
id="code1">=FREQUENCY(B3:B10,C3:C5)</div><p><strong>Explaining the calculations</strong></p><p>FREQUENCY(<em>data_array</em>, <em>bins_array</em>)</p><p>FREQUENCY(B3:B10,C3:C5)</p><p>becomes</p><p>FREQUENCY({1; 2; 2; 5; 4; 7; 7; 10},{2; 5; 10})</p><p>and returns a vertical array of numbers: {<strong>3</strong>; <strong>2</strong>; <strong>3</strong>; <strong>0</strong>}.</p><p>There are <strong>3</strong> values that are smaller or equal to the first value (2) in the bins_array: 1, 2, 2.</p><p>There are <strong>2</strong> values that are larger than 2 and smaller or equal to the second value (5) in the bins_array: 4, 5</p><p>There are <strong>3</strong> values that are larger than 5 and smaller or equal to the third value (10) in the bins_array: 7, 7, 10</p><p>There are <strong>0</strong> (zero) values  that are larger than 10 in the bins_array.</p><p><strong>Remember!</strong> The FREQUENCY function returns an array of numbers and it has one more element than the bins_array. In this example the bins_array has 3 values, FREQUENCY function returns 4 values.</p><h3>Example 2</h3><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/frequency-function1.png"><img
class="alignnone size-full wp-image-14080" alt="frequency function1" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/frequency-function1.png" width="543" height="265" /></a></p><p><strong>Array formula in cell range F3:F6:</strong></p><div
id="code1">=FREQUENCY(IF(B3:B10="A",C3:C10,""),E3:E5)</div><p><strong>Explaining the calculations</strong></p><p><em><strong>Step 1 - Filter values</strong></em></p><p
style="padding-left: 30px;">IF(B3:B10="A",C3:C10,"")</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">=IF({"A"; "B"; "A"; "B"; "A"; "B"; "A"; "B"}="A",{1; 2; 2; 5; 4; 7; 7; 10},"")</p><p
style="padding-left: 30px;">and returns</p><p
style="padding-left: 30px;">{1; ""; 2; ""; 4; ""; 7; ""}</p><p><em><strong>Step 2 - Frequency</strong></em></p><p
style="padding-left: 30px;">FREQUENCY(IF(B3:B10="A",C3:C10,""),E3:E5)</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">FREQUENCY({1; ""; 2; ""; 4; ""; 7; ""},E3:E5)</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">FREQUENCY({1; ""; 2; ""; 4; ""; 7; ""},{2; 5; 7})</p><p
style="padding-left: 30px;">and returns {2; 1; 1;0}</p><h3>Download excel *.xlsx file</h3><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/FREQUENCY-function.xlsx">FREQUENCY function.xlsx</a></p><h3>Functions in this post:</h3><p><a
href="http://www.get-digital-help.com/2013/04/02/if-function-explained/"><strong>IF(</strong>logical_test, [value_if_true], [value_if_false]</a><strong><a
href="http://www.get-digital-help.com/2013/04/02/if-function-explained/">)</a><br
/> </strong>Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE</p> <img src="http://feeds.feedburner.com/~r/GetDigitalHelp/~4/KGNPCnqxnPY" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.get-digital-help.com/2013/05/31/how-to-use-frequency-function/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://www.get-digital-help.com/2013/05/31/how-to-use-frequency-function/</feedburner:origLink></item> <item><title>Highlight a data series in a line chart</title><link>http://feedproxy.google.com/~r/GetDigitalHelp/~3/IcVANCsrYRI/</link> <comments>http://www.get-digital-help.com/2013/05/27/highlight-a-data-series-in-a-line-chart/#comments</comments> <pubDate>Mon, 27 May 2013 11:53:23 +0000</pubDate> <dc:creator>Oscar</dc:creator> <category><![CDATA[Charts]]></category> <category><![CDATA[Drop down lists]]></category> <category><![CDATA[Excel]]></category> <guid isPermaLink="false">http://www.get-digital-help.com/?p=13995</guid> <description><![CDATA[Here is how I did it: Step 1 - Create a drop down list Select cell J2 Go to tab "Data" Click "Data Validation" button Allow: List Source: B19:F19 Step 2 - Copy table Select first table (table1: A19:F31) Copy (Ctrl + c) Paste to H19:M31 Clear values Step 3 - Formula in duplicated table [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/highlight-series-in-a-line-chart3.gif"><img
class="alignnone size-full wp-image-14037" alt="highlight series in a line chart3" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/highlight-series-in-a-line-chart3.gif" width="682" height="289" /></a></p><p>Here is how I did it:</p><h3>Step 1 - Create a drop down list</h3><ol><li>Select cell J2</li><li>Go to tab "Data"</li><li>Click "Data Validation" button</li><li>Allow: List</li><li>Source: B19:F19</li></ol><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart.png"><img
class="alignnone size-full wp-image-14028" alt="Highlight a data series in a line chart" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart.png" width="640" height="473" /></a></p><h3>Step 2 - Copy table</h3><ol><li><span
style="line-height: 13px;">Select first table (table1: A19:F31)</span></li><li>Copy (Ctrl + c)</li><li>Paste to H19:M31</li><li>Clear values</li></ol><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart1.png"><img
class="alignnone size-full wp-image-14029" alt="Highlight a data series in a line chart1" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart1.png" width="640" height="186" /></a></p><h3>Step 3 - Formula in duplicated table</h3><ol><li><span
style="line-height: 13px;">Select the first empty value (cell I20) in the second table (table2)</span></li><li>Click in formula bar</li><li>Use the following formula:<div
id="code1">=IF($J$2=Table2[[#Headers],[A]],Table1[@A],"")</div></li><li>Press Enter</li><li>Select cell I20</li><li>Click and drag black dot to the right, all the way to table column E.<br
/> <a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart3.png"><img
class="alignnone size-full wp-image-14033" style="border: 0px solid black; margin-top: 15px; margin-bottom: 15px;" alt="Highlight a data series in a line chart3" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart3.png" width="423" height="274" /></a></li><li>Select cell range J20:M20</li><li>Double click black dot. The formulas are copied to the remaining cells below in the table.</li></ol><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart21.png"><img
class="alignnone size-full wp-image-14034" alt="Highlight a data series in a line chart2" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart21.png" width="640" height="470" /></a></p><h3>Step 4 - Insert a line chart</h3><ol><li>Select table1</li><li>Go to tab "Insert"</li><li>Click "Line"</li><li>Click "Line chart"</li></ol><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart4.png"><img
class="alignnone size-full wp-image-14035" alt="Highlight a data series in a line chart4" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart4.png" width="640" height="458" /></a></p><h3>Step 5 - Color lines</h3><ol><li>Select a data serie</li><li>Right click on the selected data serie</li><li>Click "Format Data Series..."</li><li>Select "Line Color"</li><li>Select "Solid line"</li><li>Pick a light gray color</li><li>Click Close</li></ol><p>Repeat line 1 to 7 with remaining data series.</p><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart5.png"><img
class="alignnone size-full wp-image-14039" alt="Highlight a data series in a line chart5" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart5.png" width="552" height="657" /></a></p><h3>Step 6 - Add the duplicated table to the second axis</h3><ol><li>Right click on chart</li><li>Click "Select Data..."<br
/> <a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart6.png"><img
class="alignnone size-full wp-image-14042" style="margin-top: 15px; margin-bottom: 15px;" alt="Highlight a data series in a line chart6" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart6.png" width="587" height="316" /></a></li><li>Click "Add" button</li><li>Series name: I19</li><li>Series values: I20:I31</li><li>Click OK<br
/> <a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart7.png"><img
class="alignnone size-full wp-image-14043" alt="Highlight a data series in a line chart7" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart7.png" width="462" height="479" /></a></li><li>Click "Edit" button</li><li>Select cell range H20:H31</li><li>Click OK</li><li>Click OK</li><li>Select item A in the drop down list</li><li>Right click on data series A on the chart</li><li>Click "Format Data series..."</li><li>Select secondary axis</li><li>Click OK</li></ol><p>Repeat above steps 1 - 15 with table column B, C, D and E.</p><p>Remove secondary y axis, see picture below.</p><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart8.png"><img
class="alignnone size-full wp-image-14047" alt="Highlight a data series in a line chart8" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart8.png" width="494" height="302" /></a></p><h3>Step 7 - Remove series in first axis from legend</h3><p>Remove A to E colored gray from the legend. (Click on each character and press Delete)</p><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart10.png"><img
class="alignnone size-full wp-image-14049" alt="Highlight a data series in a line chart10" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart10.png" width="481" height="289" /></a></p><p>Delete major gridlines</p><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart11.png"><img
class="alignnone size-full wp-image-14053" alt="Highlight a data series in a line chart11" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-a-data-series-in-a-line-chart11.png" width="481" height="289" /></a></p><h3>Download excel *.xlsx file</h3><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Highlight-series-in-a-line-chart.xlsx">Highlight series in a line chart.xlsx</a></p><h3>Functions in this post</h3><p><a
href="http://www.get-digital-help.com/2013/04/02/if-function-explained/"><strong>IF(</strong>logical_test, [value_if_true], [value_if_false]</a><strong><a
href="http://www.get-digital-help.com/2013/04/02/if-function-explained/">)</a><br
/> </strong>Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE</p> <img src="http://feeds.feedburner.com/~r/GetDigitalHelp/~4/IcVANCsrYRI" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.get-digital-help.com/2013/05/27/highlight-a-data-series-in-a-line-chart/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://www.get-digital-help.com/2013/05/27/highlight-a-data-series-in-a-line-chart/</feedburner:origLink></item> <item><title>Heat map using pictures</title><link>http://feedproxy.google.com/~r/GetDigitalHelp/~3/9PNNXaQ_qSw/</link> <comments>http://www.get-digital-help.com/2013/05/24/heat-map-using-pictures/#comments</comments> <pubDate>Fri, 24 May 2013 09:17:46 +0000</pubDate> <dc:creator>Oscar</dc:creator> <category><![CDATA[Charts]]></category> <category><![CDATA[Compare]]></category> <category><![CDATA[Excel]]></category> <category><![CDATA[vba]]></category> <guid isPermaLink="false">http://www.get-digital-help.com/?p=13993</guid> <description><![CDATA[I made a heat map calendar a few months ago and it inspired me to do this post. The heat map calendar changes background color of each cell unlike the technique used here where I change the brightness of each picture. &#160; Here is how I did it: Step 1 - Find and copy a [...]]]></description> <content:encoded><![CDATA[<p>I made a <a
href="http://www.get-digital-help.com/2013/03/05/heat-map-calendar/">heat map calendar</a> a few months ago and it inspired me to do this post. The heat map calendar changes background color of each cell unlike the technique used here where I change the brightness of each picture.</p><p>&nbsp;</p><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/heat-map-using-pictures.png"><img
class="alignnone size-full wp-image-13996" alt="heat map using pictures" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/heat-map-using-pictures.png" width="640" height="624" /></a></p><p>Here is how I did it:</p><h3>Step 1 - Find and copy a map</h3><ol><li>I found a <a
href="http://commons.wikimedia.org/wiki/File:Blank_map_of_the_United_States.PNG">map </a>at the <a
href="http://commons.wikimedia.org/wiki/Main_Page">Wikimedia commons</a> website</li><li>Copy the map and paste it to your favorite image editing software.</li></ol><h3>Step 2 - Copy each state/country/territory</h3><h3><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/heat-map-using-pictures1.png"><img
class="alignnone size-full wp-image-13998" style="border: 1px solid black;" alt="heat map using pictures1" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/heat-map-using-pictures1.png" width="385" height="379" /></a></h3><ol><li>Select the "Magic Wand" tool. I made this in <a
href="http://www.getpaint.net/">paint.net</a>.</li><li>Tolerance : 0%</li><li>Click inside a state</li><li>Copy (Ctrl + c)</li></ol><h3>Step 3 - Paste to excel</h3><ol><li> Start excel</li><li>Paste the picture</li><li>Select the picture and name it using the name box</li></ol><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/heat-map-using-pictures2.png"><img
class="alignnone size-full wp-image-14001" style="border: 1px solid black;" alt="heat map using pictures2" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/heat-map-using-pictures2.png" width="345" height="299" /></a></p><h3>Step 4 - Select a transparent color</h3><ol><li><span
style="line-height: 13px;">Double click picture. This takes you to the "Format" tab on the ribbon.<br
/> <a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/heat-map-using-pictures3.png"><img
class="alignnone size-full wp-image-14002" style="border: 1px solid black; margin-top: 15px; margin-bottom: 15px;" alt="heat map using pictures3" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/heat-map-using-pictures3.png" width="640" height="587" /></a><br
/> </span></li><li>Click "Color" button</li><li>Click "Set Transparent Color"</li><li>Click a "white" area on the picture.</li></ol><p>Repeat step 2 - 4 and copy all your regions to excel.</p><h3>Step 6 - Organize pictures</h3><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/heat-map-using-pictures4.png"><img
class="alignnone size-full wp-image-14004" alt="heat map using pictures4" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/heat-map-using-pictures4.png" width="538" height="420" /></a></p><h3>Step 7 - Create a group (optional)</h3><p>Make a group of all pictures and you will be able to resize the entire map in one step.</p><ol><li><span
style="line-height: 13px;">Select all pictures. Tip! Use the "Selection pane" on the "Format" tab.<br
/> <a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/heat-map-using-pictures5.png"><img
class="alignnone size-full wp-image-14005" style="border: 1px solid black; margin-top: 15px; margin-bottom: 15px;" alt="heat map using pictures5" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/heat-map-using-pictures5.png" width="623" height="471" /></a><br
/> </span></li><li>Right click on a picture</li><li>Click Group | Group</li><li>Resize the entire group</li></ol><h3>Step 8 - Create a table</h3><p>I <a
href="http://en.wikipedia.org/wiki/List_of_U.S._states_and_territories_by_population">downloaded data</a> from wikipedia and created this table:</p><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/heat-map-using-pictures61.png"><img
class="alignnone size-full wp-image-14010" alt="heat map using pictures6" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/heat-map-using-pictures61.png" width="652" height="533" /></a></p><p>Table column <em>Column1</em> contains a single value. The brightness property is ranging from 0 to 1. 0 - darkest and 1 brightest. It is hard to see pictures with a brightness ranging from 0.5 to 1 so I am using values from 0 to 0.5.</p><p><strong>Formula in table column %:</strong></p><div
id="code1">=1-([@Population]/MAX([Population])*0.5+0.5)</div><p><strong>Formula in table column %2:</strong></p><div
id="code1">=1-([@[Area sq km]]/MAX([Area sq km])*0.5+0.5)</div><p><strong>Formula in table column %3:</strong></p><div
id="code1">=1-([@[Pop / km]]/MAX([Pop / km])*0.5+0.5)</div><p>These formulas index values from 0 to 0.5. I have made a post about indexing data before: <a
title="View this post, &quot;Compare your stock portfolio with S&amp;P500 in excel&quot;" href="http://www.get-digital-help.com/2012/11/05/compare-your-stock-portfolio-with-sp500-in-excel/">Compare your stock portfolio with S&amp;P500 in excel</a></p><h3>Step 9 - Create a drop down list</h3><ol><li>Select cell D26</li><li>Go to tab "Data"</li><li>Click "Data Validation" button</li><li>Select "List"</li><li>Source: United states of America,Population, Area, Population / area</li><li>Click OK</li></ol><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/heat-map-using-pictures7.png"><img
class="alignnone size-full wp-image-14013" alt="heat map using pictures7" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/heat-map-using-pictures7.png" width="640" height="700" /></a></p><p>There is also a hidden formula in cell F26:</p><div
id="code1">=MATCH(D26,{"United states of America","Population","Area","Population / area"},0)*2</div><ol><li>Select cell F26</li><li>Press CTRL + 1</li><li>Select Custom</li><li>Type ;;;</li><li>Press OK</li></ol><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/heat-map-using-pictures8.png"><img
class="alignnone size-full wp-image-14017" alt="heat map using pictures8" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/heat-map-using-pictures8.png" width="526" height="461" /></a></p><h3>Step 10 - Change picture brightness for each picture (vba)</h3><ol><li>Right click on sheet name</li><li>Click "View Code"</li><li>Paste code below</li><li>Exit VB Editor</li></ol><pre class="brush: vb; title: ; notranslate">
Private Sub Worksheet_Change(ByVal Target As Range)
Dim r As Single
Dim c As Integer
Dim Arr() As Variant
If Target.Address = &quot;$D$26&quot; Then
    Arr = Worksheets(&quot;Table&quot;).Range(&quot;Table1&quot;).Value
    For r = LBound(Arr, 1) To UBound(Arr, 1)
        With ActiveSheet.Shapes.Range(Arr(r, 1)).PictureFormat
            .Brightness = Arr(r, Range(&quot;F26&quot;))
        End With
    Next r
End If
End Sub
</pre><h3>Download excel *.xlsm file</h3><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/US-map.xlsm">US map.xlsm</a></p><p>If you like maps, check out this post: <a
title="View this post, &quot;Use a map in an excel chart&quot;" href="http://www.get-digital-help.com/2013/05/14/use-a-map-in-an-excel-chart/">Use a map in an excel chart</a></p><h3>Functions in this post:</h3><p><a
href="http://www.get-digital-help.com/2013/03/20/match-function/"><strong>MATCH(</strong><em>lookup_value</em>, <em>lookup_array</em>, <em>[match_type]</em>)</a><br
/> Returns the relative position of an item in an array that matches a specified value in a specific order</p> <img src="http://feeds.feedburner.com/~r/GetDigitalHelp/~4/9PNNXaQ_qSw" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.get-digital-help.com/2013/05/24/heat-map-using-pictures/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.get-digital-help.com/2013/05/24/heat-map-using-pictures/</feedburner:origLink></item> <item><title>How to use excel SUMPRODUCT function</title><link>http://feedproxy.google.com/~r/GetDigitalHelp/~3/OSpeyZU7Aoc/</link> <comments>http://www.get-digital-help.com/2013/05/21/how-to-use-excel-sumproduct-function/#comments</comments> <pubDate>Tue, 21 May 2013 13:44:18 +0000</pubDate> <dc:creator>Oscar</dc:creator> <category><![CDATA[Excel]]></category> <category><![CDATA[Functions]]></category> <guid isPermaLink="false">http://www.get-digital-help.com/?p=13874</guid> <description><![CDATA[SUMPRODUCT(array1,array2,array3, ...) Multiplies corresponding components in the given arrays, and returns the sum of those products. What does that mean? I´ll demonstrate with a few examples. Example 1 - The basics Formula in cell B7: =SUMPRODUCT(B2:B4, C2:C4) Step 1  - Multiplying corresponding components in the given arrays The first array is in cell range B2:B4 [...]]]></description> <content:encoded><![CDATA[<p><b>SUMPRODUCT</b>(<b>array1</b>,array2,array3, ...)</p><p><em>Multiplies corresponding components in the given arrays, and returns the sum of those products.</em></p><p>What does that mean? I´ll demonstrate with a few examples.</p><h3>Example 1 - The basics</h3><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/SUMPRODUCT-function1.png"><img
class="alignnone size-full wp-image-13961" alt="SUMPRODUCT function1" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/SUMPRODUCT-function1.png" width="440" height="205" /></a></p><p><strong>Formula in cell B7:</strong></p><div
id="code1">=SUMPRODUCT(B2:B4, C2:C4)</div><p><em><strong>Step 1  - Multiplying corresponding components in the given arrays</strong></em></p><p
style="padding-left: 30px;">The first array is in cell range B2:B4 and the second array is in cell range C2:C4.</p><p
style="padding-left: 30px;">B2:B4*C2:C4</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">{1;2;3} * {4;5;6}</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">{1*4; 2*5; 3*6}</p><p
style="padding-left: 30px;">and returns {4; 10; 18}. The same calculations are done in column D and shown in column E, see above picture.</p><p><em><strong>Step 2 - Return the sum of those products</strong></em></p><p
style="padding-left: 30px;">{4; 10; 18}</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">4 + 10 + 18</p><p
style="padding-left: 30px;">and returns 32 in cell B7. The same calculation is done E5, the sum of the products in cell range E2:E4 is calculated in cell E5. See above picture.</p><p>Now you know the basics. Let´s move on to something more interesting!</p><h3>Example 2 - Use a logical expression</h3><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/SUMPRODUCT-function2.png"><img
class="alignnone size-full wp-image-13966" alt="SUMPRODUCT function2" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/SUMPRODUCT-function2.png" width="456" height="185" /></a></p><p><strong>Formula in cell G4:</strong></p><div
id="code1">=SUMPRODUCT(--(B2:B6=$G$2))</div><p><em><strong>Step 1  - Multiplying corresponding components in the given arrays</strong></em></p><p
style="padding-left: 30px;">There is only one array in this formula but something else is distorting the picture. A comparison operator (equal sign) and a second cell value (G2) or a comparison value. With these we have now built a logical expression. This means that the value in cell G2 is compared to all the values in cell range B2:B6 (not case sensitive).</p><p
style="padding-left: 30px;">B2:B6=$G$2</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">{"Alaska";"California";"Arizona";"California";"Colorado"}="California"</p><p
style="padding-left: 30px;">and returns</p><p
style="padding-left: 30px;">{FALSE;TRUE;FALSE;TRUE;FALSE}.</p><p
style="padding-left: 30px;">They are all boolean values and excel can´t sum these values. We have to convert the values to numerical values. There are a few options, you can:</p><ul
style="padding-left: 30px;"><li
style="padding-left: 30px;">Add a zero - (B2:B6=$G$2)+0</li><li
style="padding-left: 30px;">Multiply with 1 - (B2:B6=$G$2)*1</li><li
style="padding-left: 30px;">Double negative signs  --(B2:B6=$G$2)</li></ul><p
style="padding-left: 30px;">They all convert boolean values to numerical values.</p><p
style="padding-left: 30px;">--( {FALSE;TRUE;FALSE;TRUE;FALSE})</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">{0;1;0;1;0}</p><p><em><strong>Step 2 - Return the sum of those products</strong></em></p><p
style="padding-left: 30px;">{0;1;0;1;0}</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">0 + 1 + 0 + 1 + 0</p><p
style="padding-left: 30px;">and returns 2 in cell G4. There are two cells containing the value "California" in cell range B2:B6. You accomplish the same thing using the <a
href="http://www.get-digital-help.com/2013/03/27/countif-function/">countif function</a> or count multiple values in different columns using the <a
href="http://www.get-digital-help.com/2013/04/07/countifs-function/">countifs function</a>. In fact, you can <a
href="http://www.get-digital-help.com/2011/01/17/count-unique-distinct-records-in-excel-2007/">count entire records in a table</a>.</p><h3>Example 3 - Use multiple logical expressions</h3><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/SUMPRODUCT-function3.png"><img
class="alignnone size-full wp-image-13980" alt="SUMPRODUCT function3" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/SUMPRODUCT-function3.png" width="586" height="267" /></a></p><p><strong>Formula in cell D10:</strong></p><div
id="code1">=SUMPRODUCT(--(B2:B8=B10), --(C2:C8=C10),D2:D8)</div><p>This formula contains three arrays, you can use up to 30 arrays. You can make the formula somewhat shorter:</p><div
id="code1">=SUMPRODUCT((B2:B8=B10)*(C2:C8=C10)*D2:D8)</div><p>This allows you to have a lot more expressions, if you like. It is only the available computer memory that is the limit. The formula looks like an array formula but don´t be fooled, you are not required to enter it as an array formula.</p><p><em><strong>Step 1  - Multiplying corresponding components in the given arrays</strong></em></p><p
style="padding-left: 30px;">(B2:B8=B10)*(C2:C8=C10)*D2:D8</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">({FALSE; TRUE; FALSE; TRUE; FALSE; TRUE; FALSE})*({FALSE; FALSE; FALSE; TRUE; FALSE; TRUE; FALSE})*{10; 20; 40; 10; 20; 30; 10}</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">{0;0;0;1;0;1;0}*{10; 20; 40; 10; 20; 30; 10}</p><p
style="padding-left: 30px;">and returns</p><p
style="padding-left: 30px;">{0; 0; 0; 10; 0; 30; 0}</p><p><em><strong>Step 2 - Return the sum of those products</strong></em></p><p
style="padding-left: 30px;">{0; 0; 0; 10; 0; 30; 0}</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">10 +30</p><p
style="padding-left: 30px;">and returns 40 in cell D10.</p><h3>Example 4 - Use multiple logical expressions and mathematical operators</h3><p>Mathematical operators between arrays allows you to do more complicated calculations, like this:</p><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/SUMPRODUCT-function4.png"><img
class="alignnone size-full wp-image-13982" alt="SUMPRODUCT function4" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/SUMPRODUCT-function4.png" width="588" height="267" /></a></p><p><strong>Formula in cell D10:</strong></p><div
id="code1">=SUMPRODUCT(((B2:B8=B10)+(C2:C8=C10))*D2:D8)</div><p>These expressions check if California is found in cell range B2:B8 or Las Vegas is found in cell range C2:C8. They are found in row 3, 5,7 and 8. The sumproduct function sums the corresponding values in column D and returns 70 in cell D10. 20+10+30+10 equals 70.</p><h3>Download excel *.xlsx file</h3><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Sumproduct-function.xlsx">Sumproduct function.xlsx</a><em
id="__mceDel"> </em></p> <img src="http://feeds.feedburner.com/~r/GetDigitalHelp/~4/OSpeyZU7Aoc" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.get-digital-help.com/2013/05/21/how-to-use-excel-sumproduct-function/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://www.get-digital-help.com/2013/05/21/how-to-use-excel-sumproduct-function/</feedburner:origLink></item> <item><title>Count students</title><link>http://feedproxy.google.com/~r/GetDigitalHelp/~3/ZhjBv7JzEWk/</link> <comments>http://www.get-digital-help.com/2013/05/16/count-students/#comments</comments> <pubDate>Thu, 16 May 2013 08:57:33 +0000</pubDate> <dc:creator>Oscar</dc:creator> <category><![CDATA[Compare]]></category> <category><![CDATA[Count values]]></category> <category><![CDATA[Excel]]></category> <guid isPermaLink="false">http://www.get-digital-help.com/?p=13919</guid> <description><![CDATA[Kiishore asks Hi Oscar, I have the following issues. Any suggestions. Sheet 1 : Grade Male Female Primary Secondary High School College Gender Sheet 2 : Col A : Student Id Col B: Gender : Here we specify whether the student is male or female Col C : Here we specify category to which the [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://www.get-digital-help.com/2011/06/13/auto-refresh-a-pivot-table-in-excel/#comment-54349">Kiishore asks</a></p><p>Hi Oscar,<br
/> I have the following issues. Any suggestions.</p><p>Sheet 1 :<br
/> Grade Male Female<br
/> Primary<br
/> Secondary<br
/> High School<br
/> College<br
/> Gender</p><p>Sheet 2 :<br
/> Col A : Student Id<br
/> Col B: Gender : Here we specify whether the student is male or female<br
/> Col C : Here we specify category to which the student falls : Primary, secondary, high school, college<br
/> Col D : Age : To which age they are in</p><p>Problem :</p><p>In Sheet 1,<br
/> # I should give the count of students who are male and are in<br
/> * primary and they are between 4 to 6 years.<br
/> * Count of Secondary students and between 6 to 10 years ...</p><p># I should give the count of students who are female and in<br
/> * primary and they are between 4 to 6 years.<br
/> * Count of Secondary students and between 6 to 10 years</p><p>Kindly let me know of any specific formula e that I can use.</p><h3>Answer</h3><p><em><strong>Sheet 2 - Example data</strong></em></p><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/count-students-sheet2.png"><img
class="alignnone size-full wp-image-13931" alt="count students - sheet2" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/count-students-sheet2.png" width="330" height="295" /></a></p><p><em><strong>Sheet 1 - Count students</strong></em></p><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/count-students-sheet1.png"><img
class="alignnone size-full wp-image-13932" alt="count students - sheet1" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/count-students-sheet1.png" width="313" height="162" /></a></p><p><strong>Formula in cell B2:</strong></p><div
id="code1">=SUMPRODUCT(($A2=Sheet2!$C$2:$C$169)*(B$1=Sheet2!$B$2:$B$169))</div><p>You can copy this formula to cell range B2:C5. The formula takes advantage of both absolute and relative cell references . For this to work, copy the cell, not the formula in the cell or formula bar.</p><p><em>Example,</em></p><ol><li><span
style="line-height: 13px;">Select cell B2</span></li><li>Copy cell B2 (Ctrl + c)</li><li>Select cell range B2:C5</li><li>Paste (Ctrl + v)</li></ol><p>Read more about <a
href="http://www.get-digital-help.com/2010/06/10/absolute-and-relative-references-in-excel/">absolute and relative cell references</a></p><p><strong>Formula in cell B6:</strong></p><div
id="code1">=SUMPRODUCT((B$1=Sheet2!$B$2:$B$169)*1)</div><p>If you are familiar with array formulas, use this array formula in cell B6:</p><div
id="code1">=SUM((B$1=Sheet2!$B$2:$B$169)*1)</div><p>The formula is smaller but needs to be entered as an array formula.</p><p><strong>How to enter an array formula</strong></p><ol><li><span
style="line-height: 13px;">Select cell B6</span></li><li>Paste formula to formula bar<br
/> <a
href="http://cdn.get-digital-help.com/wp-content/uploads/2009/04/formula-bar.png"><img
class="alignnone size-full wp-image-12554" style="border: 1px solid black; margin-top: 15px; margin-bottom: 15px;" alt="formula bar" src="http://cdn.get-digital-help.com/wp-content/uploads/2009/04/formula-bar.png" width="490" height="219" /></a></li><li>Press and hold CTRL + SHIFT</li><li>Press Enter simultaneously</li><li>Release all keys</li></ol><p>If you did it right, the formula now begins and ends with curly brackets, like this:</p><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/count-students1.png"><img
class="alignnone size-full wp-image-13936" alt="count students1" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/count-students1.png" width="505" height="186" /></a></p><h3>Explaining formula in cell B2</h3><div
id="code1">=SUMPRODUCT(($A2=Sheet2!$C$2:$C$169)*(B$1=Sheet2!$B$2:$B$169))</div><p><em><strong>Step 1 - Compare value in cell A2 (sheet1) to values in cell range C2:C169 (sheet2)</strong></em></p><p
style="padding-left: 30px;">$A2=Sheet2!$C$2:$C$169</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">"Primary"={"College"; "College"; "High school"; ... ; "Secondary"}</p><p
style="padding-left: 30px;">and returns</p><p
style="padding-left: 30px;">{FALSE; FALSE; FALSE; ... ; FALSE}</p><p><em><strong>Step 2 - Compare value in cell B1 (sheet1) to values in cell range B2:B169 (sheet2)</strong></em></p><p
style="padding-left: 30px;">B$1=Sheet2!$B$2:$B$169</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">"Male"={"Male"; "Female"; "Male"; ... ; "Female"}</p><p
style="padding-left: 30px;">and returns</p><p
style="padding-left: 30px;">{"TRUE"; "FALSE"; "TRUE"; ... ; "FALSE"}</p><p><em><strong>Step 3 - Multiplying arrays</strong></em></p><p
style="padding-left: 30px;">($A2=Sheet2!$C$2:$C$169)*(B$1=Sheet2!$B$2:$B$169)</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">("Primary"={"College"; "College"; "High school"; ... ; "Secondary"})*("Male"={"Male"; "Female"; "Male"; ... ; "Female"})</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">({FALSE; FALSE; FALSE; ... ; FALSE})*({"TRUE"; "FALSE"; "TRUE"; ... ; "FALSE"})</p><p
style="padding-left: 30px;">and returns</p><p
style="padding-left: 30px;">({0; 0; 0; ... ; 0})</p><p><em><strong>Step 4 - Sum all values in the array</strong></em></p><p
style="padding-left: 30px;">=SUMPRODUCT(($A2=Sheet2!$C$2:$C$169)*(B$1=Sheet2!$B$2:$B$169))</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">=SUMPRODUCT({0; 0; 0; ... ; 0})</p><p
style="padding-left: 30px;">and returns 5 in cell B2.</p><h3>Explaining formula in cell B6</h3><div
id="code1">=SUMPRODUCT((B$1=Sheet2!$B$2:$B$169)*1)</div><p><em><strong>Step 1 - Compare value in cell B1 (sheet1) to values in cell range B2:B169 (sheet2)</strong></em></p><p
style="padding-left: 30px;">B$1=Sheet2!$B$2:$B$169</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">"Male"={"Male"; "Female"; "Male"; .. ; "Female"}</p><p
style="padding-left: 30px;">and returns</p><p
style="padding-left: 30px;">{"TRUE"; "FALSE"; "TRUE"; .. ; "FALSE"}</p><p><em><strong>Step 2 - Convert boolean values to numerical values</strong></em></p><p
style="padding-left: 30px;">SUMPRODUCT function (and the sum function) can´t sum boolean values (TRUE, FALSE). Multiplying with 1 converts TRUE to 1 and FALSE to 0.</p><p
style="padding-left: 30px;">(B$1=Sheet2!$B$2:$B$169)*1</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">{"TRUE"; "FALSE"; "TRUE"; .. ; "FALSE"}*1</p><p
style="padding-left: 30px;">and returns</p><p
style="padding-left: 30px;">{1; 0; 1; .. ; 0}</p><p><em><strong>Step 3 - Sum values</strong></em></p><p
style="padding-left: 30px;">SUMPRODUCT((B$1=Sheet2!$B$2:$B$169)*1)</p><p
style="padding-left: 30px;">becomes</p><p
style="padding-left: 30px;">SUMPRODUCT({1; 0; 1; .. ; 0})</p><p
style="padding-left: 30px;">and returns 71 in cell B6.</p><h3>More to note</h3><p>You can also use the SUMIF and SUMIFS function to count values. See this post:<br
/> <a
href="http://www.get-digital-help.com/2009/11/16/sum-values-between-two-dates-with-criteria-in-excel/">Sum values between two dates with criteria</a></p><h3>Download excel *.xlsx file</h3><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Count-students.xlsx">Count students.xlsx</a></p><h3>Functions in this post</h3><p><strong>SUMPRODUCT(</strong>array1, array2, <strong>)</strong><br
/> Returns the sum of the products of the corresponding ranges or arrays</p><p><strong>SUM(</strong>number1,[number2],<strong>)<br
/> </strong>Adds all the numbers in a range of cells</p> <img src="http://feeds.feedburner.com/~r/GetDigitalHelp/~4/ZhjBv7JzEWk" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.get-digital-help.com/2013/05/16/count-students/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.get-digital-help.com/2013/05/16/count-students/</feedburner:origLink></item> <item><title>Use a map in an excel chart</title><link>http://feedproxy.google.com/~r/GetDigitalHelp/~3/RVCWWazNkgA/</link> <comments>http://www.get-digital-help.com/2013/05/14/use-a-map-in-an-excel-chart/#comments</comments> <pubDate>Tue, 14 May 2013 07:44:57 +0000</pubDate> <dc:creator>Oscar</dc:creator> <category><![CDATA[Charts]]></category> <category><![CDATA[Drop down lists]]></category> <category><![CDATA[Excel]]></category> <category><![CDATA[table]]></category> <guid isPermaLink="false">http://www.get-digital-help.com/?p=13843</guid> <description><![CDATA[This post describes how to add a map (background picture) to a chart. The following animated picture shows a scatter chart with a background picture. A drop down list let´s you select a city and the chart displays the location. Step 1 - Insert a scatter chart Go to "Insert" tab on the ribbon Click [...]]]></description> <content:encoded><![CDATA[<p>This post describes how to add a map (background picture) to a chart. The following animated picture shows a scatter chart with a background picture. A drop down list let´s you select a city and the chart displays the location.</p><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/map-in-a-chart6.gif"><img
class="alignnone size-full wp-image-13877" alt="map in a chart6" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/map-in-a-chart6.gif" width="614" height="384" /></a></p><h3>Step 1 - Insert a scatter chart</h3><ol><li><span
style="line-height: 13px;">Go to "Insert" tab on the ribbon</span></li><li>Click "Scatter" button</li><li>Click "Scatter with only markers" button</li></ol><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/insert-scatter-chart.png"><img
class="alignnone size-full wp-image-13888" alt="insert scatter chart" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/insert-scatter-chart.png" width="680" height="320" /></a></p><h3>Step 2 - Create a drop down list</h3><ol><li><span
style="line-height: 13px;">Select cell B14</span></li><li>Go to tab "Data" on the ribbon</li><li>Click "Data Validation" button</li><li>Go to "Settings" tab</li><li>Select "List"</li><li>Select source range: B3:B10</li><li>Click OK</li></ol><p><img
class="alignnone size-full wp-image-13892" alt="create a drop down list" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/create-a-drop-down-list2.png" width="680" height="442" /></p><p><strong>Formula in cell C14:</strong></p><div
id="code1">=INDEX(C3:C10,MATCH($B$14,$B$3:$B$10,0))</div><p><strong>Formula in cell D14:</strong></p><div
id="code1">=INDEX(D3:D10,MATCH($B$14,$B$3:$B$10,0))</div><h3>Step 3 - Select chart data source</h3><ol><li><span
style="line-height: 13px;">Right click on chart</span></li><li>Click "Select Data"</li><li>Click "Add" button<br
/> <a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/select-data-source.png"><img
class="alignnone size-full wp-image-13881" style="margin-top: 15px; margin-bottom: 15px;" alt="select data source" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/select-data-source.png" width="587" height="316" /></a></li><li>Select name, x value and y value.<br
/> <a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/edit-chart-series.png"><img
class="alignnone size-full wp-image-13882" style="border: 1px solid black; margin-top: 15px; margin-bottom: 15px;" alt="edit chart series" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/edit-chart-series.png" width="575" height="191" /></a></li><li>Click Ok.</li></ol><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/scatter-chart.png"><img
class="alignnone size-full wp-image-13898" style="border: 1px solid black;" alt="scatter chart" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/scatter-chart.png" width="603" height="306" /></a></p><h3>Step 4 - Insert a background picture</h3><ol><li><span
style="line-height: 13px;">Right click on chart</span></li><li>Click "Format Plot Area..."</li><li>Click "Fill"</li><li>Select "Picture or texture fill"</li><li>Click "File..." button</li><li>Select a picture</li><li>Click "Insert"</li><li>If you like, change "Transparency" value</li><li>Click "Close"</li></ol><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Format-plot-area.png"><img
class="alignnone size-full wp-image-13899" alt="Format plot area" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Format-plot-area.png" width="488" height="540" /></a></p><h3>Step 5 - Chart settings</h3><ol><li><span
style="line-height: 13px;">Delete Legend and chart titel<br
/> <a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/chart-title-and-legend.png"><img
class="alignnone size-full wp-image-13909" style="margin-top: 15px; margin-bottom: 15px;" alt="chart title and legend" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/chart-title-and-legend.png" width="361" height="300" /></a><br
/> </span></li><li>Delete chart grid lines<br
/> <a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/chart-gridlines.png"><img
class="alignnone size-full wp-image-13910" style="margin-top: 15px; margin-bottom: 15px;" alt="chart gridlines" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/chart-gridlines.png" width="368" height="300" /></a></li><li>Change x and y axis minimum and maximum value to 0 and 100<br
/> <a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/chart-x-y-axis.png"><img
class="alignnone size-full wp-image-13911" style="margin-top: 15px; margin-bottom: 15px;" alt="chart x y axis" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/chart-x-y-axis.png" width="361" height="300" /></a></li><li>Make sure x and y coordinates in the table are ok<br
/> <a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/x-y-coordinates-table.png"><img
class="alignnone size-full wp-image-13908" style="margin-top: 15px; margin-bottom: 15px;" alt="x y coordinates table" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/x-y-coordinates-table.png" width="208" height="183" /></a></li><li>If you like, delete x and y axis<br
/> <a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/chart-without-x-y-axis.png"><img
class="alignnone size-full wp-image-13912" style="margin-top: 15px; margin-bottom: 15px;" alt="chart without x y axis" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/chart-without-x-y-axis.png" width="361" height="300" /></a></li><li>Select data series on the chart<br
/> <a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/chart-select-data-series.png"><img
class="alignnone size-full wp-image-13914" style="margin-top: 15px; margin-bottom: 15px;" alt="chart select data series" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/chart-select-data-series.png" width="361" height="300" /></a></li><li>Right click on data series</li><li>Click "Format Data Series..."<br
/> <a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Format-data-series.png"><img
class="alignnone size-full wp-image-13902" style="margin-top: 15px; margin-bottom: 15px;" alt="Format data series" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Format-data-series.png" width="488" height="541" /></a></li><li>Click "Marker Options"</li><li>Select "Built-in"</li><li>Select a type</li><li>Click "Marker Fill"</li><li>Select "Solid fill"</li><li>Pick a color</li><li>Click Close</li></ol><h3>Final notes</h3><p>First I thought of using longitude and latitude coordinates but I gave that up really quickly. The map is downloaded from <a
href="http://commons.wikimedia.org/wiki/File:Europe_map.png">Wikimedia Commons</a>.</p><p><strong>Tip!</strong> You can add a data label and use the series name to show the city name on the map.</p><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Format-data-label.png"><img
class="alignnone size-full wp-image-13906" alt="Format data label" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Format-data-label.png" width="364" height="330" /></a></p><h3>Download excel *.xlsx file</h3><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Maps-in-a-xy-scatter-chart.xlsx">Maps in a xy scatter chart.xlsx</a></p><h3>Functions in this post</h3><p><a
href="http://www.get-digital-help.com/2013/03/15/index-function-explained/"><strong>INDEX(</strong>array,row_num,[column_num]<strong>)</strong></a><br
/> Returns a value or reference of the cell at the intersection of a particular row and column, in a given range</p><p><a
href="http://www.get-digital-help.com/2013/03/20/match-function/"><strong>MATCH(</strong>lookup_value;lookup_array; [match_type])</a><br
/> Returns the relative position of an item in an array that matches a specified value</p><p>&nbsp;</p> <img src="http://feeds.feedburner.com/~r/GetDigitalHelp/~4/RVCWWazNkgA" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.get-digital-help.com/2013/05/14/use-a-map-in-an-excel-chart/feed/</wfw:commentRss> <slash:comments>4</slash:comments> <feedburner:origLink>http://www.get-digital-help.com/2013/05/14/use-a-map-in-an-excel-chart/</feedburner:origLink></item> <item><title>SEARCH and FIND functions</title><link>http://feedproxy.google.com/~r/GetDigitalHelp/~3/9aLSKAsFJ6Y/</link> <comments>http://www.get-digital-help.com/2013/05/06/search-and-find-functions/#comments</comments> <pubDate>Mon, 06 May 2013 12:02:27 +0000</pubDate> <dc:creator>Oscar</dc:creator> <category><![CDATA[Excel]]></category> <category><![CDATA[Functions]]></category> <guid isPermaLink="false">http://www.get-digital-help.com/?p=13854</guid> <description><![CDATA[SEARCH function Returns the number of the character at which a specific character or text string is found reading left to rigt (not case-sensitive) SEARCH(find_text,within_text, [start_num]) Arguments find_text - Is the text you want to find. ? and * wildcard characters are allowed. within_text - is the text in which you want to search for [...]]]></description> <content:encoded><![CDATA[<p><strong>SEARCH function</strong><br
/> Returns the number of the character at which a specific character or text string is found reading left to rigt (not case-sensitive)</p><p>SEARCH(<em>find_text</em>,<em>within_text</em>, [<em>start_num</em>])</p><p><em><strong>Arguments</strong></em></p><p><em>find_text</em> - Is the text you want to find. ? and * wildcard characters are allowed.</p><p><em>within_text</em> - is the text in which you want to search for<em> find_text</em></p><p><em>start_num - </em>is the character number in within_text, counting from the left at which you want to start searching. Optional, if omitted 1 is used.</p><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/SEARCH-function1.png"><img
class="alignnone size-full wp-image-13857" alt="SEARCH function" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/SEARCH-function1.png" width="640" height="289" /></a></p><p><strong>Formula in cell C5:</strong></p><div
id="code1">=SEARCH($D$5, B5)</div><p>The function returns 11 in cell C5. Text string "blue" is found and begins in the 11-th character in "My car is blue". See cell range F5:S6.</p><p>I am using a absolute cell reference to cell D5 so I can copy the function to cell C11 without changing the argument. If you are interested in how absolute and relative cell references work, read this post:  <a
href="http://www.get-digital-help.com/2010/06/10/absolute-and-relative-references-in-excel/">Absolute and relative cell references</a></p><p><strong>Formula in cell C11:</strong></p><div
id="code1">=SEARCH($D$5, B5)</div><p>becomes</p><p>=SEARCH("blue","My car is white")</p><p>and returns #VALUE!. Text string "blue" is not found in "My car is white".</p><p><strong>FIND function</strong><br
/> The function works the same as the search function except case-sensitive.</p><h3>SEARCH function returns an array</h3><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/SEARCH-function-array-formula1.png"><img
class="alignnone size-full wp-image-13869" alt="SEARCH function array formula" src="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/SEARCH-function-array-formula1.png" width="640" height="289" /></a></p><p><strong>Array formula in cell B5:B9: </strong></p><div
id="code1">=SEARCH($C$5,A5:A9)</div><p>becomes</p><p>=SEARCH("is", {"My car is blue"; "My car is white"; "My house is grey"; "My bird was green"; "My dog is here"})</p><p>and returns {8; 8; 10; #VALUE!; 8} in cell range B5:B9. I have highlighted the beginning character in cell range D5:T9.</p><h3>Download excel *.xlsx file</h3><p><a
href="http://cdn.get-digital-help.com/wp-content/uploads/2013/05/Search-and-Find-functions.xlsx">Search and Find functions.xlsx</a></p> <img src="http://feeds.feedburner.com/~r/GetDigitalHelp/~4/9aLSKAsFJ6Y" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.get-digital-help.com/2013/05/06/search-and-find-functions/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://www.get-digital-help.com/2013/05/06/search-and-find-functions/</feedburner:origLink></item> </channel> </rss><!-- Dynamic page generated in 2.031 seconds. --><!-- Cached page generated by WP-Super-Cache on 2013-06-19 09:11:43 -->
