<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:georss="http://www.georss.org/georss" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0"><id>tag:blogger.com,1999:blog-20399579</id><updated>2009-11-11T19:30:31.601+02:00</updated><title type="text">The JLD Excel Blog - Tips and Help for MS Excel</title><subtitle type="html">This blog reflects my daily experience helping Excel users with functions, formulas, charts and spreadsheet automation with Vba.
You can add your comments in Spanish and in Hebrew too.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/" /><link rel="hub" href="http://pubsubhubbub.appspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default?start-index=26&amp;max-results=25" /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>82</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><link rel="license" type="text/html" href="http://creativecommons.org/licenses/by-nc-nd/2.0/" /><logo>http://creativecommons.org/images/public/somerights20.gif</logo><link rel="self" href="http://feeds.feedburner.com/blogspot/tYHK" type="application/atom+xml" /><feedburner:browserFriendly>This is an XML content feed. It is intended to be viewed in a newsreader or syndicated to another site, subject to copyright and fair use.</feedburner:browserFriendly><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><entry><id>tag:blogger.com,1999:blog-20399579.post-115013852561472656</id><published>2006-06-12T21:47:00.000+03:00</published><updated>2006-10-17T17:39:14.516+02:00</updated><title type="text">Backgrounds and watermarks in Excel spreadsheets.</title><content type="html">People who downloaded the &lt;a href="http://jldexcel.blogspot.com/2006/05/world-cup-2006-tournament-calendar-in.html"&gt;World Cup Tournament Calendar&lt;/a&gt; noticed the background with the official logo&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/320/emblem.gif" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;So, how do you insert a background in an Excel worksheet? Follow these steps (&lt;a href="http://office.microsoft.com/en-au/assistance/HA012191711033.aspx#excel"&gt;source&lt;/a&gt;):&lt;br /&gt;&lt;br /&gt;1 - Click the worksheet that you want to display with a sheet background. Make sure only one worksheet is selected.&lt;br /&gt;2 - On the Format menu, point to Sheet, and then click Background.&lt;br /&gt;3 - Select the picture that you want to use for the sheet background, and then click Insert.&lt;br /&gt;&lt;br /&gt;Because a sheet background is not printed, it cannot be used as a watermark, but you can mimic a watermark. If you want to display a graphic on every printed page (for example, to indicate that the information is confidential), you can insert the graphic in a header or footer. This way, the graphic appears behind the text, starting at the top or bottom of every page. You can also resize or scale it to fill the page.&lt;br /&gt;The steps to follow are:&lt;br /&gt;&lt;br /&gt;1 - On the View menu, click Header and Footer.&lt;br /&gt;2 - In the Page Setup dialog box, click Custom Header or Custom Footer.&lt;br /&gt;3 - Click in the Left section, Center section, or Right section box.&lt;br /&gt;4 - In the row of buttons in the Header or Footer dialog box, click Insert Picture and then find the graphic you want to insert.&lt;br /&gt;5 - Double-click the graphic to insert it in the header or footer section box.&lt;br /&gt;6 - To resize or scale the graphic, click Format Picture in the row of buttons in the Header or Footer dialog box and then, in the Format Picture dialog box, select the options you want on the Size tab.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Categories: &lt;span class="category"&gt;Miscellaneous_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;small&gt;Technorati Tags: &lt;a href="http://technorati.com/tag/Watermarks" rel="tag"&gt;Watermarks&lt;/a&gt;, &lt;a href="http://technorati.com/tag/Backgrounds" rel="tag"&gt;Backgrounds&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-115013852561472656?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/q-o0c_joXmwRvtoRGYQgkwkiaaQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/q-o0c_joXmwRvtoRGYQgkwkiaaQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/q-o0c_joXmwRvtoRGYQgkwkiaaQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/q-o0c_joXmwRvtoRGYQgkwkiaaQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=pogtUITv"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=u3zZHg2Y"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/06/backgrounds-and-watermarks-in-excel.html" title="Backgrounds and watermarks in Excel spreadsheets." /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/115013852561472656/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=115013852561472656&amp;isPopup=true" title="14 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/115013852561472656" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/115013852561472656" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/06/backgrounds-and-watermarks-in-excel.html" title="Backgrounds and watermarks in Excel spreadsheets." /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114988083178530383</id><published>2006-06-09T22:17:00.000+03:00</published><updated>2006-07-14T07:05:56.560+03:00</updated><title type="text">Preventing Excel to display #DIV/0! when dividing by 0 – The shortest formula.</title><content type="html">&lt;span style="font-family:arial;"&gt;Sometimes dividing by 0 is inevitable, and Excel will show a #DIV/0! result. To avoid this you can use formulas like =IF(ISERROR(A1/A2),0,A1/A2). A shorter formula will be =IF(A2=0,0,A1/A2).&lt;br /&gt;&lt;br /&gt;But the shortest formula I know to perform this was posted by KL in the formula forum of &lt;a href="http://www.exceluciones.com/portal"&gt;Exceluciones&lt;/a&gt; (an Excel forum in Spanish):&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;=--IF(A2,A1/A2)&lt;/strong&gt;. !!!!&lt;br /&gt;&lt;br /&gt;To understand how this formula works you have to notice that:&lt;br /&gt;&lt;br /&gt;- the IF function in this example uses only two arguments: the logical_test and the value_if_true.&lt;br /&gt;- Excel associates the logical result FALSE with 0 (zero) and TRUE with 1&lt;br /&gt;&lt;br /&gt;In this way, when A2 = 0, the value for the logical_test argument is FALSE, and Excel returns the value for the value_if_false argument, which is FALSE.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/div02.jpg" border="0" /&gt;&lt;br /&gt;The two minus signs ("-") preceding the function are equivalent to multiply the function by 1 (-1 X -1). This will cause Excel to return 0 when the result is FALSE (FALSE x 1 = 0)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Categories: &lt;span class="category"&gt;Functions&amp;amp;Formulas_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;small&gt;&lt;span style="font-family:arial;"&gt;Technorati Tags: &lt;/span&gt;&lt;a href="http://technorati.com/tag/#DIV/0!" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;#DIV/0!&lt;/span&gt;&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;If you enjoyed this post &lt;/span&gt;&lt;a title="Preventing Excel to display #DIV/0! when dividing by 0 – The shortest formula." href="http://del.icio.us/post?url=http://jldexcel.blogspot.com/2006/06/preventing-excel-to-display-div0-when.html"&gt;&lt;span style="font-family:arial;"&gt;add to del.icio.us&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114988083178530383?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/dn7g8tQkB09g8nCNUTShgKbqjyU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dn7g8tQkB09g8nCNUTShgKbqjyU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/dn7g8tQkB09g8nCNUTShgKbqjyU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dn7g8tQkB09g8nCNUTShgKbqjyU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=TYdHzgHn"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=OKObLvu4"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/06/preventing-excel-to-display-div0-when.html" title="Preventing Excel to display #DIV/0! when dividing by 0 – The shortest formula." /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114988083178530383/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114988083178530383&amp;isPopup=true" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114988083178530383" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114988083178530383" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/06/preventing-excel-to-display-div0-when.html" title="Preventing Excel to display #DIV/0! when dividing by 0 – The shortest formula." /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114962111984385085</id><published>2006-06-06T22:05:00.000+03:00</published><updated>2006-06-06T22:13:27.406+03:00</updated><title type="text">Formatting part of a cell content in MS Excel</title><content type="html">&lt;span style="font-family:arial;"&gt;Sometimes you need to format part of the content in a cell. For example, you want to produce a reference to a footnote in the column header in cell D1:&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/editceleng01.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;The reference number should appear like a superscript.&lt;br /&gt;To do this, follow these steps:&lt;br /&gt;&lt;br /&gt;1 – edit cell D1 and add "1" immediately after "March"&lt;br /&gt;2 – Select "1" and press the right button in the mouse to open the Format Cells dialog.&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/editceleng02.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;3 – Open the Format cells dialog and check the Superscript option.&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/editceleng03.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Hit Ok and then Enter to finish the cell edit. Add the footnote. Your table will look now like this&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/editceleng04.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;In the same way you can change the font and/or the color of part of the cell's content, or use any of the other format options.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Categories: &lt;span class="category"&gt;Miscellaneous_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;small&gt;&lt;span style="font-family:arial;"&gt;Technorati Tags: &lt;/span&gt;&lt;a href="http://technorati.com/tag/Excel" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;Excel&lt;/span&gt;&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;If you enjoyed this post &lt;/span&gt;&lt;a title="Formatting part of a cell content in MS Excel" href="http://del.icio.us/post?url=http://jldexcel.blogspot.com/2006/06/formatting-part-of-cell-content-in-ms.html"&gt;&lt;span style="font-family:arial;"&gt;add to del.icio.us&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114962111984385085?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Ln9ShwBvaFzuh-8uzmaY--ekJek/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ln9ShwBvaFzuh-8uzmaY--ekJek/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Ln9ShwBvaFzuh-8uzmaY--ekJek/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ln9ShwBvaFzuh-8uzmaY--ekJek/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=DT6SEdI4"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=lKqAawXG"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/06/formatting-part-of-cell-content-in-ms.html" title="Formatting part of a cell content in MS Excel" /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114962111984385085/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114962111984385085&amp;isPopup=true" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114962111984385085" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114962111984385085" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/06/formatting-part-of-cell-content-in-ms.html" title="Formatting part of a cell content in MS Excel" /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114924293029160366</id><published>2006-06-02T13:03:00.001+03:00</published><updated>2008-06-13T21:50:10.868+03:00</updated><title type="text">Ranking a list in Excel according to two criteria – A soccer standings table example.</title><content type="html">Following my post about &lt;a href="http://jldexcel.blogspot.com/2006/05/ranking-list-with-more-tan-one.html"&gt;ranking a list in Excel with more than one criterion&lt;/a&gt;, here there is a &lt;a href="http://www.esnips.com/doc/0febac43-cd06-4512-a86d-02650488f4f3/rank_mult_crit_sp_simpl/?widget=documentIcon"&gt;&lt;img border="0" alt="rank_mult_crit_sp_simpl" title="click to Viewrank_mult_crit_sp_simpl" src="/images/thumbs/thumb.xls.gif"&gt;simplified example of a soccer league standing table&lt;/a&gt;.&lt;br /&gt;In this example I rank the teams according to points (wins = 3 pts.; draw = 1 pt.; lose =0 pts.) and goals difference.&lt;br /&gt;In this model, you don't have to rearrange the table with &lt;strong&gt;Data--&gt;Sort&lt;/strong&gt;. The teams will appear in the right position automatically.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/rank_simp_eng01.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;In this model we use an auxiliary table to do all the calculations.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/rank_simp_eng02.12.jpg" border="0" /&gt;&lt;br /&gt;The standings table uses a formula of nested &lt;strong&gt;&lt;span style="color:#cc0000;"&gt;INDEX&lt;/span&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;span style="color:#cc0000;"&gt;MATCH&lt;/span&gt;&lt;/strong&gt; functions to put the right data in the right place.&lt;br /&gt;The formula in cell B7 is =INDEX(K$7:K$11,MATCH($A7,$U$7:$U$11,0)); the formula in cell C7 is =INDEX(L$7:L$11,MATCH($A7,$U$7:$U$11,0)), and so on.&lt;br /&gt;&lt;br /&gt;The formulas in the auxiliary table are:&lt;br /&gt;Cell Q7: =O7-P7, calculates the goal difference&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Cell R7: =L7*3+M7, calculates the points (win=3 + draw=1)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Cell S7: =RANK(R7,$R$7:$R$11), calculates the relative position of the team&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Cell T7: =SUMPRODUCT(($R$7:$R$11=R7)*(Q7&lt;$Q$7:$Q$11)), calculates a rank number for teams with the same points, according to the goals difference. The rank number begins with 0 (zero), that means, if three teams have the same quantity of points, the one with the biggest goal difference for will rank 0, the second 1 and the third 2. In case of teams with an unique quantity of points the formula retrieves 0 (zero). &lt;/p&gt;&lt;p&gt;Cell U7: =S7+T7, calculates the final position. &lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Categories: &lt;span class="category"&gt;Functions&amp;amp;Formulas_&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;Technorati Tags: &lt;a href="http://technorati.com/tag/Excel+RANK" rel="tag"&gt;Excel RANK&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;If you enjoyed this post &lt;a title="Ranking a list in Excel according to two criteria – A soccer standings table example." href="http://del.icio.us/post?url=http://jldexcel.blogspot.com/2006/06/ranking-list-in-excel-according-to-two_02.html"&gt;add to del.icio.us&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114924293029160366?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jZ2b4xK4LZ-dMfnF4dQbPXbPsgI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jZ2b4xK4LZ-dMfnF4dQbPXbPsgI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jZ2b4xK4LZ-dMfnF4dQbPXbPsgI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jZ2b4xK4LZ-dMfnF4dQbPXbPsgI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=A6tStgXB"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=pMucgVQN"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/06/ranking-list-in-excel-according-to-two_02.html" title="Ranking a list in Excel according to two criteria – A soccer standings table example." /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114924293029160366/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114924293029160366&amp;isPopup=true" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114924293029160366" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114924293029160366" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/06/ranking-list-in-excel-according-to-two_02.html" title="Ranking a list in Excel according to two criteria – A soccer standings table example." /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114910410807178450</id><published>2006-05-31T22:21:00.000+03:00</published><updated>2006-10-21T13:23:28.510+02:00</updated><title type="text">Limiting a worksheet scroll area in Excel</title><content type="html">&lt;span style="font-family:arial;"&gt;When you want to protect formulas or data in a worksheet you can hide columns and/or rows, hide formulas and more and then apply the Tools---&gt;Protection menu.&lt;br /&gt;But if you want to limit the users to a certain area in the worksheet, that means, to create a "free zone" and an "out of limits" zone in you worksheet, you can use the following method.&lt;br /&gt;Suppose you have a standings table like in my post on &lt;/span&gt;&lt;a href="http://jldexcel.blogspot.com/2006/05/ranking-list-with-more-tan-one.html"&gt;&lt;span style="font-family:arial;"&gt;ranking a list with RANK and SUMPRODUCT functions&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;:&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/congeng01.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Now suppose you want to limit the user to the range B5:J19, protecting the auxiliary columns and preventing him to move to any cell outside this range. To do this follow these steps:&lt;br /&gt;&lt;br /&gt;1 – Open the Control Toolbox bar&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/congeng02.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;2 – Press the Properties button. The Sheet1 Properties window will open&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/congeng03.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;3 – In the ScrollArea line enter the range B5:J19&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/congeng04.0.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Finally, close the Properties window. From this moment there is no way to select any cell outside the range, until you open the properties window again and change or delete the range.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Categories: &lt;span class="category"&gt;Miscellaneous_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;small&gt;&lt;span style="font-family:arial;"&gt;Technorati Tags: &lt;/span&gt;&lt;a href="http://technorati.com/tag/ScrollArea" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;ScrollArea&lt;/span&gt;&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114910410807178450?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/mppNBTBVTl0354HaSEv1SJZAODw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mppNBTBVTl0354HaSEv1SJZAODw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/mppNBTBVTl0354HaSEv1SJZAODw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mppNBTBVTl0354HaSEv1SJZAODw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=j1xmACnf"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=7MD3SdTH"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/05/limiting-worksheet-scroll-area-in.html" title="Limiting a worksheet scroll area in Excel" /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114910410807178450/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114910410807178450&amp;isPopup=true" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114910410807178450" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114910410807178450" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/05/limiting-worksheet-scroll-area-in.html" title="Limiting a worksheet scroll area in Excel" /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114885056424871740</id><published>2006-05-29T00:00:00.000+03:00</published><updated>2006-05-29T00:11:14.316+03:00</updated><title type="text">World Cup 2006 Tournament Calendar in MS Excel</title><content type="html">If you like soccer and &lt;strong&gt;Excel&lt;/strong&gt;, here is a must: a World Cup 2006 Tournament Calendar developed by the people of Excely.com in a plain Excel worksheet.&lt;br /&gt;&lt;br /&gt;This calendar works without macros and in their own words: &lt;em&gt;&lt;strong&gt;The calendar is an ideal tool to keep track of World Cup 2006 and impress your friends with insightful predictions&lt;/strong&gt;&lt;/em&gt;.&lt;br /&gt;&lt;br /&gt;World Cup 2006 Tournament Calendar is available free of charge from the Excely.com internet site. The calendar speaks 20 languages and supports different time zones. Just &lt;a href="http://www.excely.com/world-cup-2006.html"&gt;download it&lt;/a&gt;, extract the archive and enjoy the comfort of the automated game calendar.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Categories: &lt;span class="category"&gt;Miscellaneous_&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114885056424871740?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ISt-YQMCJ9vgShha1BkMw4_ueZg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ISt-YQMCJ9vgShha1BkMw4_ueZg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ISt-YQMCJ9vgShha1BkMw4_ueZg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ISt-YQMCJ9vgShha1BkMw4_ueZg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=Ae4u5gE5"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=LB9agZTO"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/05/world-cup-2006-tournament-calendar-in.html" title="World Cup 2006 Tournament Calendar in MS Excel" /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114885056424871740/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114885056424871740&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114885056424871740" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114885056424871740" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/05/world-cup-2006-tournament-calendar-in.html" title="World Cup 2006 Tournament Calendar in MS Excel" /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114874946842493571</id><published>2006-05-27T19:01:00.000+03:00</published><updated>2006-06-17T10:55:47.376+03:00</updated><title type="text">Ranking a list with more than one criteria in MS Excel – using the RANK and the SUMPRODUCT functions</title><content type="html">&lt;span style="font-family:arial;"&gt;I've already discussed the use of the &lt;strong&gt;RANK&lt;/strong&gt; function in my post about &lt;/span&gt;&lt;a href="http://jldexcel.blogspot.com/2006/03/ranking-values-in-list-with-excel.html"&gt;&lt;span style="font-family:arial;"&gt;ranking values in a list with Excel functions&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;. The RANK function returns the rank of a number in a list of number.&lt;br /&gt;I was asked by one of my readers in the &lt;/span&gt;&lt;a href="http://www.jldexcelsp.blogspot.com"&gt;&lt;span style="font-family:arial;"&gt;JLD Excel blog in Spanish&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;, how to build a soccer standings table according to these criteria:&lt;br /&gt;1 – if two or more teams share the same position, then they will rank according to the number of goals for.&lt;br /&gt;2 – If the draw persists the criteria will be the best goal difference (goals for – goals against).&lt;br /&gt;&lt;br /&gt;In this case we have to rank the teams according to three criteria: points, if the have the same score of points then according to the quantity of goals for and in case the have the same quantity of points &lt;strong&gt;and&lt;/strong&gt; goals for then according to the goal difference.&lt;br /&gt;&lt;br /&gt;Of course, RANK can't manage this. The solution I found is to combine RANK with &lt;strong&gt;SUMPRODUCT&lt;/strong&gt;, and the use of some auxiliary columns.&lt;br /&gt;&lt;br /&gt;Suppose this standings table (press &lt;/span&gt;&lt;a title="RANK and SUMPRODUCT example" href="http://www.filelodge.com/files/room13/327240/EngFiles/rank_mult_crit_eng.xls"&gt;&lt;span style="font-family:arial;"&gt;here to download the workbook&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;):&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/rankmulteng01.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;As you can see Teams 4, 5 and 6 and teams 7, 8 and 9 have the same points.&lt;br /&gt;&lt;br /&gt;The solution: create tree auxiliary columns holding formulas to rank the teams according to each criterion (points, goals for, goals difference) and combine the three in a fourth column holding a formula that will show the final standing for each team.&lt;br /&gt;&lt;br /&gt;In our example we add columns K, L and M&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/rankmulteng02.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;with these formulas:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Column K&lt;/strong&gt;: =RANK(J5,$J$4:$J$19). When you use RANK you evaluate the rank of a number in a list of numbers. The rank of a number is its size relative to other values in a list. When two numbers in the list are equal Excel will assign them the same rank. In our case we'll take advantage of this "problem".&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Column L&lt;/strong&gt;: =SUMPRODUCT((J5=$J$4:$J$19)*(G5&lt;$G$4:$G$19)). This formula will give a rank number for teams with the same points, according to the quantity of goals for. The rank number begins with 0 (zero), that means, if three teams have the same quantity of points, the one with the biggest quantity of goals for will rank 0, the second 1 and the third 2. In case of teams with an unique quantity of points the formula retrieves 0 (zero). &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Column M&lt;/strong&gt;: =SUMPRODUCT((J5=$J$4:$J$19)*(I5&lt;$I$4:$I$19)). This formula works the same than the one in column L, but with the goals difference criteria. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;Finally we add the fourth auxiliary column in &lt;strong&gt;column A&lt;/strong&gt; with this "mega-formula": &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;=&lt;span style="color:#663366;"&gt;RANK(J5,$J$4:$J$19)&lt;/span&gt;+&lt;span style="color:#000099;"&gt;SUMPRODUCT((J5=$J$4:$J$19)*(G5&lt;$G$4:$G$19))&lt;/span&gt;+&lt;span style="color:#cc0000;"&gt;SUMPRODUCT((K5=$K$4:$K$19)*(L5=$L$4:$L$19)*(M5&gt;$M$4:$M$19))&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This formula has three sections:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#663366;"&gt;RANK(J5,$J$4:$J$19)&lt;/span&gt;&lt;/strong&gt; will retrieve the rank number of each team. When teams have the number of points, RANK will give them the same rank number.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;SUMPRODUCT((J5=$J$4:$J$19)*(G5&lt;$G$4:$G$19))&lt;/span&gt;&lt;/strong&gt;: the first part of the formula evaluates if there are another teams with the same number of points. If not, the result will be 0 (zero) which will not affect the rank number of RANK. If there are other teams with the same number of points, a rank number starting with 0 will be retrieved for each team, according to the quantity of goals for. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;span style="color:#cc0000;"&gt;SUMPRODUCT((K5=$K$4:$K$19)*(L5=$L$4:$L$19)*(M5&gt;$M$4:$M$19))&lt;/span&gt;&lt;/strong&gt;: this part works with two criteria, same number of points &lt;strong&gt;and&lt;/strong&gt; same quantity of goals for. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;Now you can sort the table according to column A with Data--&gt;Sort&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:arial;"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/rankmulteng03.jpg" border="0" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Categories: &lt;span class="category"&gt;Functions&amp;amp;Formulas_,Array Formulas_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;small&gt;&lt;span style="font-family:arial;"&gt;Technorati Tags: &lt;/span&gt;&lt;a href="http://technorati.com/tag/RANK" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;RANK&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;, &lt;/span&gt;&lt;a href="http://technorati.com/tag/SUMPRODUCT" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;SUMPRODUCT&lt;/span&gt;&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;If you enjoyed this post &lt;/span&gt;&lt;a title="Ranking a list with more tan one criteria in MS Excel – using the RANK and the SUMPRODUCT functions" href="http://del.icio.us/post?url=http://jldexcel.blogspot.com/2006/05/ranking-list-with-more-tan-one.html"&gt;&lt;span style="font-family:arial;"&gt;add to del.icio.us&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114874946842493571?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/8zbOjXuSlX-vnrMeg3Pp2esUvcQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8zbOjXuSlX-vnrMeg3Pp2esUvcQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/8zbOjXuSlX-vnrMeg3Pp2esUvcQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8zbOjXuSlX-vnrMeg3Pp2esUvcQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=e0TbLMdz"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=Nf3PqV6D"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/05/ranking-list-with-more-tan-one.html" title="Ranking a list with more than one criteria in MS Excel – using the RANK and the SUMPRODUCT functions" /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114874946842493571/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114874946842493571&amp;isPopup=true" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114874946842493571" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114874946842493571" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/05/ranking-list-with-more-than-one.html" title="Ranking a list with more than one criteria in MS Excel – using the RANK and the SUMPRODUCT functions" /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114844029867707768</id><published>2006-05-24T06:09:00.000+03:00</published><updated>2006-06-01T21:27:43.613+03:00</updated><title type="text">Converting a Decimal Number in Excel to hh:mm:ss Format</title><content type="html">&lt;span style="font-family:arial;"&gt;Some attendance systems produce reports that use decimal notation. For example, the total for a worker who worked from 8:00 to 17:30 appears in the report as 9.50. The total for another worker who worked of 8:00 to 17:45 will appear in report as 9.75.&lt;br /&gt;When these data are exported to &lt;strong&gt;Excel&lt;/strong&gt;, the total hours worked by both workers will appear in Excel as &lt;strong&gt;9.50 + 9.75 = 19.25&lt;/strong&gt;. This result could be misleading. The total of worked hours is &lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;19 hours and 15 minutes.&lt;br /&gt;&lt;/strong&gt;In order to convert the hours and minutes in format decimal to the format &lt;strong&gt;hh: mm: ss&lt;/strong&gt; in Microsoft Excel we use the following formula: &lt;strong&gt;="Hours.minutes in decimal format"/24&lt;/strong&gt;.&lt;br /&gt;This formula will return a serial number. In order to show the serial number in the corresponding format, change the number format in the Format---&gt;Number menu to hh: mm: ss.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/dechourseng.jpg" border="0" /&gt;&lt;br /&gt;If we want to turn minutes in decimal format to hh: mm: ss, we'll use the formula: &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;="minutes in format decimal" /1440&lt;/strong&gt;. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Finally if we want to turn seconds in decimal format to hh: mm: ss, we'll use: &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;="seconds in format decimal" /86400&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;We use these numbers, 24, 1440, 86400, because as I explained in the post about &lt;/span&gt;&lt;a href="http://jldexcel.blogspot.com/2006/05/dates-and-time-in-ms-excel.html"&gt;&lt;span style="font-family:arial;"&gt;dates and time in MS Excel&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;, Excel uses decimal numbers to carry out calculations of time. The unit (1) represents a complete day, that is equivalent to 24 hours, 1440 minutes and 86400 seconds.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Categories: &lt;span class="category"&gt;Miscellaneous_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;small&gt;&lt;span style="font-family:arial;"&gt;Technorati Tags: &lt;/span&gt;&lt;a href="http://technorati.com/tag/Time+Calculation" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;Time calculations in Excel&lt;/span&gt;&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;If you enjoyed this post &lt;/span&gt;&lt;a title="Converting a Decimal Number in Excel to hh:mm:ss Format " href="http://del.icio.us/post?url=http://jldexcel.blogspot.com/2006/05/converting-decimal-number-in-excel-to.html"&gt;&lt;span style="font-family:arial;"&gt;add to del.icio.us&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114844029867707768?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ocVlbqNJ7TCEEwoWLTk84lr4TkU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ocVlbqNJ7TCEEwoWLTk84lr4TkU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ocVlbqNJ7TCEEwoWLTk84lr4TkU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ocVlbqNJ7TCEEwoWLTk84lr4TkU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=YuwEP3Dx"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=KTacB3kz"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/05/converting-decimal-number-in-excel-to.html" title="Converting a Decimal Number in Excel to hh:mm:ss Format" /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114844029867707768/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114844029867707768&amp;isPopup=true" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114844029867707768" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114844029867707768" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/05/converting-decimal-number-in-excel-to.html" title="Converting a Decimal Number in Excel to hh:mm:ss Format" /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114823708213166966</id><published>2006-05-21T21:32:00.000+03:00</published><updated>2006-08-01T06:37:59.716+03:00</updated><title type="text">MS Excel Custom Number Formats.</title><content type="html">&lt;div align="left"&gt;&lt;span style="font-family:arial;"&gt;One of the most interesting features in Excel is the ability to create custom number formats. You do this activating the Format Cells---&gt;Number---&gt;Custom menu&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/numformeng01.jpg" border="0" /&gt; &lt;p align="left"&gt;&lt;br /&gt;&lt;br /&gt;It's important to keep in mind that number formatting only affects the way the value is displayed in the workbook, and not the actual number. You can find an example of this in my post on &lt;a href="http://jldexcel.blogspot.com/2006/05/dates-and-time-in-ms-excel.html"&gt;dates and time in MS Excel&lt;/a&gt;, and in my post on &lt;a href="http://jldexcel.blogspot.com/2006/05/calculating-elapsed-time-in-ms-excel.html"&gt;calculating elapsed time with MS Excel&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The need to create a custom format number arises when you can't find an appropriate format in one of the number format categories in Excel.&lt;br /&gt;&lt;br /&gt;Suppose you want to display your figures with the word "Euro" after the numbers, and negative numbers in red and between parentheses. You can use this format:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;#,###0 "Euro";[Red](#,##0) "Euro";&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The syntax for custom number format has four sections:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Positive number format; negative number format; zero format; text format&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You don't have to use all the sections. If you use one section, the format will apply to all values. If you use two sections, the first applies to the positives numbers and zeros, and the second to the negative numbers.&lt;br /&gt;&lt;br /&gt;Excel uses codes to define the format in each section. Part of these codes are:&lt;br /&gt;&lt;br /&gt;"&lt;strong&gt;General&lt;/strong&gt;": displays the general format.&lt;br /&gt;&lt;br /&gt;"&lt;strong&gt;#&lt;/strong&gt;": displays only significant digits and does not display insignificant zeros.&lt;br /&gt;&lt;br /&gt;"&lt;strong&gt;0&lt;/strong&gt;" (zero): displays insignificant zeros if a number has fewer digits than there are zeros in the format.&lt;br /&gt;&lt;br /&gt;"&lt;strong&gt;?&lt;/strong&gt;": adds spaces for insignificant zeros on either side of the decimal point so that decimal points align when formatted with a fixed-width font. You can also use "?" for fractions that have varying numbers of digits.&lt;br /&gt;&lt;br /&gt;"&lt;strong&gt;%&lt;/strong&gt;": to display numbers as a percentage of 100, include the percent sign (%) in the number format.&lt;br /&gt;&lt;br /&gt;"&lt;strong&gt;text&lt;/strong&gt;": to display text as in our example use double quotation marks.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;[color]&lt;/strong&gt;: to set the color for a section of the format, type the name of one of the following eight colors in square brackets in the section. The color code must be the first item in the section. [Black], [Blue], [Cyan], [Green],[Magenta], [Red], [White] [Yellow].&lt;br /&gt;&lt;br /&gt;You can &lt;strong&gt;conditional formats&lt;/strong&gt; too. To set number formats that will be applied only if a number meets a condition you specify, enclose the condition in square brackets. The condition consists of a comparison operator and a value. For example, the following format displays numbers less than or equal to 100 in a red font and numbers greater than 100 in a blue font.&lt;br /&gt;&lt;br /&gt;[Red][&lt;=100];[Blue][&gt;100]&lt;br /&gt;&lt;br /&gt;For a most efficient way to apply conditional formatting use the &lt;a href="http://jldexcel.blogspot.com/2006/02/using-names-in-excel-for-conditional.html"&gt;Conditional Formatting&lt;/a&gt; command on the Format menu.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Categories: &lt;span class="category"&gt;Miscellaneous_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;small&gt;&lt;span style="font-family:arial;"&gt;Technorati Tags: &lt;/span&gt;&lt;a href="http://technorati.com/tag/Custom+Number+Format" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;Custom Number Format&lt;/span&gt;&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;If you enjoyed this post &lt;/span&gt;&lt;a title="MS Excel Custom Number Formats" href="http://del.icio.us/post?url=copiar"&gt;&lt;span style="font-family:arial;"&gt;add to del.icio.us&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114823708213166966?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xm3vU1LtQOkvsvGISkrkGLb0B9c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xm3vU1LtQOkvsvGISkrkGLb0B9c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xm3vU1LtQOkvsvGISkrkGLb0B9c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xm3vU1LtQOkvsvGISkrkGLb0B9c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=iXuUjtBy"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=I5Cf0xla"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/05/ms-excel-custom-number-formats.html" title="MS Excel Custom Number Formats." /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114823708213166966/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114823708213166966&amp;isPopup=true" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114823708213166966" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114823708213166966" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/05/ms-excel-custom-number-formats.html" title="MS Excel Custom Number Formats." /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114780242985106434</id><published>2006-05-16T20:34:00.000+03:00</published><updated>2006-11-30T21:23:20.476+02:00</updated><title type="text">Calculating elapsed time with MS Excel – Time Functions Overview</title><content type="html">In a previous post I discussed the "&lt;a href="http://jldexcel.blogspot.com/2006/05/calculating-elapsed-time-in-ms-excel.html"&gt;negative time problem&lt;/a&gt;" when calculating elapsed time and a post with a general explanation about &lt;a href="http://jldexcel.blogspot.com/2006/05/dates-and-time-in-ms-excel.html"&gt;how Excel deals with date and time calculations&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;In this post I'll write a quick &lt;a href="http://www.filelodge.com/files/room13/327240/EngFiles/time2_eng.xls"&gt;overview on time related functions in MS Excel&lt;/a&gt;. To download the workbook with the time related functions click the link.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOW&lt;/strong&gt;() - Returns the serial number of the current date and time. If the cell format was General before the function was entered, the result is formatted as a date. The NOW function is a "volatile" and changes only when the worksheet is calculated or when a macro that contains the function is run.&lt;br /&gt;The formula "=NOW()" will return "16/05/2006 20:05". If you want to the current time without the associated date, you can use the formula "=NOW()-TODAY()". You have to format the cell with an appropriated time format like "hh:mm:ss".&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;HOUR&lt;/strong&gt;() - Returns the hour of a time value. The hour is given as an integer, ranging from 0 (12:00 A.M.) to 23 (11:00 P.M.). For example "=HOUR(0.885)” returns "21:00", being 0.885 the serial number for 21:14:24.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;TIMEVALUE&lt;/strong&gt;(time_text) - Returns the decimal number of the time represented by a text string. The decimal number is a value ranging from 0 (zero) to 0.99999999, representing the times from 0:00:00 (12:00:00 AM) to 23:59:59 (11:59:59 P.M.). For example, "=TIMEVALUE("21:14:24")" returns 0.885.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;MINUTE&lt;/strong&gt;(serial_number) - Returns the minutes of a time value. The minute is given as an integer, ranging from 0 to 59. In our example, "=MINUTE(0.885)" returns 14.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;SECOND&lt;/strong&gt;(serial_number) – the as MINUTE for seconds.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;TIME&lt;/strong&gt;(hour,minute,second) - Returns the decimal number for a particular time. If the cell format was General before the function was entered, the result is formatted as a date. The decimal number returned by TIME is a value ranging from 0 (zero) to 0.99999999, representing the times from 0:00:00 (12:00:00 AM) to 23:59:59 (11:59:59 P.M.).&lt;br /&gt;The interesting thing about TIME, is that this functions corrects automatically "invalid" arguments. For example, if you use 65 as argument for the minutes "=TIME(21,65,24)", Excel will return 10:05 PM, adjusting the hour to 22:00 (or 10 PM) and the minutes to 05.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;Categories: &lt;span class="category"&gt;Functions&amp;amp;Formulas_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;small&gt;Technorati Tags: &lt;a href="http://technorati.com/tag/Time+Functions" rel="tag"&gt;Time Functions&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;If you enjoyed this post &lt;a title="Calculating" href="http://del.icio.us/post?url=http://jldexcel.blogspot.com/2006/05/calculating-elapsed-time-with-ms-excel.html"&gt;add to del.icio.us&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114780242985106434?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/D3e1OpE7h_R5kEA5Hh_GoWyaBS4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/D3e1OpE7h_R5kEA5Hh_GoWyaBS4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/D3e1OpE7h_R5kEA5Hh_GoWyaBS4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/D3e1OpE7h_R5kEA5Hh_GoWyaBS4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=OhDdRPR2"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=T1T279i5"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/05/calculating-elapsed-time-with-ms-excel.html" title="Calculating elapsed time with MS Excel – Time Functions Overview" /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114780242985106434/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114780242985106434&amp;isPopup=true" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114780242985106434" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114780242985106434" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/05/calculating-elapsed-time-with-ms-excel.html" title="Calculating elapsed time with MS Excel – Time Functions Overview" /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114744777034221606</id><published>2006-05-12T18:05:00.000+03:00</published><updated>2006-05-20T14:53:02.856+03:00</updated><title type="text">Calculating elapsed time in MS Excel – When the difference between times results in a negative value.</title><content type="html">&lt;span style="font-family:arial;"&gt;In a previous post about &lt;a href="http://jldexcel.blogspot.com/2006/05/dates-and-time-in-ms-excel.html"&gt;dates and time in Excel&lt;/a&gt;, I explained that Excel "sees" dates as whole numbers. In other words, dates in Excel are a series of whole numbers starting with 1 for the 1st of January 1900 (or 1904, as explained in this previous post). Hours are calculated by Excel as fractions of the number 1. For example, 6:00 in the morning will be to Excel 0.25.&lt;br /&gt;When using base 1900, if the result of a time calculation is a negative value, Excel will not be able to represent the result as a date. Instead you will see a series of # signs (#######).&lt;br /&gt;The "negative time problem" generally occurs when calculating elapsed times, like calculating the hours worked by workers in a shift. Consider this example of a &lt;a title="click to download the Excel Time Calculations example" href="http://www.filelodge.com/files/room13/327240/EngFiles/Time%20Calculations%2001.xls"&gt;negative result when calculating the difference between times&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;p&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/hourseng01.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Because the shift of Worker 2 ended next day at 3:00 in the morning, the formula in cell D9 (=C9-B9) results in a negative value.&lt;br /&gt;There are several ways to overcome this problem. The obvious one is to use the ABS function, which returns the absolute value of the operation. But in certain cases, like in our example, you can't use ABS; it will return a wrong result!&lt;br /&gt;You can &lt;a title="click to download the Excel Time Calculations example" href="http://www.blogger.com/&lt;a%20href="&gt;"download the workbook&lt;/a&gt; with the different alternatives to solve this problem:&lt;br /&gt;&lt;br /&gt;1 – Enter the hours with the corresponding dates, like "08/05/2006 19:00". To Excel the number representing the start hour will be "38845.79167". The number for the end hour (which includes the date, the next day at 3:00 in the morning) is " 38846.125" and the difference between end and start will result in a positive number.&lt;br /&gt;&lt;br /&gt;2 – Use a formula as in cell D21: " =C21+(C21"&lt;"B21)-B21". When the end time is smaller than the start time (C21"&lt;"B21) will be equal to 1 (TRUE), and will be added to C21 (1 = a whole day)/ &lt;/p&gt;&lt;p&gt;3 – Use the MOD function as shown in cell D27: =MOD(C27-B27,1). &lt;/p&gt;&lt;p&gt;The MOD functions returns the remainder after number is divided by divisor. According to the on-line help the MOD function can be expressed in terms of the INT function: &lt;/p&gt;&lt;p&gt;MOD(n, d) = n - d*INT(n/d). &lt;/p&gt;&lt;p&gt;In our case "n" is 3:00 AM – 7:00 PM, but to Excel it is (0.125 - 0.791666667) which results in -0.66666667 &lt;/p&gt;&lt;p&gt;n-d*INT(n/d) will be -0.66666667 -1*INT(--0.66666667/1), which is -0.66666667-(-1) = 0.33333333 = 8:00 hours &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Categories: &lt;span class="category"&gt;Functions&amp;amp;Formulas_, Miscellaneous_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;small&gt;&lt;span style="font-family:arial;"&gt;Technorati Tags: &lt;/span&gt;&lt;a href="http://technorati.com/tag/Excel+Time+Calculations" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;Excel Time Calculations&lt;/span&gt;&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;If you enjoyed this post &lt;/span&gt;&lt;a title="Calculating elapsed time in MS Excel" href="http://del.icio.us/post?url=http://jldexcel.blogspot.com/2006/05/calculating-elapsed-time-in-ms-excel.html"&gt;&lt;span style="font-family:arial;"&gt;add to del.icio.us&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114744777034221606?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2plqCSLoMFbR6Wl54loZGVjYk1k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2plqCSLoMFbR6Wl54loZGVjYk1k/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2plqCSLoMFbR6Wl54loZGVjYk1k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2plqCSLoMFbR6Wl54loZGVjYk1k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=bflHLrCz"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=Ma4wNQBq"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/05/calculating-elapsed-time-in-ms-excel.html" title="Calculating elapsed time in MS Excel – When the difference between times results in a negative value." /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114744777034221606/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114744777034221606&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114744777034221606" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114744777034221606" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/05/calculating-elapsed-time-in-ms-excel.html" title="Calculating elapsed time in MS Excel – When the difference between times results in a negative value." /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114719967297585046</id><published>2006-05-09T21:24:00.000+03:00</published><updated>2006-05-09T22:07:11.886+03:00</updated><title type="text">Dates and Time in MS Excel</title><content type="html">&lt;span style="font-family:arial;"&gt;Excel represents dates and hours (time) as serial numbers. Whole numbers represent a date and decimals the hour. The date 1-January-1900 is represented by number 1. The hours are represented by fractions of 1, for example 6 in the morning, the fourth part of the day, is represented by number 0.25.&lt;br /&gt;This way, when we see in a cell of Excel the date of today, 9-May-2006, Excel “sees” the number 38846, the number of days from 1-January-1900 to the present day. The number 38846.25 means the 9th of May at 6:00 in the morning.&lt;br /&gt;Excel supports two different bases to calculate dates and time: 1-January-1900 or 1-January-1904. Excel supports base 1904 for compatibility reasons with the version for Macintosh.&lt;br /&gt;The difference between base 1900 and base 1904, is that with 1904 Excel allows calculations of time with negative results, which is “illegal” with base 1900.&lt;br /&gt;In the next post on this subject I will give an example.&lt;br /&gt;By definition Excel installs base 1900. In order to change to 1904, it is necessary to activate the menu “Options” and in the “Calculation” tab, check option 1904&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/date_time_eng.0.jpg" border="0" /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Categories: &lt;span class="category"&gt;Miscellaneous_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;small&gt;&lt;span style="font-family:arial;"&gt;Technorati Tags: &lt;/span&gt;&lt;a href="http://technorati.com/tag/Dates+and+Time" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;Dates and Time in Excel&lt;/span&gt;&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;If you enjoyed this post &lt;/span&gt;&lt;a title="Dates and Time in MS Excel" href="http://del.icio.us/post?url=copiar"&gt;&lt;span style="font-family:arial;"&gt;add to del.icio.us&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114719967297585046?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4OvOVPRS6wdzRpLuUvbUlrEzBOI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4OvOVPRS6wdzRpLuUvbUlrEzBOI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4OvOVPRS6wdzRpLuUvbUlrEzBOI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4OvOVPRS6wdzRpLuUvbUlrEzBOI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=9KiSnHgM"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=316Ufn00"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/05/dates-and-time-in-ms-excel.html" title="Dates and Time in MS Excel" /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114719967297585046/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114719967297585046&amp;isPopup=true" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114719967297585046" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114719967297585046" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/05/dates-and-time-in-ms-excel.html" title="Dates and Time in MS Excel" /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114684086814892355</id><published>2006-05-05T17:42:00.000+03:00</published><updated>2006-05-06T23:17:50.896+03:00</updated><title type="text">Data Analysis with MS Excel – Sensitivity analysis with the Data Table menu.</title><content type="html">&lt;span style="font-family:arial;"&gt;A sensitivity analysis shows how changes in certain values in a model will affect the outcome of the formulas in the model. For example, how changes in the volume of sales and variable costs rate will affect the net profit rate.&lt;br /&gt;With Excel you can perform this analysis easily using the Data---&gt;Table menu.&lt;br /&gt;Suppose this simplified P&amp;L report (download the &lt;/span&gt;&lt;a href="http://www.filelodge.com/files/room13/327240/Data_Table_01.xls"&gt;&lt;span style="font-family:arial;"&gt;Data Table example&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;)&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/data_table_01.jpg" border="0" /&gt;&lt;br /&gt;This will be the sensitivity analysis mentioned before:&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/data_table_02.jpg" border="0" /&gt;&lt;br /&gt;You can build this table entering a formula in each cell, or, if you are an intermediate to advanced user, enter one &lt;a href="http://jldexcel.blogspot.com/2006/04/array-formulas-and-array-constants-in.html"&gt;array multi-cell formula&lt;/a&gt;.&lt;br /&gt;Instead, you can use the Data---&gt;Table command.&lt;br /&gt;To build this Data Table with Excel follow these steps:&lt;br /&gt;1 – Build a table, with a reference to the formula being evaluated in the let upper corner; values for one of the variables in the upper row and values for the second variable in the leftmost column of the table&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/data_table_03.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;2 – Select the table, including the blank cells (in our &lt;/span&gt;&lt;a title="Data Table example" href="http://www.filelodge.com/files/room13/327240/Data_Table_01.xls"&gt;&lt;span style="font-family:arial;"&gt;example&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt; select the range B12:G17)&lt;br /&gt;&lt;br /&gt;3 – Activate Data---&gt;Table from the menu. In the dialog that opens you have to enter a reference to the row input cell (Sales, B4 in our &lt;/span&gt;&lt;a title="Data Table Example" href="http://www.filelodge.com/files/room13/327240/Data_Table_01.xls"&gt;&lt;span style="font-family:arial;"&gt;example&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;) and to the column input cell (variable costs rate, C6 in our example). &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/data_table_04.jpg" border="0" /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Press OK and Excel will build the sensitivity analysis table automatically.&lt;br /&gt;&lt;br /&gt;4 – You can hide the reference to the formula being evaluated (or the formula itself) in the upper left corner of the table, formatting the font with the same color like the background.&lt;br /&gt;&lt;br /&gt;This example shows a two-variable data table. There are also one-variable data tables.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Categories: &lt;span class="category"&gt;Data Management_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;small&gt;&lt;span style="font-family:arial;"&gt;Technorati Tags: &lt;/span&gt;&lt;a href="http://technorati.com/tag/Data+Table" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;Data+Table&lt;/span&gt;&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;If you enjoyed this post &lt;/span&gt;&lt;a title="Data Analysis with MS Excel – Sensitivity analysis with the Data Table menu." href="http://del.icio.us/post?url=http://jldexcel.blogspot.com/2006/05/data-analysis-with-ms-excel.html"&gt;&lt;span style="font-family:arial;"&gt;add to del.icio.us&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114684086814892355?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6l9tYIQ7ob2YgquylaEoYqn2uzA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6l9tYIQ7ob2YgquylaEoYqn2uzA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6l9tYIQ7ob2YgquylaEoYqn2uzA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6l9tYIQ7ob2YgquylaEoYqn2uzA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=hepEwEC8"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=JzXqTNPc"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/05/data-analysis-with-ms-excel.html" title="Data Analysis with MS Excel – Sensitivity analysis with the Data Table menu." /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114684086814892355/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114684086814892355&amp;isPopup=true" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114684086814892355" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114684086814892355" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/05/data-analysis-with-ms-excel.html" title="Data Analysis with MS Excel – Sensitivity analysis with the Data Table menu." /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114650884686666853</id><published>2006-05-01T21:17:00.000+03:00</published><updated>2006-05-04T16:59:34.433+03:00</updated><title type="text">Using MS Excel's SUBTOTAL function.</title><content type="html">&lt;span style="font-family:arial;"&gt;I've already discussed the use of the &lt;a href="http://jldexcel.blogspot.com/2006/02/data-consolidation-with-subtotals.html"&gt;&lt;strong&gt;SUBTOTALS&lt;/strong&gt; command in the Data menu&lt;/a&gt;. Generally is easier to create a list with subtotals using the Subtotals command, which uses the &lt;strong&gt;&lt;span style="color:#990000;"&gt;SUBTOTAL function&lt;/span&gt;&lt;/strong&gt;.&lt;br /&gt;With the &lt;strong&gt;&lt;span style="color:#990000;"&gt;SUBTOTAL function&lt;/span&gt;&lt;/strong&gt; you can consolidate data in many ways, like calculating an average for a subset of data in a list and other operations.&lt;br /&gt;&lt;br /&gt;The syntax of &lt;strong&gt;SUBTOTALS&lt;/strong&gt; is:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#006600;"&gt;SUBTOTAL(function_num,ref1,ref2,...)&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#006600;"&gt;Function_num&lt;/span&gt;&lt;/strong&gt; is a number that specifies which function to use in calculating subtotals within a list. These functions are:&lt;br /&gt;&lt;br /&gt;1 - AVERAGE&lt;br /&gt;2 - COUNT&lt;br /&gt;3 - COUNTA&lt;br /&gt;4 - MAX&lt;br /&gt;5 - MIN&lt;br /&gt;6 - PRODUCT&lt;br /&gt;7 - STDEV&lt;br /&gt;8 - STDEVP&lt;br /&gt;9 - SUM&lt;br /&gt;10 - VAR&lt;br /&gt;11 - VARP&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Ref1, ref2&lt;/strong&gt;, are 1 to 29 ranges or references for which you want the subtotal.&lt;br /&gt;&lt;br /&gt;A very important characteristic of this function is that &lt;strong&gt;SUBTOTAL will ignore any hidden rows that result from a list being filtered&lt;/strong&gt; using the &lt;a href="http://jldexcel.blogspot.com/2006/02/autofilter-and-hide-in-excel-different.html"&gt;AUTOFILTER command&lt;/a&gt;. This is important when you want to subtotal only the visible data that results from a list that you have filtered.&lt;br /&gt;&lt;br /&gt;You can check this in this file containing &lt;a title="download the workbook with the eamples" href="http://www.filelodge.com/files/room13/327240/func_subt_eng.xls"&gt;examples of the use of SUBTOTALS&lt;/a&gt; with filtered lists (see the AVERAGE and the SUM sheets in the workbook).&lt;br /&gt;&lt;br /&gt;A cool use of SUBTOTAL in a filtered list is shown in the COUNTA sheet. In the list each member has a correlative number (1 for the first member in the list, 2 for the second and so on). Using SUBTOTAL with the COUNTA function as first argument, the numbering stays correlative for the visible rows.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Categories: &lt;span class="category"&gt;Functions&amp;amp;Formulas_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;small&gt;&lt;span style="font-family:arial;"&gt;Technorati Tags: &lt;/span&gt;&lt;a href="http://technorati.com/tag/SUBTOTAL" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;SUBTOTAL&lt;/span&gt;&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;If you enjoyed this post &lt;/span&gt;&lt;a title="Using MS Excel's SUBTOTAL function." href="http://del.icio.us/post?url=http://jldexcel.blogspot.com/2006/05/using-ms-excels-subtotal-function.html"&gt;&lt;span style="font-family:arial;"&gt;add to del.icio.us&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114650884686666853?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ifJa5ldEm2zo8PeCB2iAiIb5lf8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ifJa5ldEm2zo8PeCB2iAiIb5lf8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ifJa5ldEm2zo8PeCB2iAiIb5lf8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ifJa5ldEm2zo8PeCB2iAiIb5lf8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=W9qfUEGf"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=a1sUg4pa"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/05/using-ms-excels-subtotal-function.html" title="Using MS Excel's SUBTOTAL function." /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114650884686666853/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114650884686666853&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114650884686666853" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114650884686666853" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/05/using-ms-excels-subtotal-function.html" title="Using MS Excel's SUBTOTAL function." /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114608144898140233</id><published>2006-04-26T22:42:00.000+03:00</published><updated>2006-04-29T15:45:38.220+03:00</updated><title type="text">Linear regression analysis with MS Excel Data Analysis tool.</title><content type="html">&lt;span style="font-family:arial;"&gt;To perform regression analysis with Excel, activate the Tools---&gt;Data Analysis menu. This will open a dialog, where you can choose, among others, the Regression option&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/linregeng01.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;If the Data Analysis menu is not available, you need to install the Data Analysis Toolpak. To do this, press the Tools---&gt;Add-Ins menu, and check the Analysis Toolpak option.&lt;br /&gt;&lt;br /&gt;The Regression analysis tool performs linear regression analysis by using the "least squares" method to fit a line through a set of observations. You can analyze how a single dependent variable is affected by the values of one or more independent variables.&lt;br /&gt;&lt;br /&gt;Let's see how the &lt;/span&gt;&lt;a href="http://www.filelodge.com/files/room13/327240/EngFiles/linregeng01.xls"&gt;&lt;span style="font-family:arial;"&gt;regression analysis works in Excel&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt; with this example (click the link to download):&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/linregeng02.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;To run the regression analysis, open the Data Analysis menu:&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/320/linregeng03.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;The different options in the dialog are almost self-explanatory. In our example, the data ranges included the labels, so we checked "labels". You can decide where to place the results, in the active worksheet, in another sheet in the current workbook, or in a new workbook. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;The summary output of our example will be&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/linregeng04.jpg" border="0" /&gt;&lt;br /&gt;You can see the output in the workbook with the &lt;/span&gt;&lt;a href="http://www.filelodge.com/files/room13/327240/EngFiles/linregeng01.xls" title="MS Excel Regression Analysis example"&gt;&lt;span style="font-family:arial;"&gt;example&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Categories: &lt;span class="category"&gt;Data Management_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;small&gt;&lt;span style="font-family:arial;"&gt;Technorati Tags: &lt;/span&gt;&lt;a href="http://technorati.com/tag/Linear+Regression" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;Linear Regression&lt;/span&gt;&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;If you enjoyed this post &lt;/span&gt;&lt;a title="Linear regression analysis with MS Excel Data Analysis tool." href="http://del.icio.us/post?url=http://jldexcel.blogspot.com/2006/04/linear-regression-analysis-with-ms.html"&gt;&lt;span style="font-family:arial;"&gt;add to del.icio.us&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114608144898140233?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/dWJX0giZnTU3IS-W_7TblA0Bo_A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dWJX0giZnTU3IS-W_7TblA0Bo_A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/dWJX0giZnTU3IS-W_7TblA0Bo_A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dWJX0giZnTU3IS-W_7TblA0Bo_A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=u7pFlKz2"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=QOXKozUD"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/04/linear-regression-analysis-with-ms.html" title="Linear regression analysis with MS Excel Data Analysis tool." /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114608144898140233/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114608144898140233&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114608144898140233" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114608144898140233" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/04/linear-regression-analysis-with-ms.html" title="Linear regression analysis with MS Excel Data Analysis tool." /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114573612520881871</id><published>2006-04-22T22:43:00.000+03:00</published><updated>2006-05-23T21:39:31.210+03:00</updated><title type="text">Excel FORECAST function – predicting a future value by using existing values</title><content type="html">&lt;span style="font-family:arial;"&gt;The very first post in this blog was about &lt;/span&gt;&lt;a href="http://jldexcel.blogspot.com/2006/01/how-to-find-where-two-curves-cross.html"&gt;&lt;span style="font-family:arial;"&gt;how to find where two curves cross in a graph&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;. There I proposed to use the Excel's trendline feature and the &lt;/span&gt;&lt;a href="http://jldexcel.blogspot.com/2006/03/using-solver-in-excel.html"&gt;&lt;span style="font-family:arial;"&gt;SOLVER&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt; add-in.&lt;br /&gt;&lt;br /&gt;If your task is to predict a future value by using existing values, then you can use the FORECAST function.&lt;br /&gt;&lt;br /&gt;Description in the online Help is:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;em&gt;FORECAST: Calculates, or predicts, a future value by using existing values. The predicted value is a y-value for a given x-value. The known values are existing x-values and y-values, and the new value is predicted by using linear regression. You can use this function to predict future sales, inventory requirements, or consumer trends.&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;Suppose a table where you list quantities sold according to price level&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/forecasteng01.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;To &lt;/span&gt;&lt;a href="http://www.filelodge.com/files/room13/327240/EngFiles/forecasteng.xls"&gt;&lt;span style="font-family:arial;"&gt;predict the number of sold units using FORECAST&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt; (click the link to download the workbook with the example) when price is 8, we use this formula:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#990000;"&gt;=FORECAST(A11,B4:B10,A4:A10)&lt;/span&gt;&lt;/strong&gt;, where cell A11 holds the data point for which you want to predict a value&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/forecasteng02.0.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;You can use also the Trendline feature. Create a XY graph, then point to the curve and right click to open the Add Trendline menu. In the Type tab, choose Linear, and in the Options tab check "display equation on chart".&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/320/forecasteng03.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Excel will display the equation in the graph&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/forecasteng04.0.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Now you can calculate the predicted value with a simple worksheet formula, &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;=-417.86*B16+10771 &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;where B16 (see the example in the worksheet) holds the data point for which you want to predict a value.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Categories: &lt;span class="category"&gt;Functions&amp;amp;Formulas_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;p&gt;&lt;small&gt;&lt;span style="font-family:arial;"&gt;Technorati Tags: &lt;/span&gt;&lt;a href="http://technorati.com/tag/FORECAST" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;FORECAST&lt;/span&gt;&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;If you enjoyed this post &lt;/span&gt;&lt;a title="Excel's FORECAST function – predicting a future value by using existing values" href="http://del.icio.us/post?url=http://jldexcel.blogspot.com/2006/04/excels-forecast-function-predicting.html"&gt;&lt;span style="font-family:arial;"&gt;add to del.icio.us&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114573612520881871?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_8K5Wf6ZXKKv30kVZLIX91o-X2g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_8K5Wf6ZXKKv30kVZLIX91o-X2g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_8K5Wf6ZXKKv30kVZLIX91o-X2g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_8K5Wf6ZXKKv30kVZLIX91o-X2g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=No4yEAad"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=UCTz6lk8"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/04/excel-forecast-function-predicting.html" title="Excel FORECAST function – predicting a future value by using existing values" /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114573612520881871/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114573612520881871&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114573612520881871" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114573612520881871" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/04/excel-forecast-function-predicting.html" title="Excel FORECAST function – predicting a future value by using existing values" /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114564551401500477</id><published>2006-04-21T21:31:00.000+03:00</published><updated>2006-05-02T15:12:02.956+03:00</updated><title type="text">Array formulas and array constants in MS Excel</title><content type="html">&lt;span style="font-family:arial;"&gt;I've already discussed the concept of array formulas in a post where I showed how to &lt;/span&gt;&lt;a href="http://jldexcel.blogspot.com/2006/01/calculating-weighted-average-with.html"&gt;&lt;span style="font-family:arial;"&gt;calculate a weighted average with Excel's array formulas&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;.&lt;br /&gt;In this post I will discuss briefly two other aspects: "multi-cell" array functions and array constants.&lt;br /&gt;Like with any other formula, the array formula I discussed in that previous post will retrieve the result in the cell you entered the formula. But with Excel, you can create "multi-cell" formulas. I'll show this with an example (you can download the workbook with the &lt;/span&gt;&lt;a href="http://www.filelodge.com/files/room13/327240/EngFiles/arr_form_02.xls"&gt;&lt;span style="font-family:arial;"&gt;multi-cell array formulas and array constants&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt; pressing the link).&lt;br /&gt;In the previous &lt;/span&gt;&lt;a href="http://jldexcel.blogspot.com/2006/01/calculating-weighted-average-with.html"&gt;&lt;span style="font-family:arial;"&gt;post&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt; we calculated the weighted average for the age of the members in this list&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/arrayfor01.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;with a "single-cell" array formula {=SUM(A6:A16*B6:B16)/SUM(B6:B16)}&lt;br /&gt;&lt;br /&gt;With the multi-cell technique we will proceed this way:&lt;br /&gt;&lt;br /&gt;1 – Select the C6:C16 range&lt;br /&gt;2 – Enter the =A6:A16*B6:B16 formula in cell C6 as an array formula (pressing Ctrl+Shift+Enter). Excel will place brackets around the formula,&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/arrayfor02.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;As you can see, the formula is the same in all the cells in the range. Remember that arrays must be the same size and direction (you can use &lt;/span&gt;&lt;a href="http://jldexcel.blogspot.com/2006/04/using-ms-excel-sumproduct-function.html"&gt;&lt;span style="font-family:arial;"&gt;TRANSPOSE&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt; when you have a mix of horizontal and vertical arrays).&lt;br /&gt;Because Excel prevents you from deleting or changing individual cells in a multi-cell array, you can use this technique to protect you formulas from accidental overwriting.&lt;br /&gt;&lt;br /&gt;More interesting, in my opinion, is the array constant feature in Excel. So far we saw examples where the arrays were stored in worksheets' cells. But arrays don't have to be stored in cells. For example, we can create these arrays: {1,2,3} and {4,5,6} and then use them in this (regular) formula =SUM({1,2,3}*{4,5,6}). This is equivalent to =SUM(1*4+2*5+3*6)&lt;br /&gt;&lt;br /&gt;Arrays can be one-dimensional or two-dimensional. One dimensional arrays can be horizontal oriented or vertical oriented. Use commas (",") to generate horizontal arrays, and semicolons (";") for vertical arrays (please, refer to the &lt;a href="http://www.filelodge.com/files/room13/327240/EngFiles/arr_form_02.xls"&gt;example workbook&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;The best way to work with array constants is using &lt;/span&gt;&lt;a href="http://jldexcel.blogspot.com/2006/02/using-names-with-ms-excel.html"&gt;&lt;span style="font-family:arial;"&gt;names&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;. For example, in the workbook example we defined the name "week" as ={"Mon","Tue","Wed","Thu","Fri","Sat","Sun"}&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/arrayfor03.jpg" border="0" /&gt;&lt;br /&gt;Then we used the array in this formula =INDEX(weekdays,2) which retrieves "Tue".&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Categories: &lt;span class="category"&gt;Array Formulas_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;small&gt;&lt;span style="font-family:arial;"&gt;Technorati Tags: &lt;/span&gt;&lt;a href="http://technorati.com/tag/Array+Formulas" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;Array Formulas&lt;/span&gt;&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;If you enjoyed this post &lt;/span&gt;&lt;a title="Array" href="http://del.icio.us/post?url=http://jldexcel.blogspot.com/2006/04/array-formulas-and-array-constants-in.html"&gt;&lt;span style="font-family:arial;"&gt;add to del.icio.us&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114564551401500477?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/8fsgquWuCiedIrTEQKxJdU44TdM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8fsgquWuCiedIrTEQKxJdU44TdM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/8fsgquWuCiedIrTEQKxJdU44TdM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8fsgquWuCiedIrTEQKxJdU44TdM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=icxi7myK"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=nCplijDo"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/04/array-formulas-and-array-constants-in.html" title="Array formulas and array constants in MS Excel" /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114564551401500477/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114564551401500477&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114564551401500477" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114564551401500477" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/04/array-formulas-and-array-constants-in.html" title="Array formulas and array constants in MS Excel" /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114530292830756776</id><published>2006-04-17T22:28:00.000+03:00</published><updated>2006-08-01T06:40:11.716+03:00</updated><title type="text">Using MS Excel SUMPRODUCT function with column and row mixed ranges</title><content type="html">&lt;span style="font-family:arial;"&gt;I've already discussed in previous posts how to &lt;/span&gt;&lt;a href="http://jldexcel.blogspot.com/2006/01/calculating-weighted-average-with_24.html"&gt;&lt;span style="font-family:arial;"&gt;calculate a weighted average using SUMPRODUCT&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;, &lt;/span&gt;&lt;a href="http://jldexcel.blogspot.com/2006/02/summing-and-counting-with-excels.html"&gt;&lt;span style="font-family:arial;"&gt;summing and counting with SUMPRODUCT&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt; and how to &lt;/span&gt;&lt;a href="http://jldexcel.blogspot.com/2006/02/countif-and-sumif-with-more-than-one.html"&gt;&lt;span style="font-family:arial;"&gt;perform conditional summing and counting with more than one criterion with SUMPRODUCT&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;In all these post we assumed that we meet two mandatory conditions:&lt;br /&gt;1 – Ranges being evaluated are identical in size;&lt;br /&gt;2 – The ranges are of the same kind: rows or columns.&lt;br /&gt;&lt;br /&gt;The Excel SUMPRODUCT function will not accept a mix of rows and columns in the same function. If you have a situation like this, the way to overcome the problem is to use the TRANSPOSE array function.&lt;br /&gt;&lt;br /&gt;Generally we have a situation like this (you can download the &lt;/span&gt;&lt;a href="http://www.filelodge.com/files/room13/327240/EngFiles/Sumproduct-Transpose%20Eng01.xls"&gt;&lt;span style="font-family:arial;"&gt;SUMPRODUCT-TRANSPOSE example&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt; pressing the link):&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/sumprodeng01.0.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;The formula in cell F8 is =SUMPRODUCT(B4:B13,C4:C13). As you can see both ranges are columnar.&lt;br /&gt;&lt;br /&gt;But suppose that the price list is set in a row range, as shown in the range A17:K17 in the example&lt;br /&gt;&lt;br /&gt;As said, we'll use the TRANSPOSE function to convert the A17:K17 range in columnar range. TRANSPOSE definition in Excel's help:&lt;br /&gt;&lt;br /&gt;Returns a vertical range of cells as a horizontal range, or vice versa. TRANSPOSE must be entered as an array formula in a range that has the same number of rows and columns, respectively, as an array has columns and rows. Use TRANSPOSE to shift the vertical and horizontal orientation of an array on a worksheet.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Because TRANSPOSE is an array formula, we will have to enter the SUMPROUCT function as an array formula too (pressing Ctrl+Shift+Enter)&lt;br /&gt;The formula in cell D20 is ={SUMPRODUCT(B4:B13,TRANSPOSE(B17:K17))}&lt;br /&gt;The "{" in the beginning and the "}" at the end of the formula are added automatically by Excel when pressing Ctrl+Shift+Enter.&lt;br /&gt;&lt;br /&gt;We can use, alternatively, the SUM function as an array formula, as in cell D21 in the example: ={SUM((B4:B13)*TRANSPOSE(B17:K17))}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Categories: &lt;span class="category"&gt;Functions&amp;amp;Formulas_, Array Formulas_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;small&gt;&lt;span style="font-family:arial;"&gt;Technorati Tags: &lt;/span&gt;&lt;a href="http://technorati.com/tag/SUMPRODUCT" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;SUMPRODUCT&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;, &lt;/span&gt;&lt;a href="http://technorati.com/tag/TRANSPOSE" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;TRANSPOSE&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;, &lt;/span&gt;&lt;a href="http://technorati.com/tag/Array+Formulas" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;Array Formulas&lt;/span&gt;&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;If you enjoyed this post &lt;/span&gt;&lt;a title="Using MS Excel SUMPRODUCT function with column and row mixed ranges" href="http://del.icio.us/post?url=http://jldexcel.blogspot.com/2006/04/using-ms-excel-sumproduct-function.html"&gt;&lt;span style="font-family:arial;"&gt;add to del.icio.us&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114530292830756776?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/rSwk7S9o7Hb-4FL69kOjExdzGtc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rSwk7S9o7Hb-4FL69kOjExdzGtc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/rSwk7S9o7Hb-4FL69kOjExdzGtc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rSwk7S9o7Hb-4FL69kOjExdzGtc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=M5j3FywQ"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=EYyZRkSZ"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/04/using-ms-excel-sumproduct-function.html" title="Using MS Excel SUMPRODUCT function with column and row mixed ranges" /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114530292830756776/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114530292830756776&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114530292830756776" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114530292830756776" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/04/using-ms-excel-sumproduct-function.html" title="Using MS Excel SUMPRODUCT function with column and row mixed ranges" /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114495801674338799</id><published>2006-04-13T22:42:00.000+03:00</published><updated>2006-04-13T22:57:08.723+03:00</updated><title type="text">Create an Histogram with Excel Data Analysis Add In</title><content type="html">&lt;span style="font-family:arial;"&gt;Suppose you have a list of names of and their age.&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/histeng01.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;You want to group the members in the list according to some intervals and to count how many members are in each interval.&lt;br /&gt;You can do this with formulas. But you can take advantage of the Histogram add-in the Analysis Tool Pack.&lt;br /&gt;In order to use the Histogram you have to install the Analysis Tool Pack. To do this activate the Tools---&gt;Add Ins, and check the Analysis Tool Pack&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/histeng02.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Once you activate the Analysis Tool Pack, the Data Analysis menu will be added to the Tools menu.&lt;br /&gt;Let's see how to &lt;a href="http://www.filelodge.com/files/room13/327240/EngFiles/HistogramEng01.xls"&gt;create an Histogram with Excel Data Analysis&lt;/a&gt; (click the link to download the workbook with the example).&lt;br /&gt;First we have to create a "bin range", a range containing the values for the intervals&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/histeng03.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Then we open the Data Analysis menu and choose Histogram&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/histeng04.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;In the dialog box enter the data range, the bin range and the output definitions&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/histeng05.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Press OK and you get the frequency table almost instantly&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/histeng06.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Categories: &lt;span class="category"&gt;Data Managemet_, Miscellaneous_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;small&gt;&lt;span style="font-family:arial;"&gt;Technorati Tags: &lt;/span&gt;&lt;a href="http://technorati.com/tag/Histogram" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;Histogram&lt;/span&gt;&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;If you enjoyed this post &lt;/span&gt;&lt;a title="Create an Histogram with Excel Data Analysis Add In" href="http://del.icio.us/post?url=http://jldexcel.blogspot.com/2006/04/create-histogram-with-excel-data.html"&gt;&lt;span style="font-family:arial;"&gt;add to del.icio.us&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114495801674338799?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/eRTOzq9XDnblzIjOiRFg3aUovE4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eRTOzq9XDnblzIjOiRFg3aUovE4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/eRTOzq9XDnblzIjOiRFg3aUovE4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eRTOzq9XDnblzIjOiRFg3aUovE4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=U1yYD7ut"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=HeknwtYq"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/04/create-histogram-with-excel-data.html" title="Create an Histogram with Excel Data Analysis Add In" /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114495801674338799/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114495801674338799&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114495801674338799" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114495801674338799" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/04/create-histogram-with-excel-data.html" title="Create an Histogram with Excel Data Analysis Add In" /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114478393091092908</id><published>2006-04-11T22:10:00.000+03:00</published><updated>2006-04-29T16:21:10.540+03:00</updated><title type="text">Placing controls into Excel worksheets – Part II</title><content type="html">&lt;span style="font-family:arial;"&gt;In the previous &lt;/span&gt;&lt;a href="http://jldexcel.blogspot.com/2006/03/placing-controls-into-excel-worksheets.html"&gt;&lt;span style="font-family:arial;"&gt;Placing controls into Excel worksheets&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt; post, I discussed the use of controls in Excel worksheets. You don't need to know Vba (or use macros) in order to take advantage of the controls' functionality in a worksheet.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Controls give to your worksheets a more "professional" look, but most important, give you the power to control the data input.&lt;br /&gt;In general, you link control to a cell in the worksheet. Some controls will retrieve a value in the linked cell, like TRUE or FALSE, 0 or 1, or a value from a list of values.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;When you want to place a control into a worksheet follow these steps:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;1 – Open the Forms toolbar&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;2 – Activate the control and drag it into the desired location&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;3 – Activate the control (right click) and open the Format Control menu (Ctrl+1 or from the menu Format---&gt;Control)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;In the "Control" tab of the Format---&gt;Control menu you set the control's definitions.&lt;br /&gt;In this post I'll show the use of the "spinner" and the "scroll bar" controls. You can download the workbook with the &lt;a href="http://www.filelodge.com/files/room13/327240/EngFiles/controleng02.xls"&gt;spinner and scroll bar example&lt;/a&gt; here.&lt;br /&gt;The example is a simple model to calculate the monthly payment for a loan given the interest rate, the number or periods (term) and the amount of the loan. We use the spinner to control the number of periods and the scroll bar to control the amount of the loan.&lt;br /&gt;&lt;br /&gt;The definitions of the spinner are easy to understand&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;p&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/controleng0201.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Pay attention to the fact that the linked cell is an argument of the formula that calculates the payment.&lt;br /&gt;&lt;br /&gt;The same is valid for the scroll bar&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/controleng0202.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;As you can see both linked cells are arguments in the =PMT function in cell C13 of the model&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/controleng0203.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Categories: &lt;span class="category"&gt;Functions&amp;amp;Formulas_, Miscellaneous_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;&lt;span style="font-family:arial;"&gt;Technorati Tags: &lt;/span&gt;&lt;a href="http://technorati.com/tag/Excel+woorksheet+Controls" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;Excel worksheet controls&lt;/span&gt;&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;If you enjoyed this post &lt;/span&gt;&lt;a title="Placing controls into Excel worksheets – Part II" href="http://del.icio.us/post?url=copiar"&gt;&lt;span style="font-family:arial;"&gt;add to del.icio.us&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114478393091092908?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/fyOnO4KVfsQEhUjkxfDWhL07Fi4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fyOnO4KVfsQEhUjkxfDWhL07Fi4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/fyOnO4KVfsQEhUjkxfDWhL07Fi4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fyOnO4KVfsQEhUjkxfDWhL07Fi4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=dDxHONIA"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=U7OTPzpU"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/04/placing-controls-into-excel-worksheets.html" title="Placing controls into Excel worksheets – Part II" /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114478393091092908/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114478393091092908&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114478393091092908" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114478393091092908" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/04/placing-controls-into-excel-worksheets.html" title="Placing controls into Excel worksheets – Part II" /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114427037566896641</id><published>2006-04-05T23:04:00.000+03:00</published><updated>2006-04-05T23:55:01.043+03:00</updated><title type="text">Excel RANK function – Two values with the same rank.</title><content type="html">In &lt;a href="http://jldexcel.blogspot.com/2006/03/ranking-values-in-list-with-excel.html"&gt;this post&lt;/a&gt; I discussed the use of some "ranking" Excel functions like SMALL, LARGE and RANK.&lt;br /&gt;When you use RANK you evaluate the rank of a number in a list of numbers. The rank of a number is its size relative to other values in a list.&lt;br /&gt;But, what happens when two numbers in the list are equal. In that case Excel will assign them the same rank.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/rank2eng01.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;As you can see, the rank for B5 and B6 is the same, 14, and there is no 15th rank.&lt;br /&gt;If you want to have a rank of 14 for the first appearance of the value and a rank of 15 for the second, enter this formula in cell D4 and copy-paste to the rest of the range:&lt;br /&gt;&lt;br /&gt;=RANK(B4,sales)+COUNTIF($C$4:C4,C4)-1&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/rank2eng02.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;The COUNTIF function evaluates how many times the rank in the current row appears. If it appears only once, COUNTIF($C$X:CY,CY)-1 will retrieve 0, and the result for the RANK function will not change. If the rank value appears twice, COUNTIF will add a value of 1 to the value of the RANK function.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;You can download the workbook with the example &lt;a href="http://www.filelodge.com/files/room13/327240/EngFiles/rank2eng.xls"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Categories: &lt;span class="category"&gt;Functions&amp;amp;Formulas_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;Technorati Tags: &lt;a href="http://technorati.com/tag/RANK" rel="tag"&gt;RANK&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;If you enjoyed this post &lt;a title="Excel RANK function – Two values with the same rank" href="http://del.icio.us/post?url=http://jldexcel.blogspot.com/2006/04/excel-rank-function-two-values-with.html"&gt;add to del.icio.us&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114427037566896641?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vwwHdfaAHTLGqJ-rez1EBY9lCQA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vwwHdfaAHTLGqJ-rez1EBY9lCQA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/vwwHdfaAHTLGqJ-rez1EBY9lCQA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vwwHdfaAHTLGqJ-rez1EBY9lCQA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=UmF6EKda"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=P4Ar8GJR"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/04/excel-rank-function-two-values-with.html" title="Excel RANK function – Two values with the same rank." /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114427037566896641/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114427037566896641&amp;isPopup=true" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114427037566896641" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114427037566896641" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/04/excel-rank-function-two-values-with.html" title="Excel RANK function – Two values with the same rank." /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114390050092662028</id><published>2006-04-01T16:23:00.000+03:00</published><updated>2006-04-02T15:06:26.583+03:00</updated><title type="text">Consolidating Data with Pivot Tables</title><content type="html">&lt;span style="font-family:arial;"&gt;We have already saw different ways to consolidate data:&lt;br /&gt;1 – &lt;/span&gt;&lt;a href="http://jldexcel.blogspot.com/2006/01/consolidating-data-in-excel.html"&gt;&lt;span style="font-family:arial;"&gt;Consolidating Data with Excel&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;2 – &lt;/span&gt;&lt;a href="http://jldexcel.blogspot.com/2006/02/data-consolidation-with-subtotals.html"&gt;&lt;span style="font-family:arial;"&gt;Data consolidation with Subtotals&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;br /&gt;You can also consolidate data from different worksheets using the pivot table feature.&lt;br /&gt;Suppose you have a certain number of sales agents reporting sales by products and months. You have one worksheet for every sales agent (you can &lt;/span&gt;&lt;a href="http://www.filelodge.com/files/room13/327240/SpFiles/conspiveng01.xls"&gt;&lt;span style="font-family:arial;"&gt;download the workbook here&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;).&lt;br /&gt;Your task is to consolidate the different reports in one report. I'll show you how to do the consolidation with an example.&lt;br /&gt;In our workbook we have two sheets (one for each agent) and another sheet ("cons") where we will consolidate the data.&lt;br /&gt;The steps to follow are:&lt;br /&gt;&lt;span class="fullpost"&gt;1 – Open the Pivot Table menu. In step1 check "multiple consolidation ranges"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/conspiveng01.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;2 – In step 2 you have to set the page field. In our example we will check "create single page field".&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/conspiveng02.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;3 – In step 3 you have to tell Excel where the data ranges are. Enter the ranges in the "Range" window of the dialog and press add (once for each sheet)&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/conspiveng03.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;4 – In this step you instruct Excel where to place the pivot table report&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/conspiveng04.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Hit "Finish" and you'll get the consolidated report&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/conspiveng05.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;You can use the Page control in order to see data from each agent (they will appear as Item1 and Item2) or consolidated data (All).&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Because the columns headers are formatted as dates we can use the pivot table functionality to consolidate the data by quarters.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;How? Follow these steps:&lt;br /&gt;1 – Right click the "Column" field (or one of the column's headers), click "Group and Show Detail" ---&gt; "Group"&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:arial;"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/conspiveng06.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;2 – Uncheck the "Months" option (click once) and check "Quarters"&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/conspiveng07.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Excel will consolidate the data by quarters automatically.&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/conspiveng08.jpg" border="0" /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Categories: &lt;span class="category"&gt;Functions&amp;amp;Formulas_, Data Management_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;small&gt;Technorati Tags: &lt;a href="http://technorati.com/tag/Data+Consolidation" rel="tag"&gt;Data Consolidation&lt;/a&gt;, &lt;a href="http://technorati.com/tag/Pivot" rel="tag"&gt;Pivot Table&lt;/a&gt;&lt;/small&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;If you enjoyed this post &lt;/span&gt;&lt;a title="Consolidating Data with Pivot Tables" href="http://del.icio.us/post?url=http://jldexcel.blogspot.com/2006/04/consolidating-data-with-pivot-tables.html"&gt;&lt;span style="font-family:arial;"&gt;add to del.icio.us&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114390050092662028?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_7ZLYTqe2f3fyf7uVIy_IT4xpgs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_7ZLYTqe2f3fyf7uVIy_IT4xpgs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_7ZLYTqe2f3fyf7uVIy_IT4xpgs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_7ZLYTqe2f3fyf7uVIy_IT4xpgs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=t4h38Zmh"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=DeAG8tSp"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/04/consolidating-data-with-pivot-tables.html" title="Consolidating Data with Pivot Tables" /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114390050092662028/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114390050092662028&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114390050092662028" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114390050092662028" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/04/consolidating-data-with-pivot-tables.html" title="Consolidating Data with Pivot Tables" /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114380561524892772</id><published>2006-03-31T14:34:00.000+03:00</published><updated>2006-03-31T21:11:48.650+03:00</updated><title type="text">Ranking values in a List with Excel Functions – SMALL, LARGE, MIN, MAX and RANK.</title><content type="html">&lt;span style="font-family:arial;"&gt;&lt;em&gt;Para leer esta entrada en español, &lt;a href="http://jldexcelsp.blogspot.com/2006/03/graduar-valores-de-una-lista-con.html"&gt;apretar aquí&lt;/a&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Suppose a table like this in a worksheet (to download the worksheet with the examples press &lt;/span&gt;&lt;a href="http://www.filelodge.com/files/room13/327240/EngFiles/rank_nums.xls"&gt;&lt;span style="font-family:arial;"&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/rankeng01.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Now suppose you want to find the largest value, or the smallest, or the 2nd largest (or smallest) or to rank a number (to find its place relative to the other values in the list).&lt;br /&gt;To perform these tasks you can use these functions:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#660000;"&gt;MIN&lt;/span&gt;&lt;/strong&gt;: Returns the smallest number in a set of values&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#666600;"&gt;MAX&lt;/span&gt;&lt;/strong&gt;: Returns the largest value in a set of values&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#006600;"&gt;SMALL&lt;/span&gt;&lt;/strong&gt;: Returns the k-th smallest value in a data set&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;LARGE&lt;/span&gt;&lt;/strong&gt;: Returns the k-th largest value in a data set&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#663366;"&gt;RANK&lt;/span&gt;&lt;/strong&gt;: Returns the rank of a number in a list of numbers. The rank of a number is its size relative to other values in a list.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;To investigate these functions, see the &lt;a href="http://www.filelodge.com/files/room13/327240/EngFiles/rank_nums.xls"&gt;examples in the worksheet&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;These functions are very useful specially when combined with other functions (nested functions). For example, you can combine RANK with VLOOKUP to return the position of an agent in the list according to his sales, as I did in cell E14 with the formula &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;=RANK(VLOOKUP(D14,A2:B20,2,0),Sales)&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/rankeng02.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;As usual, I use &lt;a href="http://jldexcel.blogspot.com/2006/02/using-names-with-ms-excel.html"&gt;named ranges&lt;/a&gt; in my formulas. You can find the list of the names in the &lt;a href="http://www.filelodge.com/files/room13/327240/EngFiles/rank_nums.xls"&gt;&lt;span style="font-family:arial;"&gt;worksheet&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;. In cells E14 and E17 I'm using &lt;a href="http://jldexcel.blogspot.com/2006/02/using-names-in-ms-excel-data.html"&gt;Data Validation&lt;/a&gt; to generate an drop list with the names of the agents or ranking places in the list.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Categories: &lt;span class="category"&gt;Functions&amp;amp;Formulas_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;small&gt;&lt;span style="font-family:arial;"&gt;Technorati Tags: &lt;/span&gt;&lt;a href="http://technorati.com/tag/MIN" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;MIN&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;, &lt;/span&gt;&lt;a href="http://technorati.com/tag/MAX" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;MAX&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;, &lt;/span&gt;&lt;a href="http://technorati.com/tag/SMALL" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;SMALL&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;, &lt;/span&gt;&lt;a href="http://technorati.com/tag/LARGE" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;LARGE&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;, &lt;/span&gt;&lt;a href="http://technorati.com/tag/RANK" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;RANK&lt;/span&gt;&lt;/a&gt;&lt;/small&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;If you enjoyed this post &lt;/span&gt;&lt;a title="Ranking values in a List with Excel Functions – SMALL, LARGE, MIN, MAX and RANK." href="http://del.icio.us/post?url=http://jldexcel.blogspot.com/2006/03/ranking-values-in-list-with-excel.html"&gt;&lt;span style="font-family:arial;"&gt;add to del.icio.us&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114380561524892772?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vttbSC3yVIr1aPyK0TqsfXrWRDc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vttbSC3yVIr1aPyK0TqsfXrWRDc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/vttbSC3yVIr1aPyK0TqsfXrWRDc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vttbSC3yVIr1aPyK0TqsfXrWRDc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=pSMpd7Hi"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=OlpuQg9I"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/03/ranking-values-in-list-with-excel.html" title="Ranking values in a List with Excel Functions – SMALL, LARGE, MIN, MAX and RANK." /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114380561524892772/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114380561524892772&amp;isPopup=true" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114380561524892772" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114380561524892772" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/03/ranking-values-in-list-with-excel.html" title="Ranking values in a List with Excel Functions – SMALL, LARGE, MIN, MAX and RANK." /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114357339645433035</id><published>2006-03-28T20:56:00.000+02:00</published><updated>2006-09-18T04:37:44.203+03:00</updated><title type="text">Placing Controls into Excel Worksheets.</title><content type="html">&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;em&gt;Para leer esta nota en español, &lt;a href="http://jldexcelsp.blogspot.com/2006/03/excel-agregando-controles-en-hojas-de.html"&gt;apretar aquí&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;You can find two types of controls in Excel which can be used directly in a worksheet. You don't have to write any Vba code to take advantage of these controls. I'll show how, using an example.&lt;br /&gt;&lt;br /&gt;Controls are user interface objects such as text box and check boxes that let you control actions.&lt;br /&gt;There are two types of controls in Excel: ActiveX controls and Forms Toolbar Controls&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/320/controleng01.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;In this post I'll show with an example how to use controls from the Forms Toolbar. You can &lt;/span&gt;&lt;a href="http://www.filelodge.com/files/room13/327240/controleng01.xls"&gt;&lt;span style="font-family:arial;"&gt;download the workbook with the example here&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;.&lt;br /&gt;&lt;br /&gt;Suppose a business running a Shopping Club. Members are rewarded with a discount and every customer can have an additional discount according to the pay terms he chooses.&lt;br /&gt;&lt;br /&gt;In order to build the form I used named ranges, data validation and, of course, control from the Forms Toolbar: one checkbox and three option buttons. The calculation form is placed in Sheet1 and a price list in Sheet2. Our form, before we enter any data, looks like this:&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/320/controleng02.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Steps to place the controls in the worksheet are:&lt;br /&gt;1 – Activate the Forms Toolbar and choose the required control (in our case the check box). Place the control in the desired location &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/controleng06.jpg" border="0" /&gt;&lt;br /&gt;2 – Open the Control Format menu. Here you can change the look of he control&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:arial;"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/320/controleng03.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;3 – In the "Control" tab you will link the control to some cell in the worksheet. In our case we link the check box to cell A3.&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/320/controleng04.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;When you check the control, value in the cell link is set automatically to TRUE. When the control is unchecked the value in the link cell will be FALSE.&lt;br /&gt;&lt;br /&gt;4 – Do the same with the option buttons. Link all the option buttons to the same cell (A7 in our case). Doing so the link cell value will tell us which option button is checked. If the first option button is checked ("Cash") the value in cell A7 will be "1". If "Up to 30 days" was chosen, value in cell A7 will be "2".&lt;br /&gt;&lt;br /&gt;Link cells will be arguments in the formulas that control the discount calculation:&lt;br /&gt;&lt;br /&gt;- formula in cell C23 is =&lt;strong&gt;IF(&lt;span style="color:#cc0000;"&gt;A3&lt;/span&gt;=TRUE,D22*10%,0)&lt;/strong&gt;&lt;br /&gt;- formula in cell C24 is =&lt;strong&gt;D22*CHOOSE(&lt;span style="color:#009900;"&gt;A7&lt;/span&gt;,10%,5%,0)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;As you can see controls are "controlling" the results in our model.&lt;br /&gt;&lt;br /&gt;We use &lt;/span&gt;&lt;a href="http://jldexcel.blogspot.com/2006/02/using-names-in-ms-excel-data.html"&gt;&lt;span style="font-family:arial;"&gt;Data Validation&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt; with the option "List" in range A16:A21. We have defined two &lt;/span&gt;&lt;a href="http://jldexcel.blogspot.com/2006/02/using-names-with-ms-excel.html"&gt;&lt;span style="font-family:arial;"&gt;named ranges&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;: Price_List that we use in the VLOOKUP functions in range C16:C21, and Product for the List argument of Data Validation.&lt;br /&gt;&lt;br /&gt;To avoid error values (#N/A, #DIV/0!, etc) when input cells are blank, we use the ISBLANK function nested in the formulas.&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;After we enter data, the form will look like this&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/400/controleng05.jpg" border="0" /&gt;&lt;br /&gt;You can check this post about &lt;a href="http://jldexcel.blogspot.com/2006/04/placing-controls-into-excel-worksheets.html"&gt;using the spinner and the scroll bar controls in Excel worksheets&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt; &lt;/p&gt;&lt;p&gt;&lt;br /&gt;Categories: &lt;span class="category"&gt;Functions&amp;amp;Formulas_, LOOKUPS_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;p&gt;&lt;small&gt;&lt;span style="font-family:arial;"&gt;Technorati Tags: &lt;/span&gt;&lt;a href="http://technorati.com/tag/Excel+Controls" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;Excel Controls&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;, &lt;/span&gt;&lt;a href="http://technorati.com/tag/VLOOKUP" rel="tag"&gt;&lt;span style="font-family:arial;"&gt;VLOOKUP&lt;/span&gt;&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;If you enjoyed this post &lt;/span&gt;&lt;a title="Placing Controls into Excel Worksheets." href="http://del.icio.us/post?url=copiar"&gt;&lt;span style="font-family:arial;"&gt;add to del.icio.us&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114357339645433035?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ctH_CSfzNwauKaePyUEWQ5SQLms/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ctH_CSfzNwauKaePyUEWQ5SQLms/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ctH_CSfzNwauKaePyUEWQ5SQLms/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ctH_CSfzNwauKaePyUEWQ5SQLms/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=14WISZlF"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=4R8WgtFa"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/03/placing-controls-into-excel-worksheets.html" title="Placing Controls into Excel Worksheets." /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114357339645433035/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114357339645433035&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114357339645433035" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114357339645433035" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/03/placing-controls-into-excel-worksheets.html" title="Placing Controls into Excel Worksheets." /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20399579.post-114331297185144375</id><published>2006-03-25T20:47:00.000+02:00</published><updated>2006-03-31T23:50:55.396+03:00</updated><title type="text">Excel can't open .xls files with macros</title><content type="html">After reinstalling Office (or Excel) for some reason (upgrade for example), when you try to open a file that contains a macro chances are that you will see a dialog like this&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/320/nomacroeng01.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;By default, Excel's security definition is&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/320/nomacroeng03.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;To change this definition, just activate the Tools--&gt;Macro--&gt;Security menu&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/320/nomacroeng02.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;And turn security level to&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/3857/831/320/nomacroeng04.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Medium or Low.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Categories: &lt;span class="category"&gt;Miscellaneous_&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;small&gt;Technorati Tags: &lt;a href="http://technorati.com/tag/Macros" rel="tag"&gt;Macros&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;If you enjoyed this post &lt;a title="Excel can't open .xls files with macros" href="http://del.icio.us/post?url=copiar"&gt;add to del.icio.us&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20399579-114331297185144375?l=jldexcel.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zEzeT2-GiWgLVm1X3zIRRzaliNY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zEzeT2-GiWgLVm1X3zIRRzaliNY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zEzeT2-GiWgLVm1X3zIRRzaliNY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zEzeT2-GiWgLVm1X3zIRRzaliNY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=RR31qtAX"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/blogspot/tYHK?a=gTTuInyz"&gt;&lt;img src="http://feeds.feedburner.com/~f/blogspot/tYHK?d=50" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel="related" href="http://jldexcel.blogspot.com/2006/03/excel-cant-open-xls-files-with-macros.html" title="Excel can't open .xls files with macros" /><link rel="replies" type="application/atom+xml" href="http://jldexcel.blogspot.com/feeds/114331297185144375/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=20399579&amp;postID=114331297185144375&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114331297185144375" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/20399579/posts/default/114331297185144375" /><link rel="alternate" type="text/html" href="http://jldexcel.blogspot.com/2006/03/excel-cant-open-xls-files-with-macros.html" title="Excel can't open .xls files with macros" /><author><name>Jorge L. Dunkelman</name><uri>http://www.blogger.com/profile/08258855369477187969</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="OpenSocialUserId" value="04242829226717931744" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry></feed>
