<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/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:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1111290708476904315</id><updated>2012-01-27T21:39:51.470Z</updated><category term='Excel 2010'/><category term='SUMPRODUCT'/><category term='RANDBETWEEN'/><category term='FIND'/><category term='LARGE. MATCH'/><category term='Shared'/><category term='Watch Window'/><category term='SUMIF'/><category term='INDEX'/><category term='IF'/><category term='PowerPivot'/><category term='Comments'/><category term='RATE'/><category term='INDIRECT'/><category term='FV'/><category term='MATCH'/><category term='LEN'/><category term='LEFT'/><category term='DATEVALUE'/><category term='PMT'/><category term='Excel Charts'/><category term='MOD'/><category term='PV'/><category term='RIGHT'/><category term='ERROR.TYPE'/><category term='Paste Special'/><category term='REPT'/><category term='Certifications'/><category term='Shortcut keys'/><category term='ISERR'/><category term='SUBTOTAL'/><category term='Duplicates'/><category term='Excel 2007'/><category term='ISNA'/><category term='PDF'/><category term='NETWORKDAYS'/><category term='Add-in'/><category term='Validation List'/><category term='SUMIFS'/><category term='CHOOSE'/><category term='Named Ranges'/><category term='COUNTIF'/><category term='VBA'/><category term='SUBSTITUTE'/><category term='CHAR'/><category term='ROW'/><category term='VLOOKUP'/><category term='Table'/><category term='DATEDIF'/><category term='Conditional Formatting'/><category term='Gridlines'/><category term='Pictures'/><category term='Tools'/><category term='IFERROR'/><category term='Formulas'/><category term='Menus'/><category term='Time'/><category term='Grid'/><category term='Hide content'/><category term='TRIM'/><category term='CELL'/><category term='WEEKDAY'/><category term='Books'/><title type='text'>Excel User</title><subtitle type='html'>Excel Tips, Tricks, "How To's", Tutorials and lots more...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>73</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-5809530703768610268</id><published>2012-01-24T18:49:00.001Z</published><updated>2012-01-24T18:52:04.406Z</updated><title type='text'>Custom Lists</title><content type='html'>&lt;p align="left"&gt;Excel custom lists can be used to fill out cells or to sort data in a user-defined order. Excel comes with some pre-defined custom list that can be viewed by going to the File-Options-Advanced menu. Scroll down until you find the Edit Custom Lists button.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/-w_Ee_XMrmvg/Tx788bq4uJI/AAAAAAAAAl8/SlI757UVWCk/s1600-h/CustomLists1%25255B16%25255D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="CustomLists1" border="0" alt="CustomLists1" src="http://lh5.ggpht.com/-CjOu1uI18S8/Tx789DZGanI/AAAAAAAAAmA/74bS17D3J0Q/CustomLists1_thumb%25255B14%25255D.jpg?imgmax=800" width="589" height="381" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p align="justify"&gt;When you click the button, a new dialog window will open where you can see the pre-defined custom lists:&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/-h0U-2sf7MUQ/Tx78-J8i-YI/AAAAAAAAAkM/ObKvJQVkJiY/s1600-h/CustomLists2%25255B3%25255D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="CustomLists2" border="0" alt="CustomLists2" src="http://lh3.ggpht.com/-Vqxok6idW8w/Tx78-4wdiwI/AAAAAAAAAkU/H-9Kv-T2ZxI/CustomLists2_thumb%25255B1%25255D.jpg?imgmax=800" width="504" height="392" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;This custom list can be anything from the months, to colors, brands, etc. To create a new custom list, just select the NEW LIST on the “Custom lists” field and start typing the entries on the “List entries” window, pressing Enter on each entry to move to the next line of the list. When you’re finished, press the Add button and your new list will be created and will appear on the “Custom lists” window, like on this example, where I’ve created a colors custom list:&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh6.ggpht.com/-JyBVWJxr8eA/Tx78_5dA94I/AAAAAAAAAkc/aHtefcFdr1E/s1600-h/CustomLists3%25255B3%25255D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="CustomLists3" border="0" alt="CustomLists3" src="http://lh6.ggpht.com/-XOf3uNmGGaE/Tx79AwBMDTI/AAAAAAAAAkk/b5RmY2Yuz94/CustomLists3_thumb%25255B1%25255D.jpg?imgmax=800" width="505" height="392" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;You can also also write on a range of cells the values that you want to use to create your custom list and use the “Import list from cells” option where you specify the range of cells that have your data, click on the Import button and your custom list will appear on the “Custom lists” window, like on this example:&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/-S3Ko2iEyfak/Tx79BwHV7VI/AAAAAAAAAmE/FO3j5BP-PmI/s1600-h/CustomLists4%25255B4%25255D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="CustomLists4" border="0" alt="CustomLists4" src="http://lh5.ggpht.com/-TlXciBdVJAA/Tx79CtqEQQI/AAAAAAAAAmI/Ul2tCwqrVQg/CustomLists4_thumb%25255B2%25255D.jpg?imgmax=800" width="589" height="477" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Now, let’s see how to use this custom lists. For example, on cell A1, type “Jan”. Then select the cell and drag to the right, by pushing the right bottom little black square that you see on the cell to see what happens.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/-YihhhwYrS80/Tx79DU54O2I/AAAAAAAAAk8/KlGYktL5yaM/s1600-h/CustomLists5%25255B3%25255D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="CustomLists5" border="0" alt="CustomLists5" src="http://lh5.ggpht.com/-YhOaSzfI3Vo/Tx79EcJxbtI/AAAAAAAAAlE/Kp5tGl4ZQ14/CustomLists5_thumb%25255B1%25255D.jpg?imgmax=800" width="352" height="110" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;/p&gt;  &lt;p align="justify"&gt;You will get something like this, depending how far did you pushed the cell to the right:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-pijo3id3dno/Tx79GlnRH1I/AAAAAAAAAlM/I9zVwIcMLyw/s1600-h/CustomLists6%25255B3%25255D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="CustomLists6" border="0" alt="CustomLists6" src="http://lh4.ggpht.com/-irNxHD-AUJQ/Tx79G-gW8BI/AAAAAAAAAlU/pO6lXViWsKI/CustomLists6_thumb%25255B1%25255D.jpg?imgmax=800" width="415" height="110" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;You can use this method to fill out cells with data from other custom lists that you have on your Excel. You don’t need to start with the first value on your custom list. For instance, instead of inserting “Jan” on cell A1, if I insert “Mar” and push the cell to the right, I would get a list of “Mar, Apr, May…”.&lt;/p&gt;  &lt;p align="justify"&gt;You can use your Custom List to sort data using the order that you defined when you created the list. For instance, I’ve this table of data:&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/-6D74fMvjIEU/Tx79HxXu2JI/AAAAAAAAAlY/wl0B6gDXaYw/s1600-h/CustomLists7%25255B3%25255D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="CustomLists7" border="0" alt="CustomLists7" src="http://lh5.ggpht.com/-wuiCX1pmMPM/Tx79JqjsL4I/AAAAAAAAAlk/uAvdpFQa8JA/CustomLists7_thumb%25255B1%25255D.jpg?imgmax=800" width="287" height="87" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;I want to sort the columns by months. I already have a Custom List build with the correct order (“Jan”, “Feb”, “Mar”…) that I can use. Just select the range A1:C2, go to the Data-Sort option on the menu bar and when the Sort dialog box opens, on Row, select “Row 1”, because we want to sort by this row, and on Order select “Custom List…”. This will open the Custom Lists dialog where you need to choose the right custom list to use.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh6.ggpht.com/-qFGH44N0_Xk/Tx79KqF11WI/AAAAAAAAAls/P_dRm-ouxEo/s1600-h/CustomLists8%25255B4%25255D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="CustomLists8" border="0" alt="CustomLists8" src="http://lh6.ggpht.com/-gmxx4RqGGfg/Tx79LmEB1hI/AAAAAAAAAl0/uOWd3kMjOgQ/CustomLists8_thumb%25255B2%25255D.jpg?imgmax=800" width="589" height="553" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Click OK on both dialog boxed and you should get you table sorted on the correct order: “Jan”, “Feb” and “Apr”.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-5809530703768610268?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/5809530703768610268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=5809530703768610268' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/5809530703768610268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/5809530703768610268'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2012/01/custom-lists.html' title='Custom Lists'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/-CjOu1uI18S8/Tx789DZGanI/AAAAAAAAAmA/74bS17D3J0Q/s72-c/CustomLists1_thumb%25255B14%25255D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-64038821764153755</id><published>2012-01-20T11:14:00.001Z</published><updated>2012-01-20T11:14:30.734Z</updated><title type='text'>Avoid Merged cells in Excel</title><content type='html'>&lt;p align="justify"&gt;This can be a surprise to you, but it’s true! You should avoid using merged cells in a Excel worksheet because it limits it’s future use. Here’s an example. This is how my table originally looks:&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/-eEPXobUhPRw/TxlMgZC--MI/AAAAAAAAAi8/H3hnkKXBi6w/s1600-h/Merged_Cells1%25255B7%25255D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="Merged_Cells1" border="0" alt="Merged_Cells1" src="http://lh5.ggpht.com/-kAm6IYIdxBQ/TxlMgyXocXI/AAAAAAAAAjE/8QMyJoaSJvc/Merged_Cells1_thumb%25255B3%25255D.jpg?imgmax=800" width="371" height="186" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;My table title is not centered across the table. I can simple select cells B2:C2 and click on the Merge &amp;amp; Center on my Home tab. I can also align “Missed both tests” across C2:D2. My table would look like this:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-akXot6PqfCg/TxlMhkRPrBI/AAAAAAAAAjI/TsIGwNG_2Wo/s1600-h/Merged_Cells2%25255B3%25255D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="Merged_Cells2" border="0" alt="Merged_Cells2" src="http://lh4.ggpht.com/-SirBXia_4UE/TxlMiNbaPmI/AAAAAAAAAjU/yhBnyRXsOVE/Merged_Cells2_thumb%25255B1%25255D.jpg?imgmax=800" width="369" height="187" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;Definitely better, in terms of look, but if, for instance, you want to sort the test results by the results of Test 1 column, by selecting the range B3:D7 and going to Data-Sort and try to sort by Test 1 column, you will get an error message, like this:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-hpMp6J0gAJg/TxlMjfm6i2I/AAAAAAAAAjc/Z5poU1sdGkI/s1600-h/Merged_Cells3%25255B3%25255D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="Merged_Cells3" border="0" alt="Merged_Cells3" src="http://lh6.ggpht.com/-1QlgImd9orw/TxlMjw4VuLI/AAAAAAAAAjk/R0ZfBojfXgc/Merged_Cells3_thumb%25255B1%25255D.jpg?imgmax=800" width="508" height="346" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Let’s get back to our original table, without merged cells. To get the same look result, you should consider using “Center Across Selection” instead. Please follow this steps:&lt;/p&gt;  &lt;p align="justify"&gt;1 - Select the cells that you want to “merge”, in this case, cells C2:D2;   &lt;br /&gt;2 – Open the Format Cells dialog box (Home Ribbon, Font group, little button in bottom right or right click and select Format Cells from the list)&amp;#160; &lt;br /&gt;3 – On the Format Cells dialog box, go to the Alignment tab and on the “Text alignment”-Horizontal, select the “Center Across Selection” option and click OK, like this:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-CUFH86IPeTU/TxlMku4CFBI/AAAAAAAAAjs/FXLbdJIG2eM/s1600-h/Merged_Cells4%25255B3%25255D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="Merged_Cells4" border="0" alt="Merged_Cells4" src="http://lh4.ggpht.com/-O1dY2MzGEcE/TxlMlRPJu9I/AAAAAAAAAj0/GX9WYzYunwY/Merged_Cells4_thumb%25255B1%25255D.jpg?imgmax=800" width="530" height="477" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;4 – Select cells C6:D6 and repeat the process.&lt;/p&gt;  &lt;p align="justify"&gt;Your table will look like the one with merged cells but now, let’s try to do the sort again by the results of Test 1 column, like you tried before. You don’t get any error now, do you?&lt;/p&gt;  &lt;p align="justify"&gt;This is to show to you that you can get the same look on your worksheets using merged cells and Center Across Selection methods but if you need to use your data to further operations, like sorting, using merged cells, you will be restricted. With Center Across Selection you will not have this kind of problems.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-64038821764153755?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/64038821764153755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=64038821764153755' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/64038821764153755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/64038821764153755'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2012/01/avoid-merged-cells-in-excel.html' title='Avoid Merged cells in Excel'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/-kAm6IYIdxBQ/TxlMgyXocXI/AAAAAAAAAjE/8QMyJoaSJvc/s72-c/Merged_Cells1_thumb%25255B3%25255D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-7905207562436056591</id><published>2012-01-16T12:19:00.001Z</published><updated>2012-01-16T12:19:14.731Z</updated><title type='text'>Excel Mashups</title><content type='html'>&lt;p align="justify"&gt;This is for advanced users, more for web developers that want to create spreadsheet-based mashups. A mashup is just a web page that takes data from existing sources and combines it into something new.    &lt;br /&gt;You create an Excel mashup by uploading a workbook to SkyDrive and then embedding it on a web page. Then, you use JavaScript to programmatically interact with that workbook.    &lt;br /&gt;I’m not going to explain here how to do this but just point you to the new site from the Excel team (&lt;a title="http://www.excelmashup.com/" href="http://www.excelmashup.com/"&gt;http://www.excelmashup.com/&lt;/a&gt;) where you can learn all about it.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-7905207562436056591?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/7905207562436056591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=7905207562436056591' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/7905207562436056591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/7905207562436056591'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2012/01/excel-mashups.html' title='Excel Mashups'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-5637976719085728149</id><published>2012-01-16T11:23:00.001Z</published><updated>2012-01-16T11:23:12.517Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='SUMPRODUCT'/><category scheme='http://www.blogger.com/atom/ns#' term='ROW'/><category scheme='http://www.blogger.com/atom/ns#' term='MOD'/><title type='text'>Sum every x Row</title><content type='html'>&lt;p align="justify"&gt;This can be very handy. Assume that you have your data on cells A1:A12 and you want to sum only, say, the values on each 3rd row. Using a SUMPRODUCT() formula like this:&lt;/p&gt;  &lt;p align="justify"&gt;=SUMPRODUCT(--(MOD(ROW(A1:A100),3)=0),A1:A100)&lt;/p&gt;  &lt;p align="justify"&gt;you can sum every 3rd row. You can adjust the 0 like this:   &lt;br /&gt;    &lt;br /&gt;0 will sum every 3rd row    &lt;br /&gt;1 will sum every 3rd row starting with row 1    &lt;br /&gt;2 will sum every 3rd row starting with row 2&lt;/p&gt;  &lt;p align="justify"&gt;You can also adjust the 3 to change the number of rows to be summed. You can see here an example on the use of the multiple variations of this formula:&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/-4sNPZMiDeM4/TxQIm-2JmOI/AAAAAAAAAis/200c5UlEhKk/s1600-h/SUM_x_rows%25255B7%25255D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="SUM_x_rows" border="0" alt="SUM_x_rows" src="http://lh4.ggpht.com/-xu-tKvQ7-Lo/TxQInnLJ1dI/AAAAAAAAAi0/K9WMvrpNz7Q/SUM_x_rows_thumb%25255B3%25255D.jpg?imgmax=800" width="609" height="286" /&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/1111290708476904315-5637976719085728149?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/5637976719085728149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=5637976719085728149' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/5637976719085728149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/5637976719085728149'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2012/01/sum-every-x-row.html' title='Sum every x Row'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/-xu-tKvQ7-Lo/TxQInnLJ1dI/AAAAAAAAAi0/K9WMvrpNz7Q/s72-c/SUM_x_rows_thumb%25255B3%25255D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-5001037928914188167</id><published>2011-10-24T13:16:00.001+01:00</published><updated>2011-10-24T13:16:45.439+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Excel Charts'/><title type='text'>Quick Excel Charts</title><content type='html'>&lt;p align="justify"&gt;This is a simple trick. If you have a series of data on your Excel sheet and want to make a quick chart with it, the fastest way is to select your range of cells that have the data and just press F11. This will create a new Chart sheet on your workbook. All you have to do next is to change the type of chart that is displayed and format it to suit your needs.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-5001037928914188167?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/5001037928914188167/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=5001037928914188167' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/5001037928914188167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/5001037928914188167'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/10/quick-excel-charts.html' title='Quick Excel Charts'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-6021230251287938773</id><published>2011-08-30T11:24:00.001+01:00</published><updated>2011-08-30T11:27:19.920+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Certifications'/><title type='text'>uCertify–“The fastest way to IT certification”</title><content type='html'>&lt;p align="justify"&gt;I’ve been using the 77-882 Microsoft Excel 2010 exam prep kit from &lt;a href="http://www.ucertify.com/"&gt;uCertify&lt;/a&gt;, a company that provides training exams for IT certifications. &lt;a href="http://www.ucertify.com/"&gt;uCertify&lt;/a&gt; has hundreds of exams covering areas like Microsoft, Adobe, Oracle-Sun, etc. This particular exam is the one to use if you’re trying to get a certification as a MOS – Microsoft Office Specialist on Excel 2010.&lt;/p&gt;  &lt;p align="justify"&gt;To start, I’ve to say that this package has a list price of USD 139.99 but is been sold now for USD 111.98. You can get it from &lt;a href="http://www.ucertify.com/certifications/Microsoft/mos.html"&gt;here&lt;/a&gt;. After you purchase the kit, you have to install it on your computer. The program comes with a series of Practice Tests, from 15 questions to 40 questions. The questions are multiple choices or for you to pinpoint the location of menu options on a picture. You can set a test duration and a passing score for each test you take. There is also a Study Helper that helps you learn some features of Excel. At the bottom you will also find the Exam Objectives with a list of the topics covered by this exams.&lt;/p&gt;  &lt;p align="justify"&gt;Overall I found it very easy to use. The program as a very nice presentation with all things on the right place. At the end of the exams you can check the questions where you failed and an explanation of the right answer. This exams covers almost all aspects of Excel 2010 and the questions are well written. This is clearly worth the money that is costs and is, in my opinion, the best way to study and prepare yourself for a certification on this area.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-6021230251287938773?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/6021230251287938773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=6021230251287938773' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6021230251287938773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6021230251287938773'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/08/ucertifythe-fastest-way-to-it.html' title='uCertify–“The fastest way to IT certification”'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-3975116026710930618</id><published>2011-07-19T18:43:00.001+01:00</published><updated>2011-07-19T18:43:29.206+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VBA'/><category scheme='http://www.blogger.com/atom/ns#' term='VLOOKUP'/><title type='text'>Negative VLOOKUP()–return the value to the left of the key field</title><content type='html'>&lt;p align="justify"&gt;VLOOKUP() function only returns values from the columns to the left of the key field. You can’t build the formula and give it a column index number of –1, for instance. This is will result on a #VALUE error, like on the following example:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-BLav-p33GZ8/TiXCOIFqRoI/AAAAAAAAAhw/YO3tf6NvdSk/s1600-h/Negative_Vlookup%25255B7%25255D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="Negative_Vlookup" border="0" alt="Negative_Vlookup" src="http://lh4.ggpht.com/-hZlQOz79EzY/TiXCOzZ7PrI/AAAAAAAAAh0/dHgYf5vOYeY/Negative_Vlookup_thumb%25255B3%25255D.jpg?imgmax=800" width="501" height="376" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;On this example, we want to retrieve the value on the Date column that matches with the ID on cell B14 so we putted a –1 column index number on the function that didn’t worked.   &lt;br /&gt;A simple way of going around this problem is to build our own VLOOKUPNEG (as from negative) function that works with negative column index numbers and can return values to the left of the key field, in this case, the Date value that is on the left of the ID column. So, this is the UDF (User Defined Function) that you can create:&lt;/p&gt;  &lt;p&gt;Function VLOOKUPNEG(lookup_value, table_array As Range, col_index_num As Integer, CloseMatch As Boolean)&lt;/p&gt;  &lt;p&gt;Dim RowNr As Long&lt;/p&gt;  &lt;p&gt;RowNr = Application.WorksheetFunction.Match(lookup_value, table_array.Resize(, 1), CloseMatch)   &lt;br /&gt;VLOOKUPNEG = table_array(RowNr, 1).Offset(0, col_index_num)&lt;/p&gt;  &lt;p&gt;End Function&lt;/p&gt;  &lt;p&gt;Using this UDF, on the same example, we will get this result:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-KYqpLmrCT1w/TiXCPQDcf2I/AAAAAAAAAh4/51dC4NINXns/s1600-h/Negative_Vlookup2%25255B3%25255D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="Negative_Vlookup2" border="0" alt="Negative_Vlookup2" src="http://lh5.ggpht.com/-elSAvCCciSU/TiXCQCKXSEI/AAAAAAAAAh8/zBbYMQZVJBM/Negative_Vlookup2_thumb%25255B1%25255D.jpg?imgmax=800" width="503" height="375" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Now, on cell B15, we are already getting the Date that matches the 1002 ID that was on cell B14: 14-05-11!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-3975116026710930618?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/3975116026710930618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=3975116026710930618' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/3975116026710930618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/3975116026710930618'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/07/negative-vlookupreturn-value-to-left-of.html' title='Negative VLOOKUP()–return the value to the left of the key field'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/-hZlQOz79EzY/TiXCOzZ7PrI/AAAAAAAAAh0/dHgYf5vOYeY/s72-c/Negative_Vlookup_thumb%25255B3%25255D.jpg?imgmax=800' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-6996983078806456265</id><published>2011-07-06T17:14:00.001+01:00</published><updated>2011-07-06T17:14:09.619+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shared'/><title type='text'>Sharing a Workbook</title><content type='html'>&lt;p align="justify"&gt;Excel 2010 has a feature for Share Workbook, under the Review tab, on the Changes group but Excel wasn’t designed for having multiple people accessing the same workbook at the same time so, when you share a workbook, it becomes very limited on the things that you can do with it.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/-RKToMQ4Noas/ThSJzklu17I/AAAAAAAAAho/8qvYwV5xK9A/s1600-h/Sharing_Workbook1%25255B3%25255D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="Sharing_Workbook1" border="0" alt="Sharing_Workbook1" src="http://lh4.ggpht.com/-1NVKn71cApM/ThSJ0HkjVNI/AAAAAAAAAhs/urCZv1fYebs/Sharing_Workbook1_thumb%25255B1%25255D.jpg?imgmax=800" width="436" height="123" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;For instance, on shared workbooks you can’t have tables. You can’t delete sheets. You cannot merge cells, add conditional formatting to cells, add Data Validation’s, add charts, add pictures, add pivot tables, etc. You will end up with a very basic worksheet to work with.&lt;/p&gt;  &lt;p align="justify"&gt;On top of all of this, shared workbooks tend to became corrupted! It’s only a matter of time. So, my advice is to stay away from shared workbooks. If you want to have multiple people inputting information on the same file, you can create a workbook for each of them and then have a “master” workbook where you link to all of those individual files and compile the information on that “master”.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-6996983078806456265?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/6996983078806456265/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=6996983078806456265' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6996983078806456265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6996983078806456265'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/07/sharing-workbook.html' title='Sharing a Workbook'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/-1NVKn71cApM/ThSJ0HkjVNI/AAAAAAAAAhs/urCZv1fYebs/s72-c/Sharing_Workbook1_thumb%25255B1%25255D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-3206378546550048699</id><published>2011-06-15T11:15:00.001+01:00</published><updated>2011-06-15T11:17:26.379+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VBA'/><title type='text'>VBA – Fill Down Blanks</title><content type='html'>&lt;p align="justify"&gt;This is a common problem that many users have: they got a list of data, that has some blank cells in the middle, and they want to fill the blanks with the value from the last cell above. Here’s an example on how your sheet could look like:&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/-9rapZXSDaDk/TfiGMd61A-I/AAAAAAAAAhY/8zmknsPzAr4/s1600-h/FillDownBlanks1%25255B3%25255D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="FillDownBlanks1" border="0" alt="FillDownBlanks1" src="http://lh6.ggpht.com/-tTxz3xSeiGA/TfiGNO759EI/AAAAAAAAAhc/2vhOQbv7cx4/FillDownBlanks1_thumb%25255B1%25255D.jpg?imgmax=800" width="526" height="265" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;As you can see, we have some blank cells that we need to fill with the value from the last filled row above on the Company and Country columns. We would like to obtain this:&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/-zMmT7hclThc/TfiGN-n30XI/AAAAAAAAAhg/1ZlXz04ToOo/s1600-h/FillDownBlanks2%25255B3%25255D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="FillDownBlanks2" border="0" alt="FillDownBlanks2" src="http://lh5.ggpht.com/-BUqqVbuy8gA/TfiGPArknlI/AAAAAAAAAhk/8PQ7YdyEuyI/FillDownBlanks2_thumb%25255B1%25255D.jpg?imgmax=800" width="524" height="265" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;For that, we can use this code:&lt;/p&gt;  &lt;p&gt;Sub FillSelectionBlanksBelow()   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Dim Cell As Range    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; For Each Cell In Selection    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If Cell.Value = &amp;quot;&amp;quot; Then Cell.Value = Cell.Offset(-1, 0).Value    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Next Cell    &lt;br /&gt;End Sub&lt;/p&gt;  &lt;p align="justify"&gt;Then you just need to select the range where you want to apply it (in this case A2:D11) and run the macro and you will get the blanks cells filled down.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-3206378546550048699?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/3206378546550048699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=3206378546550048699' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/3206378546550048699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/3206378546550048699'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/06/vbafill-down-blanks.html' title='VBA – Fill Down Blanks'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/-tTxz3xSeiGA/TfiGNO759EI/AAAAAAAAAhc/2vhOQbv7cx4/s72-c/FillDownBlanks1_thumb%25255B1%25255D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-8538344748400330529</id><published>2011-05-01T17:00:00.001+01:00</published><updated>2011-05-01T17:00:00.805+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WEEKDAY'/><category scheme='http://www.blogger.com/atom/ns#' term='CHOOSE'/><title type='text'>Display Weekdays names</title><content type='html'>&lt;p align="justify"&gt;This is a common task. We have a list of dates and we want to get the corresponding weekdays. We can use the WEEKDAY() function to get it and the result will be like this:&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/Tb2Dcu9MmoI/AAAAAAAAAgk/wieUiyeZwG4/s1600-h/WEEKDAY1%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="WEEKDAY1" border="0" alt="WEEKDAY1" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/Tb2DdYs0ypI/AAAAAAAAAgo/Tg4TLrNYoSY/WEEKDAY1_thumb%5B1%5D.jpg?imgmax=800" width="388" height="256" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;On column A we have our dates and on column B, using the WEEKDAY() function we get the number corresponding to the weekday. But this is not a good way of displaying the weekday, we would like it to display it as the name of the weekday, not a number, right? There are numerous ways that we can change that. I’m going to show you two of them.&lt;/p&gt;  &lt;p align="justify"&gt;The first, and simplest way, is to format column B with a custom format. For that, just select the values on column B and right-click to select Format Cells and on the Number tab, choose the Custom Category and insert Type as dddd. This will give the names of the weekdays like “Sunday”. If you insert a type ddd it will show you the names like “Sun”.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh6.ggpht.com/_QCJyNEJ4Xss/Tb2DeDPw8fI/AAAAAAAAAgs/QTuwkAGgK08/s1600-h/WEEKDAY2%5B5%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="WEEKDAY2" border="0" alt="WEEKDAY2" src="http://lh6.ggpht.com/_QCJyNEJ4Xss/Tb2Dez9JGKI/AAAAAAAAAgw/emgwL4SICv4/WEEKDAY2_thumb%5B3%5D.jpg?imgmax=800" width="604" height="438" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;This is how it will look like after the formatting:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/Tb2DfYAZOGI/AAAAAAAAAg0/f2TJPhywjfA/s1600-h/WEEKDAY3%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="WEEKDAY3" border="0" alt="WEEKDAY3" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/Tb2Df_XrLPI/AAAAAAAAAg4/F-jsX95_ZPU/WEEKDAY3_thumb%5B1%5D.jpg?imgmax=800" width="386" height="255" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Another way you could do this is using the CHOOSE() function with a formula like this on cell B2 and then copy down:&lt;/p&gt;  &lt;p&gt;=CHOOSE(WEEKDAY(A2),&amp;quot;Sunday&amp;quot;,&amp;quot;Monday&amp;quot;,&amp;quot;Tuesday&amp;quot;,&amp;quot;Wednesday&amp;quot;,&amp;quot;Thursday&amp;quot;,&amp;quot;Friday&amp;quot;,&amp;quot;Saturday&amp;quot;)&lt;/p&gt;  &lt;p align="justify"&gt;The result will be the same. This last method is just to show you that there are lots of ways of doing the same thing in Excel.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-8538344748400330529?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/8538344748400330529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=8538344748400330529' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/8538344748400330529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/8538344748400330529'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/05/display-weekdays-names.html' title='Display Weekdays names'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_QCJyNEJ4Xss/Tb2DdYs0ypI/AAAAAAAAAgo/Tg4TLrNYoSY/s72-c/WEEKDAY1_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-3110604344691136335</id><published>2011-04-18T10:08:00.001+01:00</published><updated>2011-04-18T10:08:57.365+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Comments'/><title type='text'>Change font on all cell comments</title><content type='html'>&lt;p align="justify"&gt;This is a simple code that is very useful if you want to change the font size on all comments that you have on your Excel sheet.&lt;/p&gt;  &lt;p align="justify"&gt;Sub ChangeCommentsFont()   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Dim cmt As Comment    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; For Each cmt In ActiveSheet.Comments    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; With cmt.Shape.TextFrame.Characters.Font    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .Size = 11    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End With    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Next cmt    &lt;br /&gt;End Sub&lt;/p&gt;  &lt;p align="justify"&gt;You can change this code for setting a new font name, font color, etc.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-3110604344691136335?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/3110604344691136335/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=3110604344691136335' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/3110604344691136335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/3110604344691136335'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/04/change-font-on-all-comments.html' title='Change font on all cell comments'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-2518543608873393325</id><published>2011-04-13T18:44:00.001+01:00</published><updated>2011-04-13T18:44:09.976+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shortcut keys'/><title type='text'>Moving around Excel sheets</title><content type='html'>&lt;p align="justify"&gt;Excel lists all of your sheet names on the Sheets Tab, on the bottom of your page, all except the ones that are hidden. For example, you can have your sheets tab like this:&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TaXg3qc3eDI/AAAAAAAAAgM/d0-h_xynpB8/s1600-h/Sheetstab1%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="Sheetstab1" border="0" alt="Sheetstab1" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TaXg4UOYlKI/AAAAAAAAAgQ/z0Aw_2UL6So/Sheetstab1_thumb%5B1%5D.jpg?imgmax=800" width="473" height="93" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;You can change your sheet just by clicking your sheet name on the sheets tab bar and if the sheet name isn’t visible, you can scroll using the little arrows located on the left side of your sheets tab. You can also more around your sheets by using Ctrl+Page Up or Ctrl+Page Down. On this example, we have a sheet for each month (January to December) but it only displays January to May. That is because there isn’t enough space to display all sheets names. You can adjust the space my moving the separator to the right to increase the space for the sheets names but it can happen that even so, there isn’t space for all of your sheets, as you can see on this example:&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TaXg4n7fCII/AAAAAAAAAgU/DAQkklCUxkM/s1600-h/Sheetstab2%5B7%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="Sheetstab2" border="0" alt="Sheetstab2" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TaXg5C2Vw8I/AAAAAAAAAgY/ntC_gX-QwjU/Sheetstab2_thumb%5B3%5D.jpg?imgmax=800" width="561" height="94" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p align="justify"&gt;On this case, you can right click on one one the navigation arrows that are on the left side of your sheets tab and it will display a pop-up window with all of your sheets names where you can select the sheet to where you want to go. It will show up like this:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TaXg5rdssfI/AAAAAAAAAgc/v8JrFP88FS8/s1600-h/Sheetstab3%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="Sheetstab3" border="0" alt="Sheetstab3" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TaXg6D0GI0I/AAAAAAAAAgg/F2RoVoTadUs/Sheetstab3_thumb%5B1%5D.jpg?imgmax=800" width="537" height="334" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;I bet that this little trick will save precious time when you’re working with large workbooks that contains dozens or even hundreds of sheets!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-2518543608873393325?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/2518543608873393325/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=2518543608873393325' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/2518543608873393325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/2518543608873393325'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/04/moving-around-excel-sheets.html' title='Moving around Excel sheets'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_QCJyNEJ4Xss/TaXg4UOYlKI/AAAAAAAAAgQ/z0Aw_2UL6So/s72-c/Sheetstab1_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-2828505537530347480</id><published>2011-04-08T11:43:00.002+01:00</published><updated>2011-04-09T17:53:59.098+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Gridlines'/><title type='text'>Change Worksheet Gridlines Color</title><content type='html'>&lt;div align="justify"&gt;By default, gridlines on Excel sheets are black but you can change this. So instead of having your sheet display black gridlines, like the ones on this image…&lt;/div&gt;  &lt;div align="justify"&gt;&amp;#160;&lt;/div&gt;  &lt;div align="justify"&gt;&lt;a href="http://lh6.ggpht.com/_QCJyNEJ4Xss/TZ7msFtrVFI/AAAAAAAAAfc/DeMBoxduV0U/s1600-h/Gridline_Color1%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="Gridline_Color1" border="0" alt="Gridline_Color1" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TZ7msgeyPqI/AAAAAAAAAfg/jK2Z8VOG6l4/Gridline_Color1_thumb%5B1%5D.jpg?imgmax=800" width="479" height="188" /&gt;&lt;/a&gt;&lt;/div&gt;  &lt;p&gt;…you can have your gridlines with another color, like this example:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TZ7np_gCPrI/AAAAAAAAAf0/feKj5vlmb3I/s1600-h/Gridline_Color2%5B11%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="Gridline_Color2" border="0" alt="Gridline_Color2" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TZ7nqdKt7fI/AAAAAAAAAf4/yMxt_PEGm7c/Gridline_Color2_thumb%5B5%5D.jpg?imgmax=800" width="480" height="187" /&gt;&lt;/a&gt;    &lt;br /&gt;To change the gridlines color, just go to your File tab and select Options. Then on your Excel Options dialog window, select the Advanced tab and scroll down until you find Gridline color option. Just select the color you want and click the OK button and you’re done.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-2828505537530347480?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/2828505537530347480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=2828505537530347480' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/2828505537530347480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/2828505537530347480'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/04/change-worksheet-gridlines-color.html' title='Change Worksheet Gridlines Color'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_QCJyNEJ4Xss/TZ7msgeyPqI/AAAAAAAAAfg/jK2Z8VOG6l4/s72-c/Gridline_Color1_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-1137505221786787019</id><published>2011-04-05T10:53:00.001+01:00</published><updated>2011-04-05T10:53:46.730+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RANDBETWEEN'/><title type='text'>Quickly fill a range of cells with a value or a formula</title><content type='html'>&lt;p align="justify"&gt;If you want to fill a range of cells with a value, a formula or random numbers, there is a faster way of doing it using Ctrl+Enter instead of just hitting the Enter key. To fill a range of cells with a value, follow this steps:&lt;/p&gt;  &lt;p align="justify"&gt;1. Select the range of cells that you want to fill   &lt;br /&gt;2. Enter the value or formula    &lt;br /&gt;3. Instead of hitting Enter, press Ctrl+Enter&lt;/p&gt;  &lt;p align="justify"&gt;Here’s an example on how to fill a range of cells with random numbers using this tip:&lt;/p&gt;  &lt;p align="justify"&gt;1. Select cells A1:E10   &lt;br /&gt;2. Enter this formula: =RANDBETWEEN(1,10)    &lt;br /&gt;3. Press Ctrl+Enter&lt;/p&gt;  &lt;p align="justify"&gt;This will fill the range A1:E10 with random values between 1 and 10, like this:&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TZrmqO1Yj_I/AAAAAAAAAfU/Ram8iZKQPcw/s1600-h/FILL_RANGE%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="FILL_RANGE" border="0" alt="FILL_RANGE" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TZrmqg_auaI/AAAAAAAAAfY/wub2nHpxfPI/FILL_RANGE_thumb%5B1%5D.jpg?imgmax=800" width="416" height="274" /&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/1111290708476904315-1137505221786787019?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/1137505221786787019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=1137505221786787019' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/1137505221786787019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/1137505221786787019'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/04/quickly-fill-range-of-cells-with-value.html' title='Quickly fill a range of cells with a value or a formula'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_QCJyNEJ4Xss/TZrmqg_auaI/AAAAAAAAAfY/wub2nHpxfPI/s72-c/FILL_RANGE_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-5093106569290353128</id><published>2011-04-05T10:03:00.001+01:00</published><updated>2011-04-05T11:13:21.441+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SUMPRODUCT'/><category scheme='http://www.blogger.com/atom/ns#' term='LEN'/><title type='text'>Count characters on a range of cells</title><content type='html'>&lt;p&gt;You can use the LEN() function to get a count of characters from a value on a cell like this:&lt;/p&gt;  &lt;p&gt;=LEN(A1)&lt;/p&gt;  &lt;p align="justify"&gt;But if you want to get a count of characters from a range of cells, if you try to do something like this =LEN(A1:B6) you will get an #VALUE error. The trick here is to use &lt;a href="http://excel-user.blogspot.com/2009/10/sumproduct-sum-values-based-on.html"&gt;SUMPRODUCT()&lt;/a&gt; function to perform the count of characters using a formula like this:&lt;/p&gt;  &lt;p align="justify"&gt;=SUMPRODUCT(LEN(A1:B6))&lt;/p&gt;  &lt;p align="justify"&gt;You can see here, on this example, the result of this formula on a sample sheet.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh6.ggpht.com/_QCJyNEJ4Xss/TZra6q9BoDI/AAAAAAAAAfM/7KLLo6bMzVk/s1600-h/COUNTCHARS%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="COUNTCHARS" border="0" alt="COUNTCHARS" src="http://lh6.ggpht.com/_QCJyNEJ4Xss/TZra7N8fvOI/AAAAAAAAAfQ/Pma7uITL0xU/COUNTCHARS_thumb%5B1%5D.jpg?imgmax=800" width="441" height="193" /&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/1111290708476904315-5093106569290353128?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/5093106569290353128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=5093106569290353128' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/5093106569290353128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/5093106569290353128'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/04/count-characters-on-range-of-cells.html' title='Count characters on a range of cells'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_QCJyNEJ4Xss/TZra7N8fvOI/AAAAAAAAAfQ/Pma7uITL0xU/s72-c/COUNTCHARS_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-7696150079917063844</id><published>2011-04-04T11:28:00.001+01:00</published><updated>2011-04-04T11:28:03.226+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ERROR.TYPE'/><category scheme='http://www.blogger.com/atom/ns#' term='CELL'/><category scheme='http://www.blogger.com/atom/ns#' term='IF'/><category scheme='http://www.blogger.com/atom/ns#' term='CHOOSE'/><title type='text'>ERROR.TYPE() Function</title><content type='html'>&lt;p&gt;This function returns a value corresponding to the type of Excel error. This is the syntax:&lt;/p&gt;  &lt;p&gt;ERROR.TYPE(&lt;em&gt;error_val&lt;/em&gt;)&lt;/p&gt;  &lt;p align="justify"&gt;&lt;em&gt;error_val&lt;/em&gt; is a reference to a cell that has a formula that you want to check if it returns an error value. Here are the possible return values:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TZmdKbToVNI/AAAAAAAAAe0/lfpAnHJ9lBg/s1600-h/ERROR_TYPE1%5B9%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="ERROR_TYPE1" border="0" alt="ERROR_TYPE1" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TZmdLAHpGdI/AAAAAAAAAe4/qh3T6NaZOGU/ERROR_TYPE1_thumb%5B5%5D.jpg?imgmax=800" width="326" height="205" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;This function can be very useful to check if a certain formula returns an error, so that you can display a custom error message to the user. For that you can use the &lt;a href="http://excel-user.blogspot.com/2009/10/if-checking-conditions.html"&gt;IF()&lt;/a&gt; function combined with the CHOOSE() function, like this:&lt;/p&gt;  &lt;p align="left"&gt;=IF(ERROR.TYPE(A2)&amp;lt;=8,CHOOSE(ERROR.TYPE(A2),&amp;quot;Ranges not intersecting&amp;quot;,&amp;quot;0 Divisor&amp;quot;,&amp;quot;Wrong data type&amp;quot;,&amp;quot;Invalid cell reference&amp;quot;, &amp;quot;Unrecognized range or function name&amp;quot;,&amp;quot;Number error&amp;quot;,&amp;quot;Inappropriate function argument&amp;quot;,&amp;quot;Waiting for query data&amp;quot;),&amp;quot;&amp;quot;)&lt;/p&gt;  &lt;p align="justify"&gt;This formula will check if there is an error on cell A2 formula and if it returns a ERROR.TYPE value will choose the appropriate error message to display on the cell where this formula is placed. If there is no error, it will return nothing. Here are some examples of the use of it:&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/_QCJyNEJ4Xss/TZmdLV869PI/AAAAAAAAAe8/xQrxuny-YyQ/s1600-h/ERROR_TYPE2%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="ERROR_TYPE2" border="0" alt="ERROR_TYPE2" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TZmdL6jAX_I/AAAAAAAAAfA/wBEdtb-pum4/ERROR_TYPE2_thumb%5B1%5D.jpg?imgmax=800" width="430" height="131" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;You can improve this formula to give you the cell address where you have the error by using the CELL() function, like this:&lt;/p&gt;  &lt;p align="left"&gt;=IF(ERROR.TYPE(A3)&amp;lt;=8,CHOOSE(ERROR.TYPE(A3),&amp;quot;Ranges not intersecting&amp;quot;,&amp;quot;0 Divisor&amp;quot;,&amp;quot;Wrong data type&amp;quot;,&amp;quot;Invalid cell reference&amp;quot;, &amp;quot;Unrecognized range or function name&amp;quot;,&amp;quot;Number error&amp;quot;,&amp;quot;Inappropriate function argument&amp;quot;,&amp;quot;Waiting for query data&amp;quot;)&amp;amp; &amp;quot; on cell &amp;quot; &amp;amp; CELL(&amp;quot;address&amp;quot;,A3),&amp;quot;&amp;quot;)&lt;/p&gt;  &lt;p&gt;This will return a message like this instead:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_QCJyNEJ4Xss/TZmdMD0kK6I/AAAAAAAAAfE/5pYSeJEkgtA/s1600-h/ERROR_TYPE3%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="ERROR_TYPE3" border="0" alt="ERROR_TYPE3" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TZmdMsC3JHI/AAAAAAAAAfI/QHkTIkulIe0/ERROR_TYPE3_thumb%5B1%5D.jpg?imgmax=800" width="501" height="132" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Hope this is useful to get your worksheets more user friendly.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-7696150079917063844?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/7696150079917063844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=7696150079917063844' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/7696150079917063844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/7696150079917063844'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/04/errortype-function.html' title='ERROR.TYPE() Function'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_QCJyNEJ4Xss/TZmdLAHpGdI/AAAAAAAAAe4/qh3T6NaZOGU/s72-c/ERROR_TYPE1_thumb%5B5%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-6046108367790766382</id><published>2011-03-22T10:49:00.001Z</published><updated>2011-03-22T10:51:06.215Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='DATEDIF'/><category scheme='http://www.blogger.com/atom/ns#' term='NETWORKDAYS'/><title type='text'>Calculating the difference between two dates</title><content type='html'>&lt;p align="justify"&gt;The easiest way to calculate the difference between two dates in Excel is to use the DATEDIF() function. The syntax is like this:&lt;/p&gt;  &lt;p&gt;DATEDIF(&lt;em&gt;start_date, end_date,unit&lt;/em&gt;)&lt;/p&gt;  &lt;p align="justify"&gt;&lt;em&gt;start_date&lt;/em&gt; and &lt;em&gt;end_date&lt;/em&gt; are just the starting date and finishing date from where you want to calculate the difference. &lt;em&gt;unit&lt;/em&gt; is the date unit to be used on the result. It can be:&lt;/p&gt;  &lt;p align="justify"&gt;&lt;em&gt;y&lt;/em&gt; – number of years between&lt;em&gt; start_date&lt;/em&gt; and &lt;em&gt;end_date     &lt;br /&gt;m&lt;/em&gt; – number of months between &lt;em&gt;start_date&lt;/em&gt; and &lt;em&gt;end_date     &lt;br /&gt;d&lt;/em&gt; – number of days between &lt;em&gt;start_date&lt;/em&gt; and &lt;em&gt;end_date     &lt;br /&gt;md&lt;/em&gt; – difference in the day component between &lt;em&gt;start_date&lt;/em&gt; and &lt;em&gt;end_date&lt;/em&gt;. This means that the years and months are not included in the calculation    &lt;br /&gt;&lt;em&gt;ym&lt;/em&gt; – difference in the month component between &lt;em&gt;start_date&lt;/em&gt; and &lt;em&gt;end_date&lt;/em&gt;. This means that the years and days are not included in the calculation    &lt;br /&gt;&lt;em&gt;yd&lt;/em&gt; – number of days between &lt;em&gt;start_date&lt;/em&gt; and &lt;em&gt;end_date&lt;/em&gt;, with the year components excluded from the calculation&lt;/p&gt;  &lt;p align="justify"&gt;So, to give you an example of this function works, lets calculate how many days from now until Christmas.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh6.ggpht.com/_QCJyNEJ4Xss/TYh-mf8QKKI/AAAAAAAAAek/My0a6YV33hM/s1600-h/Datedif1%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="Datedif1" border="0" alt="Datedif1" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TYh-m2x1c3I/AAAAAAAAAeo/9p1jJ1Durac/Datedif1_thumb%5B1%5D.jpg?imgmax=800" width="539" height="110" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;We are calculation the difference between today (cell D2) and Christmas day (cell E2). This tell us that there are 278 days until Christmas. We could calculate how many working days are left until Christmas. For that we could use the NETWORKDAYS() function:&lt;/p&gt;  &lt;p align="justify"&gt;NETWORKDAYS(&lt;em&gt;start_date, end_date, holidays&lt;/em&gt;)&lt;/p&gt;  &lt;p align="justify"&gt;&lt;em&gt;start_date&lt;/em&gt; and &lt;em&gt;end_date&lt;/em&gt; are just the starting date and finishing date from where you want to calculate the difference. &lt;em&gt;holidays&lt;/em&gt; are the dates to exclude from this because they are not working days, they are public holidays. You can set a range where you put this holidays to be excluded. On this next example we have on cell B2 a formula to calculate just the working days until Christmas that gives us 199 days.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TYh-nWxdCaI/AAAAAAAAAes/IGAV3ch5GKo/s1600-h/Networkdays%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="Networkdays" border="0" alt="Networkdays" src="http://lh6.ggpht.com/_QCJyNEJ4Xss/TYh-nwXeI-I/AAAAAAAAAew/IuVO2FTPdRw/Networkdays_thumb%5B1%5D.jpg?imgmax=800" width="536" height="211" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;On cell B3 we have the formula:&lt;/p&gt;  &lt;p&gt;=NETWORKDAYS(D2, E2, E4:E6)&lt;/p&gt;  &lt;p align="justify"&gt;This will also calculate the number of working days between today value on cell D2 and Christmas day on cell E2 but excluding the dates that you put on range E4:E6 that can be public holidays or days where you don’t work for some reason. On this case, as 1 May is a Sunday, it is already excluded from the NETWORKDAYS calculation, the formula will only exclude the other 2 public holidays giving us a result of 197 working days until Christmas.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-6046108367790766382?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/6046108367790766382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=6046108367790766382' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6046108367790766382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6046108367790766382'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/03/calculating-difference-between-two.html' title='Calculating the difference between two dates'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_QCJyNEJ4Xss/TYh-m2x1c3I/AAAAAAAAAeo/9p1jJ1Durac/s72-c/Datedif1_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-9173039555071475405</id><published>2011-03-11T11:18:00.001Z</published><updated>2011-03-11T11:19:11.755Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Books'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel 2010'/><title type='text'>Recommended Book - John Walkenbach's Favorite Excel 2010 Tips and Tricks</title><content type='html'>&lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TXoFFiQ26BI/AAAAAAAAAZM/RJn-4VAL3rg/s1600-h/Excel2010_FavoriteTips%5B13%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top: 0px; border-right: 0px; padding-top: 0px" title="Excel2010_FavoriteTips" border="0" alt="Excel2010_FavoriteTips" align="left" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TXoFGMMoYII/AAAAAAAAAZQ/NfawXf8Ctf0/Excel2010_FavoriteTips_thumb%5B9%5D.jpg?imgmax=800" width="98" height="128" /&gt;&lt;/a&gt;This is a great book from John Walkenbach, also known as “Mr. Spreadsheet”, that will teach you some tricks and will give you great tips on how to do things in Excel 2010. With &lt;a href="http://www.amazon.com/gp/product/0470475374/ref=as_li_qf_sp_asin_tl?ie=UTF8&amp;amp;tag=excuseblo09-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=0470475374"&gt;John Walkenbach's Favorite Excel 2010 Tips and Tricks&lt;/a&gt; book you'll get a jump start on mastering the extensive changes to the 2010 version of Excel. This is in my opinion ones of the top books that you should have if you want to master Excel, specially, the 2010 version.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-9173039555071475405?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/9173039555071475405/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=9173039555071475405' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/9173039555071475405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/9173039555071475405'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/03/recommended-book-john-walkenbach.html' title='Recommended Book - John Walkenbach&amp;#39;s Favorite Excel 2010 Tips and Tricks'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_QCJyNEJ4Xss/TXoFGMMoYII/AAAAAAAAAZQ/NfawXf8Ctf0/s72-c/Excel2010_FavoriteTips_thumb%5B9%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-5708800940008857270</id><published>2011-03-07T10:47:00.002Z</published><updated>2011-04-09T17:50:31.515+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Menus'/><title type='text'>Excel “Secret Menus”</title><content type='html'>&lt;div align="justify"&gt;There are two “secret menus” that I bet almost all of you never saw on an Excel Sheet!    &lt;br /&gt;To see the first one, let’s click on a sheet cell and then move the mouse over any border of the cell until the mouse pointer changes to a set of arrows. Then right click it and drag to the destination cell and release the mouse. A set of options like this will appear:&lt;/div&gt;  &lt;div align="justify"&gt;&amp;#160;&lt;/div&gt;  &lt;div align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TXS3x8pPkPI/AAAAAAAAAY0/KcSsduM1EzA/s1600-h/SecretMenus1%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="SecretMenus1" border="0" alt="SecretMenus1" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TXS3ySzezII/AAAAAAAAAY4/8_eYjOHZ7Vk/SecretMenus1_thumb%5B1%5D.jpg?imgmax=800" width="414" height="390" /&gt;&lt;/a&gt;&lt;/div&gt;  &lt;div align="justify"&gt;&amp;#160;&lt;/div&gt;  &lt;div align="justify"&gt;To see the second “secret menu”, put a date on a cell and move the mouse over the bottom right corner of the cell until the mouse pointer changes to a small filled black cross. Now you can right click it and drag to the destination cell. A menu with a set of options will appear:&lt;/div&gt;  &lt;div align="justify"&gt;&amp;#160;&lt;/div&gt;  &lt;div align="justify"&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TXS3y8VwMcI/AAAAAAAAAY8/TH7fohSDCnk/s1600-h/SecretMenus2%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="SecretMenus2" border="0" alt="SecretMenus2" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TXS3zW6FeaI/AAAAAAAAAZA/G-kwAf4b3Sk/SecretMenus2_thumb%5B1%5D.jpg?imgmax=800" width="363" height="430" /&gt;&lt;/a&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-5708800940008857270?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/5708800940008857270/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=5708800940008857270' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/5708800940008857270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/5708800940008857270'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/03/excel-secret-menus.html' title='Excel “Secret Menus”'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_QCJyNEJ4Xss/TXS3ySzezII/AAAAAAAAAY4/8_eYjOHZ7Vk/s72-c/SecretMenus1_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-8734755887785408983</id><published>2011-02-21T11:38:00.002Z</published><updated>2011-02-21T11:40:16.169Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='RATE'/><category scheme='http://www.blogger.com/atom/ns#' term='PV'/><category scheme='http://www.blogger.com/atom/ns#' term='PMT'/><category scheme='http://www.blogger.com/atom/ns#' term='FV'/><title type='text'>Excel Financial Functions</title><content type='html'>&lt;p align="justify"&gt;Excel has a powerful pack of financial functions that you can use. Most of them are only used by people with specific needs, but some can be useful for the majority of people to make calculations on loans for instance. One of the most useful functions is PMT(). It can be used to calculate the monthly payment on a loan. Here’s the syntax:&lt;/p&gt;&lt;p align="justify"&gt;PMT(rate, nper, pv, fv, type)&lt;/p&gt;&lt;p align="justify"&gt;&lt;em&gt;rate&lt;/em&gt; is the interest rate for the loan&lt;/p&gt;&lt;p align="justify"&gt;&lt;em&gt;nper&lt;/em&gt; is the number of payments for the loan&lt;/p&gt;&lt;p align="justify"&gt;&lt;em&gt;pv&lt;/em&gt; is the present value, is the loan amount&lt;/p&gt;&lt;p align="justify"&gt;&lt;em&gt;fv&lt;/em&gt; is an optional value. It can be the final payment for the loan. If omitted, it will assume 0&lt;/p&gt;&lt;p align="justify"&gt;&lt;em&gt;type&lt;/em&gt; can be either 0 or 1. It indicates when the payments are due. Default value is 0 assuming that the first payment is due after a month or you can set this to 1 if the first payment is to be done when the loan is issued.&lt;/p&gt;&lt;p align="justify"&gt;Let see a practical example how we can use this function to calculate the monthly payment on a $30,000 loan, with 5% annual interest rate and 72 monthly payments.&lt;/p&gt;&lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TWJOjgXHtRI/AAAAAAAAATg/kf_H6UKpkgw/s1600-h/FinancialFunctions1%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="FinancialFunctions1" border="0" alt="FinancialFunctions1" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TWJOkfaMJxI/AAAAAAAAATk/vPBODqiMEyU/FinancialFunctions1_thumb%5B1%5D.jpg?imgmax=800" width="531" height="169" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p align="justify"&gt;As you can see on the image, on the formula bar, we have our annual rate divided by 12 because we want the monthly payment. The loan value need to be negative because this is a value that we are going to take “out of the bank”, we are spending it. This formula will result on a $483.15 monthly payment witch will give us a total payment of $34,786.65 over the 6 year period of the loan. Don’t forget that you have to add taxes and insurances values to this monthly payment.&lt;/p&gt;&lt;p align="justify"&gt;We can use another version of our formula. Imagine that we want to leave $10,000 for the end of the loan period. We can put this value on the pv argument of our formula and we will have this result:&lt;/p&gt;&lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TWJOk5QODII/AAAAAAAAATo/15jIC-2_BYg/s1600-h/FinancialFunctions2%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="FinancialFunctions2" border="0" alt="FinancialFunctions2" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TWJOlWn4joI/AAAAAAAAATs/MPIZ_thNPJw/FinancialFunctions2_thumb%5B1%5D.jpg?imgmax=800" width="532" height="251" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p align="justify"&gt;If you check the formula on the formula bar, you will see that I’ve added the B7 cell as fv argument. So now we have a $363.77 monthly payment with a final value of $10,000. &lt;/p&gt;&lt;p align="justify"&gt;No let’s do another kind of exercise. We know that we are making a monthly payment of $500 on a $30,000 loan amount and for 72 months. We want to figure out what is our annual interest rate. For that we need to use the RATE() function. Here’s the syntax:&lt;/p&gt;&lt;p align="justify"&gt;RATE(nper, pmt, pv, fv, type, guess)&lt;/p&gt;&lt;p align="justify"&gt;&lt;em&gt;pv&lt;/em&gt; is the present value, is the loan amount&lt;/p&gt;&lt;p align="justify"&gt;&lt;em&gt;guess&lt;/em&gt; is your guess of what the rate will be. If omitted, it will assume that the rate is 10%.&lt;/p&gt;&lt;p align="justify"&gt;Here’s how example would look like:&lt;/p&gt;&lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TWJOmOhccqI/AAAAAAAAATw/gfqA8PVLV6E/s1600-h/FinancialFunctions3%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="FinancialFunctions3" border="0" alt="FinancialFunctions3" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TWJOnGql4wI/AAAAAAAAAT0/CimGwnnsqwc/FinancialFunctions3_thumb%5B1%5D.jpg?imgmax=800" width="532" height="170" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p align="justify"&gt;Again, if you check our formula, we are multiplying the rate value for 12 months to get the annual rate. This formula will give us an annual interest rate of 6,2%.&lt;/p&gt;&lt;p align="justify"&gt;But if we needed to calculate how much we could buy with a $500 monthly payment over a 72 months period at a 5% interest rate? We need to calculate our “present value” (pv), right? For that we have the PV() function:&lt;/p&gt;&lt;p align="justify"&gt;PV(rate, nper, pmt, fv, type)&lt;/p&gt;&lt;p align="justify"&gt;&lt;a href="http://lh6.ggpht.com/_QCJyNEJ4Xss/TWJOntmVWvI/AAAAAAAAAT4/pOwgDZUFCAA/s1600-h/FinancialFunctions4%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="FinancialFunctions4" border="0" alt="FinancialFunctions4" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TWJOoGCeRxI/AAAAAAAAAT8/i1DqEawedMQ/FinancialFunctions4_thumb%5B1%5D.jpg?imgmax=800" width="381" height="170" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;As you can see, we could afford to spend as much as $31,046.39 with those conditions. &lt;/p&gt;&lt;p align="justify"&gt;Another useful financial function is FV(). It can be used to calculate a future value of an investment. Here’s the syntax:&lt;/p&gt;&lt;p align="justify"&gt;FV(rate, nper, pmt, pv, type)&lt;/p&gt;&lt;p align="justify"&gt;&lt;em&gt;pv&lt;/em&gt; is the present value, or the money that you already have on the investment&lt;/p&gt;&lt;p align="justify"&gt;Here’s an example of a retirement plan for a person that is 30 years now, is planning to retire at 65. This will give us a total of 420 monthly payments (35 years * 12 months). He plans to save $100 a month and he will have a 3% annual interest rate on this financial product. He started with a $5,000 deposit.&lt;/p&gt;&lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TWJOotROBvI/AAAAAAAAAUA/wdIL2eLA614/s1600-h/FinancialFunctions5%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="FinancialFunctions5" border="0" alt="FinancialFunctions5" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TWJOo21eS8I/AAAAAAAAAUE/gV9DV7t_gAk/FinancialFunctions5_thumb%5B1%5D.jpg?imgmax=800" width="422" height="230" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p align="justify"&gt;As you can see, he will have, when he will retire at 65 years of age, $88,425.91 on he’s savings account. If he started without making a deposit, you could omit the pv argument of the function.&lt;/p&gt;&lt;p align="justify"&gt;Excel has much more financial functions but most of them are aimed to professionals that need to calculate investments analysis, depreciation calculations, etc, they are not aimed for the general Excel user. Maybe later we can see in detail some of them and how you can use them. For now, I hope that you find this basic financial functions useful.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-8734755887785408983?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/8734755887785408983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=8734755887785408983' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/8734755887785408983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/8734755887785408983'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/02/excel-financial-functions.html' title='Excel Financial Functions'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_QCJyNEJ4Xss/TWJOkfaMJxI/AAAAAAAAATk/vPBODqiMEyU/s72-c/FinancialFunctions1_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-1629616943636219702</id><published>2011-02-15T20:53:00.002Z</published><updated>2011-02-15T20:55:05.156Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='LARGE. MATCH'/><category scheme='http://www.blogger.com/atom/ns#' term='INDEX'/><title type='text'>LARGE() Function–Get the top N values from a list</title><content type='html'>&lt;p align="justify"&gt;This is a real situation that many of us already experienced! We have a list of data and we need to get the top N values from that list. Of course we can sort descending the list and get the top values, but many times we can’t sort the source data (it may be used on another report, for instance). We can use the LARGE() function to get the nth largest value from a range of values. The syntax is like this:&lt;/p&gt;&lt;p align="justify"&gt;LARGE(array, k)&lt;/p&gt;&lt;p align="justify"&gt;array is the range of data from where we want to get our top values   &lt;br /&gt;k is the position on the range of data to return&lt;/p&gt;&lt;p align="justify"&gt;So, let’s see an example on how to apply this function to get our top values. Our source data is like this:&lt;/p&gt;&lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TVrno-Umv7I/AAAAAAAAATI/MNKdeTUM8Jc/s1600-h/LARGE1%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="LARGE1" border="0" alt="LARGE1" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TVrnppdk8WI/AAAAAAAAATM/KzQs5pRh7d4/LARGE1_thumb%5B1%5D.jpg?imgmax=800" width="385" height="344" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p align="justify"&gt;In this example we want to get the Top 5 companies by Invoices value. We will be putting the values on cells B17:C21.&lt;/p&gt;&lt;p align="justify"&gt;To start, let’s put the numbers 1 to 5 on cells A17:A21. Now, on cell C17 let’s put our formula, like this:&lt;/p&gt;&lt;p&gt;=LARGE($C$3:$C$15, A17)&lt;/p&gt;&lt;p align="justify"&gt;We will be looking on cells C3:C15, where we have our Invoices values, for the first largest value, that why we are using cell A17 that has the number 1 on it. Use the dollar signs on the array argument so that when we copy the formula to the next rows it will keep the reference to our Invoices values that are on C3:C15. Now copy the formula on cell C17 to the rest of the cells (C18:C21). This is how our sheet should look like:&lt;/p&gt;&lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TVrnqUcs2QI/AAAAAAAAATQ/MtrM5aZkMvE/s1600-h/LARGE2%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="LARGE2" border="0" alt="LARGE2" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TVrnq2uH5II/AAAAAAAAATU/uy4BNB-wn84/LARGE2_thumb%5B1%5D.jpg?imgmax=800" width="385" height="465" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p align="justify"&gt;So, now we have the top 5 Invoices values but wee need to fill the companies names. For that we will use the MATCH() function to get the row number within range C3:C15 that has the value that matches C17. The MATCH formula will be like this:&lt;/p&gt;&lt;p align="justify"&gt;=MATCH(C17,$C$3:$C$15,0)&lt;/p&gt;&lt;p align="justify"&gt;For the value in C17, this formula would return 10 because the value on this cell is coming from row 10 of our range source. This is not row 10 of our sheet but row 10 of our source! Now with this information we can get the company name that is on this row. For that we will use the INDEX() function like this:&lt;/p&gt;&lt;p align="justify"&gt;=INDEX($B$3:$ B$15,10)&lt;/p&gt;&lt;p align="justify"&gt;This would get the company’s name on row 10 of our source data.&lt;/p&gt;&lt;p align="justify"&gt;Combining both formulas, it will look like this:&lt;/p&gt;&lt;p align="justify"&gt;=INDEX($B$3:$B$15,MATCH(C17,$C$3:$C$15,0))&lt;/p&gt;&lt;p align="justify"&gt;Put this formula on cell B17 and copy to the other cells on B18:B21.&lt;/p&gt;&lt;p align="justify"&gt;The result will be like this, where we get on cells B17:C21 the top 5 values of Invoices from our source data on B3:C15:&lt;/p&gt;&lt;p align="justify"&gt;&lt;a href="http://lh6.ggpht.com/_QCJyNEJ4Xss/TVrnrRruoNI/AAAAAAAAATY/8peYkLfnF_o/s1600-h/LARGE3%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="LARGE3" border="0" alt="LARGE3" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TVrnsLka8II/AAAAAAAAATc/FyFjmFtARHM/LARGE3_thumb%5B1%5D.jpg?imgmax=800" width="384" height="466" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Hope that this article can be useful for your work.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-1629616943636219702?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/1629616943636219702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=1629616943636219702' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/1629616943636219702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/1629616943636219702'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/02/large-functionget-top-n-values-from.html' title='LARGE() Function–Get the top N values from a list'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_QCJyNEJ4Xss/TVrnppdk8WI/AAAAAAAAATM/KzQs5pRh7d4/s72-c/LARGE1_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-5421437408946407323</id><published>2011-02-12T11:03:00.002Z</published><updated>2011-02-12T11:05:50.232Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='SUMPRODUCT'/><category scheme='http://www.blogger.com/atom/ns#' term='SUMIF'/><category scheme='http://www.blogger.com/atom/ns#' term='SUMIFS'/><title type='text'>SUMIF() and SUMIFS() Functions</title><content type='html'>&lt;p align="justify"&gt;To get the sum of values in a range of cells, we can use the SUMIF() function. The syntax is like this:&lt;/p&gt;&lt;p&gt;SUMIF(range, criteria, sum_range)&lt;/p&gt;&lt;p&gt;In this example we want to get the sum of sales from a region (“North”):&lt;/p&gt;&lt;p&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TVZo-TU01xI/AAAAAAAAAS0/J4CcrLbhiAc/s1600-h/SUMIF1%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="SUMIF1" border="0" alt="SUMIF1" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TVZo_WAIGXI/AAAAAAAAAS8/wDtY-sVN6xk/SUMIF1_thumb%5B1%5D.jpg?imgmax=800" width="509" height="273" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;As you can see on the formula bar, on cell E10 we have the following formula:&lt;/p&gt;&lt;p&gt;=SUMIF(B3:B8,”North”,E3:E8)&lt;/p&gt;&lt;p align="justify"&gt;This will check on cells B3:B8 for the North region and will sum the values that correspond on cells E3:E8.&lt;/p&gt;&lt;p align="justify"&gt;But if we wanted to get the sum of the North region for only a customer? Before Excel 2007, we needed to use the &lt;a href="http://excel-user.blogspot.com/2009/10/sumproduct-sum-values-based-on.html"&gt;SUMPRODUCT()&lt;/a&gt; function. Now we have a new function in Excel that is called SUMIFS(). With this new function, we can have 2 or more conditions. Here’s the syntax:&lt;/p&gt;&lt;p align="justify"&gt;SUMIFS(sum_range, criteria_range1, criteria1 [,criteria_range2, criteria2…])&lt;/p&gt;&lt;p align="justify"&gt;The first argument is the range of cells to be summed. Then you should specify pairs of arguments that consist on the range to be check and the value to be match on that range. So, here’s an example of the sum of sales for the North region for customer “TMA, Inc”:&lt;/p&gt;&lt;p align="justify"&gt;&lt;a href="http://lh6.ggpht.com/_QCJyNEJ4Xss/TVZpAoexTzI/AAAAAAAAATA/4YopBXcEH3g/s1600-h/SUMIFS1%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="SUMIFS1" border="0" alt="SUMIFS1" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TVZpBfzTLlI/AAAAAAAAATE/UhWshzhiMT8/SUMIFS1_thumb%5B1%5D.jpg?imgmax=800" width="573" height="272" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p align="justify"&gt;If you check the formula bar, our formula will sum the values on cells E3:E8 that have the region North on cells B3:B8 and the customer “TMA, Inc” on cells C3:C8.&lt;/p&gt;&lt;p align="justify"&gt;When moving from SUMIF to SUMIFS, you should pay attention because the syntax is in a different order.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-5421437408946407323?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/5421437408946407323/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=5421437408946407323' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/5421437408946407323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/5421437408946407323'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/02/sumif-and-sumifs-functions.html' title='SUMIF() and SUMIFS() Functions'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_QCJyNEJ4Xss/TVZo_WAIGXI/AAAAAAAAAS8/wDtY-sVN6xk/s72-c/SUMIF1_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-639415789661489738</id><published>2011-02-02T20:34:00.002Z</published><updated>2011-04-04T11:31:59.557+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Named Ranges'/><category scheme='http://www.blogger.com/atom/ns#' term='VLOOKUP'/><category scheme='http://www.blogger.com/atom/ns#' term='Validation List'/><category scheme='http://www.blogger.com/atom/ns#' term='CHOOSE'/><title type='text'>Cascading Validation Lists</title><content type='html'>&lt;p align="justify"&gt;Here’s the scenario: on our worksheet, we want to choose a Country and the corresponding City. We want to limit the countries available to the user as well as the cities that they can choose. For start, we want to choose the country and on the second cell we can only put cities that correspond to that country. It makes sense, right?    &lt;br /&gt;So, let’s start we our simple example on how we can make cascading (or dependent) Validation Lists. In cell A2 we want to put the country and on cell B2 we want to put the city, like this example:     &lt;br /&gt;&lt;a href="http://lh5.ggpht.com/_QCJyNEJ4Xss/TUm-z8hkN6I/AAAAAAAAARo/2YJBjwZU8kU/s1600-h/Cascading-Validation-Lists1%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="Cascading-Validation-Lists1" border="0" alt="Cascading-Validation-Lists1" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TUm_wUv-q9I/AAAAAAAAARs/TGGyrZjCCMg/Cascading-Validation-Lists1_thumb%5B1%5D.jpg?imgmax=800" width="340" height="85" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;To start, we have to build our “database”. On a second sheet, I’ve made a list of countries that I want to have available for the user to choose on my validation list and I putted and index number that will correspond to the right cities list. So, for instance, for France, I used the index 2 that will be corresponding to the cities list 2. You will see after how this index number will be used.    &lt;br /&gt;    &lt;br /&gt;&lt;a href="http://lh5.ggpht.com/_QCJyNEJ4Xss/TUm_w0pAFzI/AAAAAAAAARw/6Ll9Bfg6cxo/s1600-h/Cascading-Validation-Lists2%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="Cascading-Validation-Lists2" border="0" alt="Cascading-Validation-Lists2" src="http://lh6.ggpht.com/_QCJyNEJ4Xss/TUm_xgZqtBI/AAAAAAAAAR0/I0UleNbO4zM/Cascading-Validation-Lists2_thumb%5B1%5D.jpg?imgmax=800" width="565" height="165" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Now, if you’re using Excel 2010, you can have the “source” lists on a separated sheet but if you’re using Excel 2003 for instance, you can only have the values on a second sheet if you use named ranges. We will use the name ranges so that this cascading validation lists work on both versions. So, the next step is to create the named ranges for our lists. On your Formulas tab, we have the Name Manager button. When you click it, it will open the Name Manager dialog box.    &lt;br /&gt;    &lt;br /&gt;&lt;a href="http://lh5.ggpht.com/_QCJyNEJ4Xss/TUm_yEmHXOI/AAAAAAAAAR4/ODR1SSGHH-k/s1600-h/Cascading-Validation-Lists3%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="Cascading-Validation-Lists3" border="0" alt="Cascading-Validation-Lists3" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TUm_ygpfYdI/AAAAAAAAAR8/GIFdbM_H4so/Cascading-Validation-Lists3_thumb%5B1%5D.jpg?imgmax=800" width="572" height="442" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Click on the New button to add a new named range and it will open the New Name dialog box.    &lt;br /&gt;&amp;#160; &lt;br /&gt;&lt;a href="http://lh5.ggpht.com/_QCJyNEJ4Xss/TUm_zcvi8rI/AAAAAAAAASA/4Pluz7ho9sI/s1600-h/Cascading-Validation-Lists4%5B7%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="Cascading-Validation-Lists4" border="0" alt="Cascading-Validation-Lists4" src="http://lh6.ggpht.com/_QCJyNEJ4Xss/TUm_zyjRMtI/AAAAAAAAASE/kKvuC6YJlxA/Cascading-Validation-Lists4_thumb%5B3%5D.jpg?imgmax=800" width="320" height="241" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;On the Name field you can put, for instance, “Country” for our first named range and on the “Refers to” field we will select, in this case, =Sheet3!$A$3:$A$5 to get the list of countries. Click OK to finish. Then we need to create the named ranges for the rest of the lists. Click again on the New button on the Name Manager dialog box and repeat the process to create three more named ranges: England, France and Portugal, selecting for the “Refers to” field the corresponding range of cities names. This will leaves with 4 named ranges, like this:    &lt;br /&gt;    &lt;br /&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TUm_0YoYExI/AAAAAAAAASI/IGVZYP3aYWo/s1600-h/Cascading-Validation-Lists5%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="Cascading-Validation-Lists5" border="0" alt="Cascading-Validation-Lists5" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TUm_1cqxjaI/AAAAAAAAASM/DwdF1EnrBr4/Cascading-Validation-Lists5_thumb%5B1%5D.jpg?imgmax=800" width="570" height="442" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Now we can build our validations lists on our original sheet where we want to select the data from our “database”. With cell B1 selected (where we want to select our country), go to the Data tab and click on Data Validation and choose Data Validation.    &lt;br /&gt;    &lt;br /&gt;&lt;a href="http://lh5.ggpht.com/_QCJyNEJ4Xss/TUm_11foQNI/AAAAAAAAASQ/bCF-jgfo2Bs/s1600-h/Cascading-Validation-Lists6%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="Cascading-Validation-Lists6" border="0" alt="Cascading-Validation-Lists6" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TUm_2e16kYI/AAAAAAAAASU/iMyW3wMyiCo/Cascading-Validation-Lists6_thumb%5B1%5D.jpg?imgmax=800" width="390" height="114" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;This will open the Data Validation dialog box.    &lt;br /&gt;    &lt;br /&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TUm_22GnBDI/AAAAAAAAASY/7Se4T-FWpmY/s1600-h/Cascading-Validation-Lists7%5B7%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="Cascading-Validation-Lists7" border="0" alt="Cascading-Validation-Lists7" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TUm_3gkMV_I/AAAAAAAAASc/TMfURoZc8x8/Cascading-Validation-Lists7_thumb%5B3%5D.jpg?imgmax=800" width="412" height="329" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Now we want to use a list of options for the user to select so go ahead and on “Allow” change the value to “List”. This will open the Source field that is where we will put our Country named range. So put =Country and click OK. Now we want to make the second Validation List for the user to choose the city. Select, in this case, cell B2 that is where we will put this second validation list. Now comes the trick. We need to check the value of the country cell (cell B1) to get the index of the corresponding value on our “database”. If the user selected Portugal we need to get the index “3” that will tell us to get the list of cities that correspond to Portugal. For that we will make a &lt;a href="http://excel-user.blogspot.com/2009/10/vlookup-get-value-based-on-another.html"&gt;VLOOKUP&lt;/a&gt; of the value in cell B1 in the Countries table. After we get the index value, we will “choose” the list to use for the Source of our second validation list. To make this we will use this formula:&lt;/p&gt;  &lt;p align="justify"&gt;=CHOOSE(VLOOKUP(B1,Sheet3!$A$3:$B$5,2,FALSE),England,France,Portugal)&lt;/p&gt;  &lt;p align="justify"&gt;So, what does this formula do? It will start for looking up the value on cell B1 against the values on our countries table and getting the corresponding index that it will use on the CHOOSE() function to get either the 1st, 2nd or 3rd named range.&lt;/p&gt;  &lt;p align="justify"&gt;This is how our second validation list will look:&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TUm_4onIg8I/AAAAAAAAASg/gdBrvCtIf48/s1600-h/Cascading-Validation-Lists8%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="Cascading-Validation-Lists8" border="0" alt="Cascading-Validation-Lists8" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TUm_5WaY5aI/AAAAAAAAASk/Pe-DSfJD7iQ/Cascading-Validation-Lists8_thumb%5B1%5D.jpg?imgmax=800" width="413" height="328" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;The result will be two cascading or dependent Validation Lists. If we choose country France, we will have on the cities Validation List the cities from France only.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_QCJyNEJ4Xss/TUm_6IZTOiI/AAAAAAAAASo/GCSPOc7Q6yU/s1600-h/Cascading-Validation-Lists9%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="Cascading-Validation-Lists9" border="0" alt="Cascading-Validation-Lists9" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TUm_6ufA74I/AAAAAAAAASs/pmyiU63asOY/Cascading-Validation-Lists9_thumb%5B1%5D.jpg?imgmax=800" width="342" height="144" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;This article demonstrates how you can make basic cascading Validation Lists to use on your sheets. You can take this example and use it on your own real life situations.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-639415789661489738?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/639415789661489738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=639415789661489738' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/639415789661489738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/639415789661489738'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/02/cascading-validation-lists.html' title='Cascading Validation Lists'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_QCJyNEJ4Xss/TUm_wUv-q9I/AAAAAAAAARs/TGGyrZjCCMg/s72-c/Cascading-Validation-Lists1_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-7175839124545195919</id><published>2011-01-27T11:22:00.002Z</published><updated>2011-04-04T11:39:57.656+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SUBTOTAL'/><category scheme='http://www.blogger.com/atom/ns#' term='Table'/><title type='text'>Numbering rows in a Table</title><content type='html'>&lt;p align="justify"&gt;When you insert a table on your sheet (by going to Insert-Tables-Table), you may need to number the rows. When you create your table, it will look like this:&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TUFVef84kkI/AAAAAAAAARY/DG85LxZ8x3Y/s1600-h/NumberingRowsTable1%5B7%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="NumberingRowsTable1" border="0" alt="NumberingRowsTable1" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TUFVfYCYYqI/AAAAAAAAARc/V18oZYfIiZ4/NumberingRowsTable1_thumb%5B3%5D.jpg?imgmax=800" width="358" height="184" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;In this case we want to put and order number on column B. For that we just need to add the following formula into cell B5:&lt;/p&gt;  &lt;p&gt;=SUBTOTAL(3,C$2:C4)&lt;/p&gt;  &lt;p&gt;The result will be like this:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_QCJyNEJ4Xss/TUFVf_3hu_I/AAAAAAAAARg/HjTjyjCKWew/s1600-h/NumberingRowsTable2%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="NumberingRowsTable2" border="0" alt="NumberingRowsTable2" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TUFVgczhIVI/AAAAAAAAARk/tIR15pQtryk/NumberingRowsTable2_thumb%5B1%5D.jpg?imgmax=800" width="359" height="184" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;The formula uses&amp;#160; the SUBTOTAL function with the argument of 3 to COUNTA. This will give the count of all cells in column C, starting to count from the header (C2) and ending on the row that is one cell above the one with the formula. For instance, on cell B5, if you check the formula, it is counting the number of rows from C2 to C4, thus returning the result of 3.&lt;/p&gt;  &lt;p align="justify"&gt;This formula will be updated even if you sort or filter your table data.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-7175839124545195919?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/7175839124545195919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=7175839124545195919' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/7175839124545195919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/7175839124545195919'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/01/numbering-rows-in-table.html' title='Numbering rows in a Table'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_QCJyNEJ4Xss/TUFVfYCYYqI/AAAAAAAAARc/V18oZYfIiZ4/s72-c/NumberingRowsTable1_thumb%5B3%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-8648000883967289868</id><published>2011-01-24T11:35:00.002Z</published><updated>2011-01-24T11:38:00.205Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Watch Window'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel 2010'/><title type='text'>Excel 2010–Watch Window</title><content type='html'>&lt;p align="justify"&gt;Ever needed to keep an eye on a single result of a formula on one sheet while working on multiple sheets? You needed to be constantly switching from sheet to sheet to check the result every time you changed a value, right? No need for that anymore because Excel 2010 introduces the new Watch Window.    &lt;br /&gt;The Watch Window button can be found on the Formula tab, Formula Audition group. Click it and a Watch Window dialog will open. No click on the Add Watch button in the Watch Window dialog.&lt;/p&gt;&lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/_QCJyNEJ4Xss/TT1kBw0EBBI/AAAAAAAAAQ8/RI7Z67ufUts/s1600-h/WatchWindow1%5B5%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="WatchWindow1" border="0" alt="WatchWindow1" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TT1kCUCp0sI/AAAAAAAAARA/lfh1SglmXXg/WatchWindow1_thumb%5B3%5D.jpg?imgmax=800" width="448" height="177" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p align="justify"&gt;A new dialog window will open for you to select the cell that you want to watch. After you select the cell, click on the Add button to close the dialog window.&lt;/p&gt;&lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TT1kCusMGXI/AAAAAAAAARE/-opffNLsBpQ/s1600-h/WatchWindow2%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="WatchWindow2" border="0" alt="WatchWindow2" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TT1kDNMVkjI/AAAAAAAAARI/nPvsN8IqALQ/WatchWindow2_thumb%5B1%5D.jpg?imgmax=800" width="346" height="119" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p align="justify"&gt;You can repeat theses steps for all the cells that you want to check. After that you position you watch window on top of your sheet or you can position it where it doesn’t cover your sheet, on the top of it, bottom, left or right.    &lt;br /&gt;This way you will have a Watch Window that will show you the result of the cells that you’re tracking, without having to switch to the sheet where the formula is to check is result.&lt;/p&gt;&lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TT1kKA5WtUI/AAAAAAAAARM/gJOowo3mAD0/s1600-h/WatchWindow3%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="WatchWindow3" border="0" alt="WatchWindow3" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TT1kKh7tKzI/AAAAAAAAARQ/T4wN6YL60aA/WatchWindow3_thumb%5B1%5D.jpg?imgmax=800" width="447" height="176" /&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/1111290708476904315-8648000883967289868?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/8648000883967289868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=8648000883967289868' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/8648000883967289868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/8648000883967289868'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2011/01/excel-2010watch-window.html' title='Excel 2010–Watch Window'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_QCJyNEJ4Xss/TT1kCUCp0sI/AAAAAAAAARA/lfh1SglmXXg/s72-c/WatchWindow1_thumb%5B3%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-6301898689920940135</id><published>2010-11-05T10:53:00.004Z</published><updated>2011-04-09T17:37:46.672+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PDF'/><title type='text'>PDF to Excel</title><content type='html'>&lt;div align="justify"&gt;&lt;a href="http://lh5.ggpht.com/_QCJyNEJ4Xss/TNPl0KSdfMI/AAAAAAAAAQg/_DdTekKwido/s1600-h/PDF2XL2%5B3%5D.jpg"&gt;&lt;img align="left" alt="PDF2XL2" height="82" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TNPl0qy1fzI/AAAAAAAAAQk/BEGq1oKedkU/PDF2XL2_thumb%5B1%5D.jpg?imgmax=800" style="display: inline; float: left; margin: 0px 10px 0px 0px;" title="PDF2XL2" width="73" /&gt;&lt;/a&gt;I’m using a new application called PDF2XL from &lt;a href="http://www.cogniview.com/pdf2xl.php"&gt;Cogniview&lt;/a&gt; to convert data from a pdf file to an Excel file. The PDF2XL OCR version that I’m using can also use scanned PDF files as well as native ones. You can convert the data from the pdf file into Excel or even into Word or Powerpoint.&lt;/div&gt;&lt;div align="justify"&gt;The software is very easy to install and to use. When you open the program, to convert a part of your pdf file, you just need to open your pdf file inside the application, select the area that you want to convert and hit the Convert option on your menu bar. In seconds your data will open inside Excel. That’s it! With just a few mouse clicks your data will be converted into the application that you’ve chosen. Nothing is easier that this!&lt;/div&gt;&lt;div align="justify"&gt;There are 3 versions of the software to choose from:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TNPl1KCowiI/AAAAAAAAAQo/FzDi3NVAaWQ/s1600-h/PDF2XL1%5B6%5D.jpg"&gt;&lt;img alt="PDF2XL1" border="0" height="210" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TNPl1vBtenI/AAAAAAAAAQs/EUY-jerlfxY/PDF2XL1_thumb%5B4%5D.jpg?imgmax=800" style="background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="PDF2XL1" width="374" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;br /&gt;With prices starting at $97 USD for a single license I think that this is the best and most popular software on the market to convert data from pdf files into Excel.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-6301898689920940135?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/6301898689920940135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=6301898689920940135' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6301898689920940135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6301898689920940135'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/11/pdf-to-excel.html' title='PDF to Excel'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_QCJyNEJ4Xss/TNPl0qy1fzI/AAAAAAAAAQk/BEGq1oKedkU/s72-c/PDF2XL2_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-511315666592814376</id><published>2010-10-28T19:25:00.002+01:00</published><updated>2010-10-28T19:27:14.065+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Excel 2010'/><title type='text'>Excel 2010 Multithreaded Calculation</title><content type='html'>&lt;div align="justify"&gt;Since Excel 2007 version that Excel is prepared to take advantage of dual-core (or more) machines. With Multithreaded Calculation, Excel finds formulas that can be calculated simultaneous and calculates them on multiple processors at the same time.&amp;#160; &lt;br /&gt;To activate this function, you need to go to File-Tools and on the Advanced category scroll down until you find the Formulas section. Check the “Enable multi-threaded calculation” and select the “Use all processors on this computer”, as shown in this picture.&lt;/div&gt;  &lt;div align="justify"&gt;&amp;#160;&lt;/div&gt;  &lt;div align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TMnAJiRz9qI/AAAAAAAAAQY/CRTRKEUOhSs/s1600-h/Multithreaded_Calculations%5B7%5D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="Multithreaded_Calculations" border="0" alt="Multithreaded_Calculations" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TMnAKWTQ8wI/AAAAAAAAAQc/_ZIDlDF1ss0/Multithreaded_Calculations_thumb%5B3%5D.jpg?imgmax=800" width="559" height="215" /&gt;&lt;/a&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-511315666592814376?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/511315666592814376/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=511315666592814376' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/511315666592814376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/511315666592814376'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/10/excel-2010-multithreaded-calculation.html' title='Excel 2010 Multithreaded Calculation'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_QCJyNEJ4Xss/TMnAKWTQ8wI/AAAAAAAAAQc/_ZIDlDF1ss0/s72-c/Multithreaded_Calculations_thumb%5B3%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-1855584152965156022</id><published>2010-10-23T17:02:00.002+01:00</published><updated>2010-10-23T17:04:23.116+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Excel Charts'/><title type='text'>Excel Charts – Use an Image as Line Chart Markers</title><content type='html'>&lt;div align="justify"&gt;Excel line charts can have some different line markers but you can also use images to personalize your charts and give them a different look. When you create a line chart, it will look something like this simple example:&lt;/div&gt;  &lt;div align="justify"&gt;&amp;#160;&lt;/div&gt;  &lt;div align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TMMHDHDju5I/AAAAAAAAAQI/zseWADEDsPE/s1600-h/Chart_Markers_Images1%5B4%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Chart_Markers_Images1" border="0" alt="Chart_Markers_Images1" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TMMHEBuowcI/AAAAAAAAAQM/NO9K2akiXfI/Chart_Markers_Images1_thumb%5B2%5D.jpg?imgmax=800" width="598" height="557" /&gt;&lt;/a&gt; &lt;/div&gt;  &lt;div align="justify"&gt;&amp;#160;&lt;/div&gt;  &lt;div align="justify"&gt;Here we have some diamond type line markers but we want to change this for a dollar sign marker. To do this we start by adding an image to our worksheet by going to Insert tab on our menu, then on the Illustrations group we can choose to add a Shape, Clipart or a Picture. Then format the image to a size that is suitable to the chart where you want to place it. Select the image and press Ctrl+C (Copy). On your chart, click on the line series to activate it. The line markers on your chart will be selected. Press Ctrl+V (Paste) to copy the image to your line markers and that’s it. Your chart will look something like this:&lt;/div&gt;  &lt;div align="justify"&gt;&amp;#160;&lt;/div&gt;  &lt;div align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TMMHElxN82I/AAAAAAAAAQQ/F1RvgXSy8EE/s1600-h/Chart_Markers_Images2%5B4%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Chart_Markers_Images2" border="0" alt="Chart_Markers_Images2" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TMMHFdHLOaI/AAAAAAAAAQU/z2TjJiI_D5k/Chart_Markers_Images2_thumb%5B2%5D.jpg?imgmax=800" width="598" height="557" /&gt;&lt;/a&gt; &lt;/div&gt;  &lt;div align="justify"&gt;&amp;#160;&lt;/div&gt;  &lt;div align="justify"&gt;You can also have different images for each line marker. For instance, I could put green dollar signs on the months where the sales values increased and red dollar signs where the sales values decreased. When you Paste your image to your line markers, you can choose only the ones that you want to change the images instead of all the line markers.&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-1855584152965156022?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/1855584152965156022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=1855584152965156022' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/1855584152965156022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/1855584152965156022'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/10/excel-charts-use-image-as-line-chart.html' title='Excel Charts – Use an Image as Line Chart Markers'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_QCJyNEJ4Xss/TMMHEBuowcI/AAAAAAAAAQM/NO9K2akiXfI/s72-c/Chart_Markers_Images1_thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-8443823985186823542</id><published>2010-10-19T11:19:00.002+01:00</published><updated>2010-10-19T11:23:09.582+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Formulas'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel 2010'/><title type='text'>Evaluate Formulas in Excel 2010</title><content type='html'>&lt;div align="justify"&gt;Formulas in Excel calculate in a blink of an eye. Sometimes you have the needs to see what is happening in your formula calculation. For that you can use the Formula Evaluate function in Excel 2010. On the following example we have a simple formula on cell C1, has you can see on the formula bar. &lt;/div&gt;  &lt;div align="justify"&gt;   &lt;br /&gt;&lt;/div&gt;  &lt;div align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TL1wnQ28DZI/AAAAAAAAAPg/IIxilLhu10Y/s1600-h/Evaluate_Formula1%5B4%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Evaluate_Formula1" border="0" alt="Evaluate_Formula1" src="http://lh6.ggpht.com/_QCJyNEJ4Xss/TL1wnw9Ra_I/AAAAAAAAAPk/fTN7trQT0Jg/Evaluate_Formula1_thumb%5B2%5D.jpg?imgmax=800" width="479" height="286" /&gt;&lt;/a&gt;&lt;/div&gt;  &lt;div align="justify"&gt;   &lt;br /&gt;If you select the cell where the formula is and go to the Formulas tab on your menu bar, go to the Formula Audition group and select the Evaluate Formula option, has shown on the image below. This will open a Evaluate Formula dialog box where you can evaluate your formula. &lt;/div&gt;  &lt;div align="justify"&gt;   &lt;br /&gt;&lt;/div&gt;  &lt;div align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TL1wotKzosI/AAAAAAAAAPo/BAzSay8B0EE/s1600-h/Evaluate_Formula2%5B4%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Evaluate_Formula2" border="0" alt="Evaluate_Formula2" src="http://lh6.ggpht.com/_QCJyNEJ4Xss/TL1wpOckTrI/AAAAAAAAAPs/Bzyvces4CUc/Evaluate_Formula2_thumb%5B2%5D.jpg?imgmax=800" width="604" height="163" /&gt;&lt;/a&gt; &lt;/div&gt;  &lt;div align="justify"&gt;   &lt;br /&gt;You have an Evaluate button on the bottom that you can click to calculate the underlined portion of your formula (in this case A1). You can use the Step In and Step Out button to go in detail of the underlined portion of your formula. &lt;/div&gt;  &lt;div align="justify"&gt;   &lt;br /&gt;&lt;/div&gt;  &lt;div align="justify"&gt;&lt;a href="http://lh6.ggpht.com/_QCJyNEJ4Xss/TL1wppMOw5I/AAAAAAAAAPw/Y9vPVzE52KQ/s1600-h/Evaluate_Formula3%5B4%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Evaluate_Formula3" border="0" alt="Evaluate_Formula3" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TL1wqS1RHzI/AAAAAAAAAP0/6cB9E6QCc0k/Evaluate_Formula3_thumb%5B2%5D.jpg?imgmax=800" width="587" height="567" /&gt;&lt;/a&gt; &lt;/div&gt;  &lt;div align="justify"&gt;   &lt;br /&gt;You can also evaluate just a portion of your formula instead of the entire formula. For that, on the formula bar, use the mouse to select the portion of the formula that you want to evaluate. In this example, we just want to evaluate the A1+A2 portion of our simple formula. &lt;/div&gt;  &lt;div align="justify"&gt;   &lt;br /&gt;&lt;/div&gt;  &lt;div align="justify"&gt;&lt;a href="http://lh5.ggpht.com/_QCJyNEJ4Xss/TL1wqxZQEzI/AAAAAAAAAP4/ZwKuyjwPtYc/s1600-h/Evaluate_Formula4%5B4%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Evaluate_Formula4" border="0" alt="Evaluate_Formula4" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TL1wruOlv4I/AAAAAAAAAP8/x_UQfUxpEwA/Evaluate_Formula4_thumb%5B2%5D.jpg?imgmax=800" width="479" height="288" /&gt;&lt;/a&gt; &lt;/div&gt;  &lt;div align="justify"&gt;   &lt;br /&gt;Then press F9 and Excel will just calculate the portion of the formula that you’ve selected, as shown on the next image. &lt;/div&gt;  &lt;div align="justify"&gt;   &lt;br /&gt;&lt;/div&gt;  &lt;div align="justify"&gt;&lt;a href="http://lh5.ggpht.com/_QCJyNEJ4Xss/TL1wsOhDaEI/AAAAAAAAAQA/STdo_3lvol8/s1600-h/Evaluate_Formula5%5B4%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Evaluate_Formula5" border="0" alt="Evaluate_Formula5" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TL1wsmMJfiI/AAAAAAAAAQE/mzBdCUor_mA/Evaluate_Formula5_thumb%5B2%5D.jpg?imgmax=800" width="478" height="287" /&gt;&lt;/a&gt; &lt;/div&gt;  &lt;div align="justify"&gt;   &lt;br /&gt;This will display 257 on the formula bar that corresponds to the sum of A1+A2 cell values. Don’t forget to press ESC to exit the formula after you use this method because if you press Enter, that portion of the formula will stay as the calculated value, in this case, it will keep the 257 value instead of the A1+A2 formula.&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-8443823985186823542?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/8443823985186823542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=8443823985186823542' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/8443823985186823542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/8443823985186823542'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/10/evaluate-formulas-in-excel-2010.html' title='Evaluate Formulas in Excel 2010'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_QCJyNEJ4Xss/TL1wnw9Ra_I/AAAAAAAAAPk/fTN7trQT0Jg/s72-c/Evaluate_Formula1_thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-1690929031718369232</id><published>2010-10-16T18:45:00.004+01:00</published><updated>2011-03-11T10:55:02.353Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='SUBSTITUTE'/><category scheme='http://www.blogger.com/atom/ns#' term='RIGHT'/><category scheme='http://www.blogger.com/atom/ns#' term='ISERR'/><category scheme='http://www.blogger.com/atom/ns#' term='LEN'/><category scheme='http://www.blogger.com/atom/ns#' term='LEFT'/><category scheme='http://www.blogger.com/atom/ns#' term='IFERROR'/><category scheme='http://www.blogger.com/atom/ns#' term='IF'/><category scheme='http://www.blogger.com/atom/ns#' term='FIND'/><title type='text'>Get First and Last Word from a String</title><content type='html'>&lt;p align="justify"&gt;Maybe you already had the needs to extract the first and last name from a string containing the complete name of a customer. I know I did! This is a good example of the application of this article.    &lt;br /&gt;To get the first word from a string, we need to find the first space on the string. For that we can use the FIND() function. This function works from left to right so is perfect for finding the first space on the string. Then we want to retrieve the word to the left of the fist space. For that we will use the LEFT() function. Here’s how we can build our formula:&lt;/p&gt;&lt;p align="justify"&gt;=LEFT(A2,FIND(" ",A2)-1)&lt;/p&gt;&lt;p align="justify"&gt;Because we can be dealing with different strings and some may not have a space, we need to check for errors on our formula so we should use the IFERROR() function on Excel 2007 and 2010 like this:&lt;/p&gt;&lt;p align="justify"&gt;=IFERROR(LEFT(A2,FIND(" ",A2)-1),"")&lt;/p&gt;&lt;p align="justify"&gt;This way, if we find any error on our formula, instead of showing #VALUE on the cell, we just leave it blank when this happens. In previous versions of Excel the IFERROR() function doesn’t exists so we need to use the ISERR() function that is compatible with all Excel versions. Our formula needs to change to this:&lt;/p&gt;&lt;p align="justify"&gt;=IF(ISERR(FIND(" ",A2)),"",LEFT(A2,FIND(" ",A2)-1))&lt;/p&gt;&lt;p align="justify"&gt;To get the last word from a string is not so easy because what I’ve mentioned earlier, the FIND() function works from left to right so we need to find the last space on the string and get the text to the right of it. Here’s the formula:&lt;/p&gt;&lt;p align="justify"&gt;=RIGHT(A2,LEN(A2)-FIND("*",SUBSTITUTE(A2," ","*",LEN(A2)-LEN(SUBSTITUTE(A2," ","")))))&lt;/p&gt;&lt;p align="justify"&gt;As in the previous formula, we need to check for errors on our formula to avoid the #VALUE error message, so our formula turns to this:&lt;/p&gt;&lt;p align="justify"&gt;=IFERROR(RIGHT(A2,LEN(A2)-FIND("*",SUBSTITUTE(A2," ","*",LEN(A2)-LEN(SUBSTITUTE(A2," ",""))))),A2)&lt;/p&gt;&lt;p align="justify"&gt;To have a formula that is compatible to all Excel versions, we need to change our formula to this:&lt;/p&gt;&lt;p align="justify"&gt;=IF(ISERR(FIND(&amp;quot; &amp;quot;,A2)),&amp;quot;&amp;quot;,RIGHT(A2,LEN(A2)-FIND(&amp;quot;*&amp;quot;,SUBSTITUTE(A2,&amp;quot; &amp;quot;,&amp;quot;*&amp;quot;,LEN(A2)-LEN(SUBSTITUTE(A2,&amp;quot; &amp;quot;,&amp;quot;&amp;quot;))))))&lt;/p&gt;&lt;p align="justify"&gt;This will produce something like this example:&lt;/p&gt;&lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/_QCJyNEJ4Xss/TLnkslI113I/AAAAAAAAAPY/FUQJe45RE0A/s1600-h/First_Last_Word%5B4%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="First_Last_Word" border="0" alt="First_Last_Word" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TLnktD4uGQI/AAAAAAAAAPc/hirjWcjjht8/First_Last_Word_thumb%5B2%5D.jpg?imgmax=800" width="441" height="307" /&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/1111290708476904315-1690929031718369232?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/1690929031718369232/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=1690929031718369232' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/1690929031718369232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/1690929031718369232'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/10/get-first-and-last-word-from-string.html' title='Get First and Last Word from a String'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_QCJyNEJ4Xss/TLnktD4uGQI/AAAAAAAAAPc/hirjWcjjht8/s72-c/First_Last_Word_thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-985296364018823228</id><published>2010-10-16T11:48:00.002+01:00</published><updated>2010-10-16T18:49:37.048+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comments'/><title type='text'>An alternative to Cell Comments</title><content type='html'>&lt;div align="justify"&gt;You can put a comment in any Excel cell by right clicking on the cell and selecting the Insert Comment option or by going to the Review menu tab and on the Comments group, select the New Comment. &lt;/div&gt;  &lt;div align="justify"&gt;&amp;#160;&lt;/div&gt;  &lt;div align="justify"&gt;&lt;a href="http://lh6.ggpht.com/_QCJyNEJ4Xss/TLmC-sa-rhI/AAAAAAAAAPA/FiI6jsNDbsY/s1600-h/Alternative_Comments0%5B4%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Alternative_Comments0" border="0" alt="Alternative_Comments0" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TLmC_L3hrNI/AAAAAAAAAPE/uTVjNfnRYfI/Alternative_Comments0_thumb%5B2%5D.jpg?imgmax=800" width="566" height="192" /&gt;&lt;/a&gt;&amp;#160; &lt;br /&gt;Here you can also choose Show All Comments to show or hide the comments on your sheet. On the File-Options-Advanced under the Display group, you have also some options to change the way your comments appear (or not) on your sheet. As we saw on the &lt;a href="http://excel-user.blogspot.com/2010/10/change-shape-of-cell-comment.html"&gt;Change the Shape of a Cell Comment&lt;/a&gt; article, comments can have many different looks.&lt;/div&gt;  &lt;div align="justify"&gt;Excel provides an alternative to cell comments. You can use Excel’s Data Validation feature to display a pop-up message when a cell is selected. This way your message will always show up to the user even if the cell comments are disabled.    &lt;br /&gt;Do put a message on a cell using Data Validation, just select the cell where you want to put it and go to the Data menu tab, then Data Validation and select Data Validation option. &lt;/div&gt;  &lt;div align="justify"&gt;&amp;#160;&lt;/div&gt;  &lt;div align="justify"&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TLmC_pIgRLI/AAAAAAAAAPI/iSgSa1IvK0A/s1600-h/Alternative_Comments1%5B4%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Alternative_Comments1" border="0" alt="Alternative_Comments1" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TLmDAAsxKEI/AAAAAAAAAPM/yz8D1jpuo1o/Alternative_Comments1_thumb%5B2%5D.jpg?imgmax=800" width="591" height="254" /&gt;&lt;/a&gt;&amp;#160; &lt;br /&gt;This will open the Data Validation dialog box. Under the Input Message tab you can fill the Title for your pop-up message (optional) and fill the Input Message field. This is the message that will appear when you select the cell. Don’t forget to leave the “Show input message when cell is selected” check box selected.     &lt;br /&gt;&amp;#160;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TLmDAr8LBBI/AAAAAAAAAPQ/Q2dtHAAnO6g/s1600-h/Alternative_Comments2%5B9%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Alternative_Comments2" border="0" alt="Alternative_Comments2" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TLmDBVkCT6I/AAAAAAAAAPU/0FOOkqxIwhY/Alternative_Comments2_thumb%5B5%5D.jpg?imgmax=800" width="597" height="573" /&gt;&lt;/a&gt;&amp;#160; &lt;br /&gt;As you can see on the image above, the result will be a pop-up message when the cell (in this case cell A1) is selected. The pop-up message can be dragged to a different location.&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-985296364018823228?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/985296364018823228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=985296364018823228' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/985296364018823228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/985296364018823228'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/10/alternative-to-cell-comments.html' title='An alternative to Cell Comments'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_QCJyNEJ4Xss/TLmC_L3hrNI/AAAAAAAAAPE/uTVjNfnRYfI/s72-c/Alternative_Comments0_thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-7173910219545159017</id><published>2010-10-10T22:28:00.000+01:00</published><updated>2010-11-05T11:15:23.740Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Books'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel 2010'/><title type='text'>Recommended Book - Excel 2010 in Depth</title><content type='html'>&lt;div align="justify"&gt;&lt;a href="http://lh6.ggpht.com/_QCJyNEJ4Xss/TNPnSMuWZAI/AAAAAAAAAQw/wLBQqVMxZ3I/s1600-h/Excel2010_In_Depth%5B4%5D.jpg"&gt;&lt;img style="margin: 0px 7px 0px 0px; display: inline; float: left" title="Excel2010_In_Depth" alt="Excel2010_In_Depth" align="left" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TNPnSoi2YbI/AAAAAAAAAQ0/4ZwmSU8_BAQ/Excel2010_In_Depth_thumb%5B2%5D.jpg?imgmax=800" width="76" height="100" /&gt;&lt;/a&gt;The book that I'm actually reading is &lt;a href="http://www.amazon.com/Microsoft-Excel-2010-Depth-Jelen/dp/0789743086?ie=UTF8&amp;amp;tag=excuseblo09-20&amp;amp;link_code=btl&amp;amp;camp=213689&amp;amp;creative=392969" target="_blank"&gt;Microsoft Excel 2010 In Depth&lt;/a&gt; from Bill Jelen. It's a &lt;img style="border-bottom: medium none; border-left: medium none; padding-bottom: 0px !important; margin: 0px; padding-left: 0px !important; padding-right: 0px !important; border-top: medium none; border-right: medium none; padding-top: 0px !important" border="0" alt="" src="http://www.assoc-amazon.com/e/ir?t=excuseblo09-20&amp;amp;l=btl&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=0789743086" width="1" height="1" /&gt;+1,100 pages book that is well written and covers all of the main features of the new Excel 2010 version. For a big book I found it very easy to read because the book is visually attractive, with good and simple examples.     &lt;br /&gt;The book is divided under 5 main categories:&lt;/div&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;div align="justify"&gt;Changes in User Interface&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;Calculating with Excel&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;Business Intelligence&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;Visual Presentation of Data&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;Sharing&lt;/div&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;div align="justify"&gt;I definitely recommend that you read this book to get to know Excel 2010 in depth because there are so many new things to discover that you will need a big book like this one to discover them all.&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-7173910219545159017?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/7173910219545159017/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=7173910219545159017' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/7173910219545159017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/7173910219545159017'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/10/recommended-book-excel-2010-in-depth.html' title='Recommended Book - Excel 2010 in Depth'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_QCJyNEJ4Xss/TNPnSoi2YbI/AAAAAAAAAQ0/4ZwmSU8_BAQ/s72-c/Excel2010_In_Depth_thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-39801511841329200</id><published>2010-10-10T16:37:00.002+01:00</published><updated>2010-10-10T16:39:04.262+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PowerPivot'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel 2010'/><title type='text'>Excel 2010 – Introduction to PowerPivot</title><content type='html'>&lt;div align="justify"&gt;PowerPivot is a new free add-in for Excel 2010. It’s probably the most expected feature in the new version of Excel because it turns it into a powerful Business Intelligence tool. These are some of the major benefits of PowerPivot:&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div align="justify"&gt;While Excel grid goes until row 1,048,576, has we’ve seen on the &lt;a href="http://excel-user.blogspot.com/2010/10/excel-2010-grid.html"&gt;Excel 2010 Grid&lt;/a&gt; post, with PowerPivot you can handle millions of rows of data. You can sort, filter, scroll and pivot that amount of data using PowerPivot.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;You can create pivot tables with data from multiple tables.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Import data from different sources like Access, RSS, SQL Server and show the data into a single pivot table.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;DAX – Data Analysis Expressions is the new formula language in PowerPivot. DAX has 117 functions for two types of calculations: 81 normal Excel functions and 54 new functions mainly for data analysis.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Excel workbooks with PowerPivot are smaller than the ones that use traditional pivot tables.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div align="justify"&gt;There are also some negative aspects on using PowerPivot on your workbook:&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div align="justify"&gt;You can’t Group on pivot tables.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;You can’t use VBA on PowerPivot as you could with pivot tables.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;PowerPivot can’t be used with other versions of Excel, only the 2010 version.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-39801511841329200?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/39801511841329200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=39801511841329200' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/39801511841329200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/39801511841329200'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/10/excel-2010-introduction-to-powerpivot.html' title='Excel 2010 – Introduction to PowerPivot'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-6286822564033832876</id><published>2010-10-06T12:30:00.002+01:00</published><updated>2010-10-10T16:40:48.035+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Duplicates'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel 2010'/><title type='text'>Excel 2010 – Handling Duplicates</title><content type='html'>&lt;p align="justify"&gt;In previous versions of Excel, removing or highlighting duplicates was not a natural thing of Excel, you would need some tricks to do it. Excel 2010 now provides a tool to handle this easily. Take a look at this sample data:   &lt;br /&gt;    &lt;br /&gt;&lt;a href="http://lh6.ggpht.com/_QCJyNEJ4Xss/TKxd0Z7ki0I/AAAAAAAAAOk/ayoILfrlV0w/s1600-h/Duplicates1%5B4%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Duplicates1" border="0" alt="Duplicates1" src="http://lh6.ggpht.com/_QCJyNEJ4Xss/TKxd1LQxmLI/AAAAAAAAAOo/AkTfwxrpvgw/Duplicates1_thumb%5B2%5D.jpg?imgmax=800" width="455" height="348" /&gt;&lt;/a&gt;    &lt;br /&gt;As you can see, there are some Customers and Products duplicated on our table. We want to get a list of unique customers. For that we need to copy the data from column A to another section of our worksheet (in this case the range A1:A7). Then select a single cell within the data set. Go to your menu bar and on the Data tab click on the Remove Duplicates button. A Remove Duplicates dialog box will open like this:    &lt;br /&gt;    &lt;br /&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TKxd1o6dsBI/AAAAAAAAAOs/HGWpr1Yxx1g/s1600-h/Duplicates2%5B4%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Duplicates2" border="0" alt="Duplicates2" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TKxd2ZjLNcI/AAAAAAAAAOw/VwOLsuqQENo/Duplicates2_thumb%5B2%5D.jpg?imgmax=800" width="533" height="504" /&gt;&lt;/a&gt;     &lt;br /&gt;Excel will assume that you have headers on your data and will check the “My data has headers” check box and the name of your columns will appear on the list below. Here is where you will select the fields that you want to make unique records. In this case it’s just the Customer field. Click OK to close the dialog box and you will get a message with the number of duplicates found and remove and the number of unique records that remained.    &lt;br /&gt;    &lt;br /&gt;&lt;a href="http://lh5.ggpht.com/_QCJyNEJ4Xss/TKxd2969t4I/AAAAAAAAAO0/PkxMBQOXreU/s1600-h/Duplicates3%5B4%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Duplicates3" border="0" alt="Duplicates3" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TKxd3YunRkI/AAAAAAAAAO4/0o-nhfc71Mk/Duplicates3_thumb%5B2%5D.jpg?imgmax=800" width="479" height="384" /&gt;&lt;/a&gt;     &lt;br /&gt;In this example we used just a single column to check for duplicates but we could check for duplicates using more fields. We could check for unique combination of Customers and Product. For that, on the Remove Duplicates dialog box, just select both columns from the list.    &lt;br /&gt;Instead of removing your duplicate records, you may want to just highlight them on your sheet so that you can see witch are duplicated. You can do that by using Conditional Formatting option under Home tab. Please check the &lt;a href="http://excel-user.blogspot.com/2009/10/highlight-duplicates.html"&gt;Highlight Duplicates&lt;/a&gt; article for that.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-6286822564033832876?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/6286822564033832876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=6286822564033832876' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6286822564033832876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6286822564033832876'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/10/excel-2010-handling-duplicates.html' title='Excel 2010 – Handling Duplicates'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_QCJyNEJ4Xss/TKxd1LQxmLI/AAAAAAAAAOo/AkTfwxrpvgw/s72-c/Duplicates1_thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-6097542682178653820</id><published>2010-10-06T11:42:00.002+01:00</published><updated>2010-10-06T11:42:45.374+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Grid'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel 2010'/><title type='text'>Excel 2010 Grid</title><content type='html'>&lt;p align="justify"&gt;In Excel 2003 we had only 65,536 rows and 256 columns. This would gives us 16.7 million cells to work.&lt;br /&gt;In Excel 2010 we now have 1,048,576 rows and 16,384 columns. This more or less 17.1 billion cells on each worksheet witch represents a 102% increase over the old version.&lt;br /&gt;Columns in Excel 2003 where labeled from A to IV. In Excel 2010 they are labeled from A to XFD. This change means that some old range names such as YTD2005 or TAX2006 cannot be used anymore because now they are valid cell addresses. Excel automatically changes this name ranges during conversion. For example, a range name such as YTD2005 will be changed to _YTD2005.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-6097542682178653820?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/6097542682178653820/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=6097542682178653820' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6097542682178653820'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6097542682178653820'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/10/excel-2010-grid.html' title='Excel 2010 Grid'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-440378666825444395</id><published>2010-10-04T11:52:00.002+01:00</published><updated>2010-10-06T11:44:07.614+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Pictures'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel Charts'/><title type='text'>Delete all pictures or charts on Worksheet</title><content type='html'>&lt;p&gt;This is a tip on how you can delete all pictures and/or charts on a worksheet without having to manually select each one and delete them.&lt;br /&gt;So, you can use the F5 shortcut key on Excel to open the Go To dialog box.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TKmx9O4W2xI/AAAAAAAAAN0/Hlwep16RuUw/s1600-h/GoTo1%5B4%5D.jpg"&gt;&lt;img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: block; FLOAT: none; MARGIN-LEFT: auto; BORDER-TOP: 0px; MARGIN-RIGHT: auto; BORDER-RIGHT: 0px" title="GoTo1" border="0" alt="GoTo1" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TKmx9tj1paI/AAAAAAAAAN4/yofZ4r364lE/GoTo1_thumb%5B2%5D.jpg?imgmax=800" width="414" height="508" /&gt;&lt;/a&gt; &lt;br /&gt;Then click on the Special button on the bottom of the dialog box to open the Go To Special dialog box.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TKmx-dpNobI/AAAAAAAAAN8/C7uHwLJsXPA/s1600-h/GoTo2%5B4%5D.jpg"&gt;&lt;img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: block; FLOAT: none; MARGIN-LEFT: auto; BORDER-TOP: 0px; MARGIN-RIGHT: auto; BORDER-RIGHT: 0px" title="GoTo2" border="0" alt="GoTo2" src="http://lh6.ggpht.com/_QCJyNEJ4Xss/TKmx-3y5fDI/AAAAAAAAAOA/G_TSkFm7QWk/GoTo2_thumb%5B2%5D.jpg?imgmax=800" width="415" height="568" /&gt;&lt;/a&gt; &lt;p align="justify"&gt;Select the Objects option and click the OK button to close the dialog box. Now you have all of the objects on your worksheet selected. Check if you don’t have any more objects on your sheet that you don’t want to delete, like a company logo or something, before you press Delete key to delete all of them at the same time.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-440378666825444395?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/440378666825444395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=440378666825444395' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/440378666825444395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/440378666825444395'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/10/delete-all-pictures-or-charts-on.html' title='Delete all pictures or charts on Worksheet'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_QCJyNEJ4Xss/TKmx9tj1paI/AAAAAAAAAN4/yofZ4r364lE/s72-c/GoTo1_thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-9116014492022167595</id><published>2010-10-04T11:36:00.002+01:00</published><updated>2010-10-04T11:40:00.824+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shortcut keys'/><title type='text'>Excel Shortcut Keys – Part I</title><content type='html'>&lt;p align="justify"&gt;Excel has very useful shortcut keys that helps you save time while inserting data on your worksheet. This is the first of a series of posts about Excel Shortcut Keys. &lt;/p&gt;  &lt;p align="justify"&gt;&lt;strong&gt;Ctrl + Shift + ;&lt;/strong&gt;&amp;#160; Enter the current date on a cell    &lt;br /&gt;&lt;strong&gt;Ctrl + B&lt;/strong&gt;&amp;#160; Bolds highlighted selection on sheet    &lt;br /&gt;&lt;strong&gt;Ctrl + I&lt;/strong&gt;&amp;#160; Italics highlighted selection on sheet    &lt;br /&gt;&lt;strong&gt;Ctrl + U&lt;/strong&gt;&amp;#160; Underlines highlighted selection on sheet    &lt;br /&gt;&lt;strong&gt;Ctrl + Z&lt;/strong&gt;&amp;#160; Undo last action    &lt;br /&gt;&lt;strong&gt;Alt + =&lt;/strong&gt;&amp;#160; Create a formula to sum all of the above cells    &lt;br /&gt;&lt;strong&gt;Ctrl + Shift + $&lt;/strong&gt;&amp;#160; Formats the selected cells as currency format    &lt;br /&gt;&lt;strong&gt;Ctrl + Shift + #&lt;/strong&gt;&amp;#160; Formats the selected cells as date format    &lt;br /&gt;&lt;strong&gt;Ctrl + Shift + %&lt;/strong&gt;&amp;#160; Formats the selected cells as percentage format    &lt;br /&gt;&lt;strong&gt;Ctrl + Space&lt;/strong&gt;&amp;#160; Selects the entire column where the cursor is placed    &lt;br /&gt;&lt;strong&gt;Shift + Space&lt;/strong&gt;&amp;#160; Selects the entire row where the cursor is placed&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-9116014492022167595?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/9116014492022167595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=9116014492022167595' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/9116014492022167595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/9116014492022167595'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/10/excel-shortcut-keys-part-i.html' title='Excel Shortcut Keys – Part I'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-6384544453799346247</id><published>2010-10-01T19:08:00.002+01:00</published><updated>2010-10-01T19:10:11.478+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comments'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel 2010'/><title type='text'>Change the Shape of a Cell Comment</title><content type='html'>&lt;p align="justify"&gt;Cell comments is used very often on worksheets but they look always the same way because most users don’t know that they can change the shape of the comment. Instead of being this normal yellow rectangle, it can have lots shapes and colors.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TKYjddBUJoI/AAAAAAAAALs/s7bmw0fywko/s1600-h/change_comment_shape1%5B4%5D.jpg"&gt;&lt;img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: block; FLOAT: none; MARGIN-LEFT: auto; BORDER-TOP: 0px; MARGIN-RIGHT: auto; BORDER-RIGHT: 0px" title="change_comment_shape1" border="0" alt="change_comment_shape1" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TKYjd6mH7HI/AAAAAAAAALw/NqAWVBVsfIY/change_comment_shape1_thumb%5B2%5D.jpg?imgmax=800" width="478" height="184" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p align="justify"&gt;To change the comment shape, make sure that the comment is visible by right-clicking the cell where the comment is placed and choosing Show/Hide Comments options. Then just select the comment border and, in Excel 2003, go to the Draw menu and choose the Change AutoShape option and select the shape you for your comment.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TKYjeDIExEI/AAAAAAAAAL0/aRtpPaPpwHg/s1600-h/change-cell-comment-shape2003%5B4%5D.png"&gt;&lt;img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: block; FLOAT: none; MARGIN-LEFT: auto; BORDER-TOP: 0px; MARGIN-RIGHT: auto; BORDER-RIGHT: 0px" title="change-cell-comment-shape2003" border="0" alt="change-cell-comment-shape2003" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TKYjelncIpI/AAAAAAAAAL4/kfTpvxQ5W0E/change-cell-comment-shape2003_thumb%5B2%5D.png?imgmax=800" width="424" height="125" /&gt;&lt;/a&gt;&lt;br /&gt;For Excel 2010, you have to add the Change Shape button to your Quick Access Toolbar (QAT). Click on the right arrow on your QAT to open the Customize Quick Access Toolbar, like shown on the picture below. Click on the More Commands option to open the Excel Options dialog window.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TKYjfBSwoZI/AAAAAAAAAL8/BZAZGFiX4B8/s1600-h/CAMERA3%5B4%5D.jpg"&gt;&lt;img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: block; FLOAT: none; MARGIN-LEFT: auto; BORDER-TOP: 0px; MARGIN-RIGHT: auto; BORDER-RIGHT: 0px" title="CAMERA3" border="0" alt="CAMERA3" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TKYjfuNfIfI/AAAAAAAAAMA/pU9Nn8-Fev8/CAMERA3_thumb%5B2%5D.jpg?imgmax=800" width="325" height="367" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;p align="justify"&gt;&lt;p&gt;On the “Choose commands from” dropdown, select the Drawing Tools  Format Tab. On the bottom list, select the Change Shape button and click the Add button. Click OK to close the Excel Options dialog box. Your Change Shape button will appear on your QAT like this:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://lh6.ggpht.com/_QCJyNEJ4Xss/TKYjgC-nUgI/AAAAAAAAAME/GXqBxP5lciE/s1600-h/change_comment_shape3%5B4%5D.jpg"&gt;&lt;img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: block; FLOAT: none; MARGIN-LEFT: auto; BORDER-TOP: 0px; MARGIN-RIGHT: auto; BORDER-RIGHT: 0px" title="change_comment_shape3" border="0" alt="change_comment_shape3" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TKYjgtZ6rQI/AAAAAAAAAMI/12gmV-_S_84/change_comment_shape3_thumb%5B2%5D.jpg?imgmax=800" width="448" height="164" /&gt;&lt;/a&gt;&lt;br /&gt;Now that you have your button, you can select your comment border, click on the Change Shape button and select the shape that you want for your comment. the result can be something like this:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://lh5.ggpht.com/_QCJyNEJ4Xss/TKYjg9-7tLI/AAAAAAAAAMM/aVvOOye6Ks0/s1600-h/change_comment_shape4%5B4%5D.jpg"&gt;&lt;img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: block; FLOAT: none; MARGIN-LEFT: auto; BORDER-TOP: 0px; MARGIN-RIGHT: auto; BORDER-RIGHT: 0px" title="change_comment_shape4" border="0" alt="change_comment_shape4" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TKYjhpesNCI/AAAAAAAAAMQ/iDasPVeXG4o/change_comment_shape4_thumb%5B2%5D.jpg?imgmax=800" width="478" height="186" /&gt;&lt;/a&gt; &lt;br /&gt;Don’t forget that you can also change the fill color of your comments, the color and weight of your comments border, as well as many other customizations that you can do to your comments for them to stand out on your worksheet.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-6384544453799346247?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/6384544453799346247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=6384544453799346247' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6384544453799346247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6384544453799346247'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/10/change-shape-of-cell-comment.html' title='Change the Shape of a Cell Comment'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_QCJyNEJ4Xss/TKYjd6mH7HI/AAAAAAAAALw/NqAWVBVsfIY/s72-c/change_comment_shape1_thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-9074633864170745022</id><published>2010-09-25T22:17:00.002+01:00</published><updated>2010-09-25T22:19:35.737+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Excel 2010'/><title type='text'>Excel 2010 – Sparkline Charts</title><content type='html'>&lt;p align="justify"&gt;Excel 2010 has a new feature called &lt;em&gt;Sparkline charts&lt;/em&gt; that allows you to place a mini-chart inside a cell on your sheet. There are 3 type of sparkline charts: line, column and win/loss. The line and bar charts are very useful to show you a trend about your information while win/loss charts show you positive or negative numbers across a horizontal axis, represented by squares that show positive values if they are above the horizontal axis or negative if they appear below.&lt;br /&gt;To create a sparkline chart, just click on the cell where you want your chart to appear. Click on the Insert tab on your menu bar and click on the type of sparkline chart that you want. A “Create Sparklines” dialog window will appear. The cell that you’ve selected on your sheet will already appear on the field “Location Range” of the dialog window. Click on the “Data Range” field and select on your sheet the range that you want to use on your chart. The range will appear on the “Data Range” field. Click OK and you’re done.&lt;br /&gt;On this picture, you can see on cell F3 a line sparkline chart and on cell G3 a bar sparkline chart.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TJ5m_QsEnXI/AAAAAAAAAKU/tQb8BGUXzRA/s1600-h/sparklines%5B11%5D.jpg"&gt;&lt;img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: block; FLOAT: none; MARGIN-LEFT: auto; BORDER-TOP: 0px; MARGIN-RIGHT: auto; BORDER-RIGHT: 0px" title="sparklines" border="0" alt="sparklines" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TJ5nALc4bKI/AAAAAAAAAKY/XlGFh4pXfpA/sparklines_thumb%5B9%5D.jpg?imgmax=800" width="554" height="321" /&gt;&lt;/a&gt;&lt;br /&gt;On the next picture, you can see on cell F3 an example of the win/loss sparkline chart.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TJ5nBO4kg-I/AAAAAAAAAKc/gPCv50GJpqs/s1600-h/sparklines2%5B4%5D.jpg"&gt;&lt;img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: block; FLOAT: none; MARGIN-LEFT: auto; BORDER-TOP: 0px; MARGIN-RIGHT: auto; BORDER-RIGHT: 0px" title="sparklines2" border="0" alt="sparklines2" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TJ5nBlLHtHI/AAAAAAAAAKg/t_BTZZ-H4Oo/sparklines2_thumb%5B2%5D.jpg?imgmax=800" width="371" height="91" /&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/1111290708476904315-9074633864170745022?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/9074633864170745022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=9074633864170745022' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/9074633864170745022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/9074633864170745022'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/09/excel-2010-sparkline-charts.html' title='Excel 2010 – Sparkline Charts'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_QCJyNEJ4Xss/TJ5nALc4bKI/AAAAAAAAAKY/XlGFh4pXfpA/s72-c/sparklines_thumb%5B9%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-6791535422833752642</id><published>2010-09-20T11:20:00.002+01:00</published><updated>2010-10-03T20:36:44.502+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Excel Charts'/><title type='text'>Create a Self-Expanding Chart</title><content type='html'>&lt;p align="justify"&gt;This happens very often with most of the Excel users. You have a set of data that you use to create a chart. If you latter want to add more data to the chart, you need to redefine your chart data series, unless if you didn’t add rows or columns in the middle of your original data where in this case, Excel will assume them on your chart.   &lt;br /&gt;To avoid this, just create your chart as usual. Then select any cell inside the range of data that you used to create the chart. Go to Insert-Tables to convert the range of data to a table. This is all you need to do for Excel to recognize the data as a table and the data added to the table can be reflected on the chart without the need to redefine your source.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-6791535422833752642?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/6791535422833752642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=6791535422833752642' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6791535422833752642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6791535422833752642'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/09/create-self-expanding-chart.html' title='Create a Self-Expanding Chart'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-6043450270323236222</id><published>2010-09-16T08:42:00.006+01:00</published><updated>2010-09-27T17:29:30.074+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='REPT'/><title type='text'>REPT() - Repeat Function</title><content type='html'>&lt;div align="justify"&gt;The REPT() function is unknown for most of Excel users. This function repeats the given text of characters a given number of times. The syntax is like this:    &lt;br /&gt;    &lt;br /&gt;REPT(text,number_times)     &lt;br /&gt;    &lt;br /&gt;text is the text string that you want to repeat. number_times is the number of times you want to repeat the text on the cell.     &lt;br /&gt;    &lt;br /&gt;Example:     &lt;br /&gt;    &lt;br /&gt;=REPT(&amp;quot;*&amp;quot;,3) repeats the &amp;quot;*&amp;quot; character 3 times on the cell. The result will be &amp;quot;***&amp;quot;.     &lt;br /&gt;    &lt;br /&gt;A good use of this function is to make cell &amp;quot;bar&amp;quot; charts that will illustrate the dimension of the number on an adjacent value. Here's how it would look:     &lt;br /&gt;    &lt;br /&gt;&lt;/div&gt; &lt;a href="http://lh6.ggpht.com/_QCJyNEJ4Xss/TKDGZ9YKoVI/AAAAAAAAAKk/7UEs6Sp0jmc/s1600-h/REPT%5B4%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="REPT" border="0" alt="REPT" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TKDGaWvzzhI/AAAAAAAAAKo/re39o4W_LAQ/REPT_thumb%5B2%5D.jpg?imgmax=800" width="382" height="110" /&gt;&lt;/a&gt;   &lt;br /&gt;On this example, I use the character &amp;quot;■&amp;quot; from the Character Map and used the function like this:   &lt;br /&gt;=REPT(&amp;quot;■&amp;quot;,C3/1000)   &lt;br /&gt;  &lt;br /&gt;I divided the value by 1000 so that the size of the &amp;quot;bar&amp;quot; stays at a reasonable size.     &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-6043450270323236222?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/6043450270323236222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=6043450270323236222' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6043450270323236222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6043450270323236222'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/09/rept-repeat-function.html' title='REPT() - Repeat Function'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_QCJyNEJ4Xss/TKDGaWvzzhI/AAAAAAAAAKo/re39o4W_LAQ/s72-c/REPT_thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-5387258935677237379</id><published>2010-06-18T21:29:00.004+01:00</published><updated>2010-09-27T17:38:40.099+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='INDIRECT'/><title type='text'>INDIRECT() Function</title><content type='html'>&lt;div align="justify"&gt;The INDIRECT() function returns the value of the cell referenced by a text string. The syntax for this function is: &lt;/div&gt;  &lt;br /&gt;  &lt;div align="justify"&gt;&lt;strong&gt;INDIRECT&lt;/strong&gt;(ref_text, A1) &lt;/div&gt;  &lt;br /&gt;  &lt;div align="justify"&gt;   &lt;div align="justify"&gt;&lt;em&gt;ref_text&lt;/em&gt; is a reference to a cell in an A1-style reference, an R1C1-style reference, a name defined as a reference, or a reference to a cell as a text string. If it's not a valid cell reference, it will return #REF!.&lt;/div&gt;    &lt;br /&gt;    &lt;div align="justify"&gt;&lt;em&gt;A1&lt;/em&gt; is a logical value that indicates what type of reference is on cell &lt;em&gt;ref_text&lt;/em&gt;. If &lt;em&gt;A1&lt;/em&gt; is true or omitted, &lt;em&gt;ref_text&lt;/em&gt; will be interpreted as an A1-style reference; if &lt;em&gt;A1&lt;/em&gt; is FALSE, &lt;em&gt;ref_text&lt;/em&gt; will be interpreted as an R1C1-style reference.&lt;/div&gt;    &lt;br /&gt;    &lt;div align="justify"&gt;Let's see a simple example of the use of this function. Let's say that we have this workbook that has a sheet for each month of sales.     &lt;br /&gt;&lt;/div&gt;   &lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TKDIjSfFjzI/AAAAAAAAAKs/dNtCPSrY2hk/s1600-h/INDIRECT%5B9%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="INDIRECT" border="0" alt="INDIRECT" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TKDIj1zLd9I/AAAAAAAAAKw/lAe1VhImGSM/INDIRECT_thumb%5B5%5D.jpg?imgmax=800" width="462" height="164" /&gt;&lt;/a&gt;     &lt;br /&gt;    &lt;p&gt;On cell B3 we want to sum the sales values of the range A1:A10 for the month that we specify on cell B1, in this case &amp;quot;Feb&amp;quot; that corresponds to the Feb sheet on our workbook. For this we can put a formula using INDIRECT() function on cell B3 like this:     &lt;br /&gt;      &lt;br /&gt;=SUM(INDIRECT(B1&amp;amp;&amp;quot;!A1:A10&amp;quot;))&lt;/p&gt; &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-5387258935677237379?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/5387258935677237379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=5387258935677237379' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/5387258935677237379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/5387258935677237379'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/06/indirect-function.html' title='INDIRECT() Function'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_QCJyNEJ4Xss/TKDIj1zLd9I/AAAAAAAAAKw/lAe1VhImGSM/s72-c/INDIRECT_thumb%5B5%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-8522781953190378693</id><published>2010-04-10T17:17:00.002+01:00</published><updated>2011-04-09T17:37:28.552+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hide content'/><title type='text'>Hide Cell content</title><content type='html'>&lt;div align="justify"&gt;Excel doesn’t have any options to hide the content of a cell, not even the 2007 version, without hiding the row or column where that cell is. There are several ways to bypass this limitation:&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div align="justify"&gt;Use a special custom number format by right-clicking the cell that you want to hide and open the Format Cells dialog box and on the Number tab select Custom on the Category list. Then on the Type field enter ;;; (three semicolons). Click OK. &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Change the font of the cell to the same as the background color. &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Add a shape that has the same color as the background on top of the cell that you want to hide the content. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div align="justify"&gt;This methods don’t really hide the content of the cell because if you click on top of the cell you can still see the content on the formula bar. You can always hide the formula bar also to avoid this or you can do it like this:&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div align="justify"&gt;Select the cells that you want to hide the content &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Right-click to go to Format Cells or press Ctrl+1 to open the dialog box. Click on the Protection tab &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Select Hidden check box and click OK &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;In the menu bar, go to Review-Protect Sheet &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Add a password or press only the OK button &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div align="justify"&gt;This way the sheet will be protected and the cells are locked. You can’t make changes to the cells. By default, Excel makes all cells “locked”.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-8522781953190378693?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/8522781953190378693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=8522781953190378693' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/8522781953190378693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/8522781953190378693'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/04/hide-cell-content.html' title='Hide Cell content'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-6984971529390652808</id><published>2010-03-29T20:51:00.002+01:00</published><updated>2010-03-29T20:52:23.882+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Formulas'/><title type='text'>Convert Formulas to Values</title><content type='html'>&lt;p align="justify"&gt;One of the most common tasks in Excel is converting formulas to values. In Excel 2003, you could do a Copy, Paste Special-Values. In 2007 version, this operation is easier than ever. You just need to Ctrl+C to copy the range you want to paste the values and, without opening the Paste Special dialog box, you can go to Home, Clipboard, Paste-Paste Values. Then just press ESC to cancel the Copy mode. This way you will be replacing the formulas on your range by the current value that they return.&lt;br /&gt;Instead of copying the values on top of your formulas, you can copy them to another location, leaving the formulas intact.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-6984971529390652808?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/6984971529390652808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=6984971529390652808' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6984971529390652808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6984971529390652808'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/03/convert-formulas-to-values.html' title='Convert Formulas to Values'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-4967368004495045583</id><published>2010-03-23T11:02:00.003Z</published><updated>2010-03-23T11:05:17.629Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='VBA'/><title type='text'>VBA - Create folders based on names on a column</title><content type='html'>&lt;p align="justify"&gt;This is a simple thing that sometimes we need to use. We have an Excel sheet that has a list of, for example, names in column A and we want to create folders for each of them on a disk. For that we can make a small VBA code to go through each of the rows on column A and create a folder with that name on the path that we specify on our code. To do that, I came up with this code:&lt;/p&gt;  &lt;p&gt;Sub MakeFolders()   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Dim xdir As String    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Dim fso    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Dim lstrow As Long    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Dim i As Long    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Set fso = CreateObject(&amp;quot;Scripting.FileSystemObject&amp;quot;)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; lstrow = ActiveSheet.Cells(ActiveSheet.Rows.Count, &amp;quot;A&amp;quot;).End(xlUp).Row    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Application.ScreenUpdating = False    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; For i = 1 To lstrow    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'change the path on the next line where you want to create the folders    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; xdir = &amp;quot;C:\&amp;quot; &amp;amp; Range(&amp;quot;A&amp;quot; &amp;amp; i).Value    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If Not fso.FolderExists(xdir) Then    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; fso.CreateFolder (xdir)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End If    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Next    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Application.ScreenUpdating = True    &lt;br /&gt;End Sub&lt;/p&gt;  &lt;p align="justify"&gt;On this example, I will create the folders under C:\ If you want a different place, just change it on the code.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-4967368004495045583?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/4967368004495045583/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=4967368004495045583' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/4967368004495045583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/4967368004495045583'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/03/create-folders-based-on-names-on-column.html' title='VBA - Create folders based on names on a column'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-3668077092699625393</id><published>2010-03-17T22:13:00.004Z</published><updated>2010-10-01T19:10:28.395+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel 2010'/><title type='text'>Excel Camera Tool</title><content type='html'>&lt;p align="justify"&gt;Excel has a hidden feature that most of the users don’t know. It’s the Camera Tool. For Excel 2003, you can get the button for the Camera Tool by going to Tools-Customize, on the Commands tab, find the category Tools. Scroll down until you find the Camera button. Drag and drop the button into one of your toolbars. Close the customize dialog window.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/S6FT87vHpZI/AAAAAAAAAK0/G4B8ayOrWt8/s1600-h/imagem2%5B1%5D.jpg"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: block; FLOAT: none; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; MARGIN-LEFT: auto; BORDER-LEFT-WIDTH: 0px; MARGIN-RIGHT: auto" title="imagem2" border="0" alt="imagem2" src="http://lh6.ggpht.com/_QCJyNEJ4Xss/S6FT9rH-ElI/AAAAAAAAAK8/Fi9BuLKDK9Y/imagem2_thumb%5B1%5D.jpg?imgmax=800" width="409" height="399" /&gt; &lt;/a&gt;&lt;/p&gt;&lt;p align="justify"&gt;&lt;/p&gt;&lt;p align="justify"&gt;&lt;/p&gt;&lt;p align="justify"&gt;For Excel 2010, you need to make the Camera button appear on the Excel Quick Access Toolbar. Go to Quick Access Toolbar, click on the drop down button and select More Commands, like on the picture below:&lt;/p&gt;&lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TKDV--os8qI/AAAAAAAAALE/B3ZdjkrtL3g/s1600-h/CAMERA3%5B4%5D.jpg"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: block; FLOAT: none; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; MARGIN-LEFT: auto; BORDER-LEFT-WIDTH: 0px; MARGIN-RIGHT: auto" title="CAMERA3" border="0" alt="CAMERA3" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TKDV_tpwNHI/AAAAAAAAALI/kzC-1L8IaZY/CAMERA3_thumb%5B2%5D.jpg?imgmax=800" width="325" height="367" /&gt;&lt;/a&gt;&lt;br /&gt;This will open Excel Options dialog box. On the “Choose commands from” drop down select “All Commands” to see all Excel commands. Scroll down the list until you see the Camera command. Select it from the list and click on the Add button on the right. Once it appears on the right box, click OK button from the dialog box.&lt;/p&gt;&lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/_QCJyNEJ4Xss/TKDWADTwPnI/AAAAAAAAALM/kyy1YAPl9ZQ/s1600-h/CAMERA4%5B4%5D.jpg"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: block; FLOAT: none; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; MARGIN-LEFT: auto; BORDER-LEFT-WIDTH: 0px; MARGIN-RIGHT: auto" title="CAMERA4" border="0" alt="CAMERA4" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TKDWAoLFE3I/AAAAAAAAALQ/ZnbSJ3SwgRM/CAMERA4_thumb%5B2%5D.jpg?imgmax=800" width="604" height="494" /&gt;&lt;/a&gt;&lt;br /&gt;Your Camera button will appear now near the drop down button on your Excel Quick Access Toolbar:&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TKDZ06u0g9I/AAAAAAAAALk/iJs9ik5anNk/s1600-h/CAMERA5%5B4%5D.jpg"&gt;&lt;img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: block; FLOAT: none; MARGIN-LEFT: auto; BORDER-TOP: 0px; MARGIN-RIGHT: auto; BORDER-RIGHT: 0px" title="CAMERA5" border="0" alt="CAMERA5" src="http://lh6.ggpht.com/_QCJyNEJ4Xss/TKDZ1FqRxJI/AAAAAAAAALo/JjzkIt-xTtM/CAMERA5_thumb%5B2%5D.jpg?imgmax=800" width="195" height="51" /&gt;&lt;/a&gt;&lt;br /&gt;Now that you have the Camera Tool button available, let’s see what you can do with it. This tool can be very useful if you want to display a part of your sheet on another location, without affecting the formatting of that area. Let’s see a practical example. Suppose I have the following table:&lt;/p&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TKDWBA8uUhI/AAAAAAAAALU/m8U7oAcNK_o/s1600-h/CAMERA1%5B4%5D.jpg"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: block; FLOAT: none; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; MARGIN-LEFT: auto; BORDER-LEFT-WIDTH: 0px; MARGIN-RIGHT: auto" title="CAMERA1" border="0" alt="CAMERA1" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TKDWBnTGqPI/AAAAAAAAALY/fyXdrk3ZEus/CAMERA1_thumb%5B2%5D.jpg?imgmax=800" width="399" height="119" /&gt;&lt;/a&gt; &lt;br /&gt;I want to show this table on a chart. For that, I will “take a picture” of the table from one of the sheets and place the “picture” on top of the chart that I have on another sheet. Just select the table cells and click on the Camera tool button on your toolbar. Then on the sheet that has the chart just click on one cell and the “picture” of your table will be displayed like if you have inserted a picture on your sheet. You can now work this “picture” the way you want it to look and place it on top of your chart. The final result will be something like this: &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_QCJyNEJ4Xss/TKDWCBJp8aI/AAAAAAAAALc/gij9P8K1gHs/s1600-h/CAMERA2%5B19%5D.jpg"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: block; FLOAT: none; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; MARGIN-LEFT: auto; BORDER-LEFT-WIDTH: 0px; MARGIN-RIGHT: auto" title="CAMERA2" border="0" alt="CAMERA2" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TKDWCs-anWI/AAAAAAAAALg/Kt7gdTCOLuM/CAMERA2_thumb%5B13%5D.jpg?imgmax=800" width="606" height="346" /&gt;&lt;/a&gt;&lt;br /&gt;This tool is very useful if you want to display tables from different sheets without having to adjust the formatting of the target sheet. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-3668077092699625393?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/3668077092699625393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=3668077092699625393' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/3668077092699625393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/3668077092699625393'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/03/excel-camera-tool.html' title='Excel Camera Tool'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_QCJyNEJ4Xss/S6FT9rH-ElI/AAAAAAAAAK8/Fi9BuLKDK9Y/s72-c/imagem2_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-7507122630388724538</id><published>2010-02-10T10:52:00.002Z</published><updated>2010-02-10T10:55:47.072Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='VBA'/><title type='text'>VBA - Put borders around all used cells on a sheet</title><content type='html'>&lt;p&gt;This code is used to put borders around every used cell on a sheet.&lt;/p&gt;  &lt;p&gt;Sub DrawBorders()   &lt;br /&gt;&amp;#160;&amp;#160; With Cells.SpecialCells(xlCellTypeConstants, 23)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .BorderAround xlContinuous, xlThin, xlColorIndexAutomatic    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; On Error Resume Next 'used in case there are no inside borders    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; With .Borders(xlInsideHorizontal)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .LineStyle = xlContinuous    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .Weight = xlThin    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .ColorIndex = xlAutomatic    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End With    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; With .Borders(xlInsideVertical)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .LineStyle = xlContinuous    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .Weight = xlThin    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .ColorIndex = xlAutomatic    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End With    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; End With    &lt;br /&gt;End Sub&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-7507122630388724538?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/7507122630388724538/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=7507122630388724538' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/7507122630388724538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/7507122630388724538'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/02/vba-put-borders-around-all-used-cells.html' title='VBA - Put borders around all used cells on a sheet'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-7297314218519873387</id><published>2010-02-08T09:32:00.001Z</published><updated>2010-09-25T22:27:51.767+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VBA'/><title type='text'>VBA - How to Autofilter all of your sheets</title><content type='html'>&lt;p align="justify"&gt;If you want to put Autofilter on all of the sheets on a workbook, you can't do it by select all of the sheets on the sheets tabs. Instead you can use this simple VBA code:    &lt;br /&gt;    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;Sub Autofilterall() &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; Dim ws As Worksheet    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Application.ScreenUpdating = False     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; For Each ws In ActiveWorkbook.Worksheets     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ws.Activate     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Range(&amp;quot;A1&amp;quot;).Activate     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Selection.AutoFilter     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Next ws     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Application.ScreenUpdating = True &lt;/p&gt;  &lt;p&gt;End Sub&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-7297314218519873387?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/7297314218519873387/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=7297314218519873387' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/7297314218519873387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/7297314218519873387'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/02/vba-how-to-autofilter-all-of-your.html' title='VBA - How to Autofilter all of your sheets'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-8232170288809630173</id><published>2010-02-07T16:02:00.007Z</published><updated>2010-02-10T11:00:06.047Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='VBA'/><title type='text'>VBA - Get Sheets names and Rows count</title><content type='html'>&lt;div align="justify"&gt;This article is based on a specific question that I was asked. &amp;quot;How to get all of the sheets names and number of filled rows in column A from a workbook in a new sheet?&amp;quot;. This is the code I came up to solve the problem:   &lt;br /&gt;    &lt;br /&gt;&lt;/div&gt;  &lt;p&gt;Sub GetSheetNames_andRowCounts() &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; Dim i As Integer   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Dim j As Integer    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Dim SheetCnt As Integer    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Dim lstRow As Long    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Dim ws1 As Worksheet    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Dim SheetName As String    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; With Application    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .DisplayAlerts = False    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .EnableEvents = False    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .ScreenUpdating = False    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; End With    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; On Error Resume Next    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; 'Delete the Target Sheet on the document (in case it exists)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Sheets(&amp;quot;Target&amp;quot;).Delete    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; SheetCnt = Worksheets.Count    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; 'Add the Target Sheet    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Sheets.Add after:=Worksheets(SheetCnt)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; ActiveSheet.Name = &amp;quot;Target&amp;quot;    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Set ws1 = Worksheets(&amp;quot;Target&amp;quot;)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; j = 1    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; 'Combine the sheets    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; For i = 1 To SheetCnt    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Worksheets(i).Select    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'check what is the last row with data using column A as a reference    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; lstRow = ActiveSheet.Cells(65536, &amp;quot;A&amp;quot;).End(xlUp).Row    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'get the name of the sheet    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; SheetName = Worksheets(i).Name    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'assign the values to the Target sheet    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ws1.Cells(j, 1).Value = SheetName    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ws1.Cells(j, 2).Value = lstRow1    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; j = j + 1    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Next    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; With Application    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .DisplayAlerts = True    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .EnableEvents = True    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .ScreenUpdating = True    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; End With    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Sheets(&amp;quot;Target&amp;quot;).Select    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Cells.EntireColumn.AutoFit    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Range(&amp;quot;A1&amp;quot;).Select &lt;/p&gt;  &lt;p&gt;End Sub&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-8232170288809630173?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/8232170288809630173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=8232170288809630173' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/8232170288809630173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/8232170288809630173'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/02/vba-get-sheets-names-and-rows-count.html' title='VBA - Get Sheets names and Rows count'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-8846353192735488288</id><published>2010-01-25T20:32:00.005Z</published><updated>2010-02-10T11:01:57.082Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='VBA'/><title type='text'>VBA - Add photos to cells inside comments</title><content type='html'>&lt;div align="justify"&gt;I have a sheet with employees numbers and names and I wanted to see the corresponding photo of each employee. I have a folder with the photos of each employee. Each filename is the employee's number. To be able to see the photos, I decided to put each photo inside a comment on each employee number cell. This way, when I pass over the employee number, a comment window will show up with the employee's photo. It will look like this:&lt;/div&gt;  &lt;p&gt;&lt;img style="text-align: center; margin: 0px auto 10px; width: 400px; display: block; height: 295px; cursor: hand" id="BLOGGER_PHOTO_ID_5430781057919933394" border="0" alt="" src="http://2.bp.blogspot.com/_QCJyNEJ4Xss/S14CmUI829I/AAAAAAAAAH0/oeUwDVDn2tU/s400/image14.JPG" /&gt;For this, I have the following code:    &lt;br /&gt;    &lt;br /&gt;Sub InsertPictures()    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Dim cll As Range    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Dim rng As Range    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Dim strPath As String    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; strPath = &amp;quot;D:\Photo Folder&amp;quot;    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; With Sheets(&amp;quot;Sheet1&amp;quot;)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Set rng = Range(&amp;quot;A2:A416&amp;quot;)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; End With    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; For Each cll In rng    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If Dir$(strPath &amp;amp; &amp;quot;\&amp;quot; &amp;amp; cll.Value &amp;amp; &amp;quot;.jpg&amp;quot;) &amp;lt;&amp;gt; &amp;quot;&amp;quot; Then    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; With cll    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .ClearComments    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .AddComment (&amp;quot;&amp;quot;)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .Comment.Shape.Fill.UserPicture (strPath &amp;amp; &amp;quot;\&amp;quot; &amp;amp; cll.Value &amp;amp; &amp;quot;.jpg&amp;quot;)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .Comment.Shape.Height = 160    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .Comment.Shape.Width = 120    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .Comment.Shape.LockAspectRatio = msoTrue    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End With    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End If    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Next cll &lt;/p&gt;  &lt;p&gt;End Sub&lt;/p&gt;  &lt;p&gt;You can adjust the size of your photos by changing the Height (160) and Width (120).&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-8846353192735488288?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/8846353192735488288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=8846353192735488288' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/8846353192735488288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/8846353192735488288'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/01/vba-add-photos-to-cells-inside-comments.html' title='VBA - Add photos to cells inside comments'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_QCJyNEJ4Xss/S14CmUI829I/AAAAAAAAAH0/oeUwDVDn2tU/s72-c/image14.JPG' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-5614640751910620684</id><published>2010-01-14T22:33:00.006Z</published><updated>2011-04-06T12:11:03.054+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Excel Charts'/><title type='text'>Excel Charts - Hide Zeros</title><content type='html'>If you have a series of data to display on an Excel Chart, like this one:  &lt;br /&gt;  &lt;br /&gt;&lt;img style="text-align: center; margin: 0px auto 10px; width: 324px; display: block; height: 115px; cursor: hand" id="BLOGGER_PHOTO_ID_5426728337881276594" border="0" alt="" src="http://2.bp.blogspot.com/_QCJyNEJ4Xss/S0-cq9f1oLI/AAAAAAAAAHU/0qFWyaWjv_o/s400/image11.JPG" /&gt;It will look something like this:  &lt;br /&gt;  &lt;br /&gt;  &lt;p align="justify"&gt;&lt;img style="text-align: center; margin: 0px auto 10px; width: 400px; display: block; height: 209px; cursor: hand" id="BLOGGER_PHOTO_ID_5426728671064696706" border="0" alt="" src="http://4.bp.blogspot.com/_QCJyNEJ4Xss/S0-c-Ws9J4I/AAAAAAAAAHc/hFCcGgfLAi8/s400/image10.JPG" /&gt;As you can see, the chart will display the zero values. If you want to hide the zeros, you have two ways of doing:&lt;/p&gt;  &lt;p align="justify"&gt;Method 1:   &lt;br /&gt;1) Select the range of cells where you have the values for your chart    &lt;br /&gt;2) Right click and select Format Cells    &lt;br /&gt;3) On the Number tab, on Category, select Custom    &lt;br /&gt;4) In the &amp;quot;Type&amp;quot; box you will see the current format for the range you selected    &lt;br /&gt;5) Put the cursor on the end of the content of the Type box and enter 0,0;;; it it will look something like this picture:    &lt;br /&gt;&lt;/p&gt; &lt;img style="text-align: center; margin: 0px auto 10px; width: 400px; display: block; height: 377px; cursor: hand" id="BLOGGER_PHOTO_ID_5426732144943835970" border="0" alt="" src="http://2.bp.blogspot.com/_QCJyNEJ4Xss/S0-gIj6SK0I/AAAAAAAAAHk/w8j1lhkS9jQ/s400/image12.JPG" /&gt;6) Your zero values will be hiden now   &lt;p align="justify"&gt;Method 2:   &lt;br /&gt;Go to Tools, Options and on the View tab, under Window option, uncheck the Zero values options, like this:&lt;/p&gt; &lt;img style="text-align: center; margin: 0px auto 10px; width: 400px; display: block; height: 317px; cursor: hand" id="BLOGGER_PHOTO_ID_5426733062542229890" border="0" alt="" src="http://3.bp.blogspot.com/_QCJyNEJ4Xss/S0-g9-OygYI/AAAAAAAAAHs/bfFkkC1wCjE/s400/image13.JPG" /&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-5614640751910620684?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/5614640751910620684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=5614640751910620684' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/5614640751910620684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/5614640751910620684'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2010/01/excel-charts-hide-zeros.html' title='Excel Charts - Hide Zeros'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_QCJyNEJ4Xss/S0-cq9f1oLI/AAAAAAAAAHU/0qFWyaWjv_o/s72-c/image11.JPG' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-7108963995229072277</id><published>2009-11-16T23:08:00.003Z</published><updated>2011-04-09T17:36:44.857+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Time'/><title type='text'>Convert numbers to minutes</title><content type='html'>If you have a series of values like this:&lt;br /&gt;&lt;br /&gt;12.5&lt;br /&gt;9.3&lt;br /&gt;10.7&lt;br /&gt;&lt;br /&gt;and want to convert this numbers to a minutes/seconds format you can use this formula:&lt;br /&gt;&lt;br /&gt;=A1/(24*60)&lt;br /&gt;&lt;br /&gt;This assumes that the values below are on cells A1:A3 and this formula is placed on cell B1 and copied down. You need to format the cells B1:B3 as Custom mm:ss to see this:&lt;br /&gt;&lt;br /&gt;12:30&lt;br /&gt;09:18&lt;br /&gt;10:42&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-7108963995229072277?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/7108963995229072277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=7108963995229072277' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/7108963995229072277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/7108963995229072277'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/11/convert-numbers-to-minutes.html' title='Convert numbers to minutes'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-4817367811997056320</id><published>2009-11-13T11:08:00.005Z</published><updated>2010-09-25T22:28:16.840+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Paste Special'/><title type='text'>Multiply range of values by a value</title><content type='html'>&lt;p align="justify"&gt;One of the most common tasks that we need to do in Excel is multiply a range of value on a sheet by a specific value, say, multiply a range of values by 100. This can be done very easily by following this steps. Say you have this sheet:   &lt;br /&gt;    &lt;br /&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;img style="text-align: center; margin: 0px auto 10px; width: 339px; display: block; height: 165px; cursor: hand" id="BLOGGER_PHOTO_ID_5403543958036831042" border="0" alt="alt" src="http://3.bp.blogspot.com/_QCJyNEJ4Xss/Sv0-mcL-W0I/AAAAAAAAAHA/rszw2w_-YSk/s400/image8.JPG" /&gt;In cell A5 you should put the value that you want to use to multiply the values on cells A1:D3. Now on cell A5 make a Ctrl+C (Copy) and select the cells A1:D3. Right-click on top of the range and select Paste Special, on Paste options select the Values and on Operation select Multiply. Click OK. Now your sheet should look like this:&lt;/p&gt; &lt;img style="text-align: center; margin: 0px auto 10px; width: 336px; display: block; height: 165px; cursor: hand" id="BLOGGER_PHOTO_ID_5403546053357497234" border="0" alt="alt" src="http://3.bp.blogspot.com/_QCJyNEJ4Xss/Sv1AgZ3Wa5I/AAAAAAAAAHI/6azMTtq2f2c/s400/image9.JPG" /&gt;  &lt;br /&gt;  &lt;p&gt;If instead of multipying the values by 100, you Add, Substract or Divide the values by the value that you select on another cell (in this case I used the cell A5).&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-4817367811997056320?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/4817367811997056320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=4817367811997056320' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/4817367811997056320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/4817367811997056320'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/11/multiply-range-of-values-by-value.html' title='Multiply range of values by a value'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_QCJyNEJ4Xss/Sv0-mcL-W0I/AAAAAAAAAHA/rszw2w_-YSk/s72-c/image8.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-2155693049375358270</id><published>2009-11-05T09:53:00.003Z</published><updated>2009-11-05T09:55:48.292Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='MATCH'/><title type='text'>Get row number from a match</title><content type='html'>&lt;p&gt;Excel has a function to locate a value on a range of cells and return the number of the row where the value is found, it’s the MATCH() function. The syntax is like this:   &lt;br /&gt;    &lt;br /&gt;&lt;b&gt;MATCH&lt;/b&gt;(&lt;b&gt;lookup_value&lt;/b&gt;,&lt;b&gt;lookup_array&lt;/b&gt;,match_type)    &lt;br /&gt;    &lt;br /&gt;&lt;em&gt;lookup_value&lt;/em&gt; is the value that we want to look for and &lt;em&gt;lookup_array&lt;/em&gt; is the range of cells where we want to search. &lt;em&gt;match_type&lt;/em&gt; can have 3 values:    &lt;br /&gt;1 - finds the largest value that is less than or equal to lookup_value. Lookup_array must be placed in ascending order;    &lt;br /&gt;0 - finds the first value that is exactly equal to lookup_value    &lt;br /&gt;-1 - finds the smallest value that is greater than or equal to lookup_value. Lookup_array must be placed in descending order.    &lt;br /&gt;If match_type is omitted, it will assume to be 1.    &lt;br /&gt;Here’s an example. We have the following table: &lt;/p&gt; &lt;img style="text-align: center; margin: 0px auto 10px; width: 141px; display: block; height: 172px; cursor: hand" id="BLOGGER_PHOTO_ID_5400555567609177538" border="0" alt="" src="http://3.bp.blogspot.com/_QCJyNEJ4Xss/SvKgrOUaZcI/AAAAAAAAAG4/9Tx2tMZmJ1w/s400/imagem2.jpg" /&gt;  &lt;br /&gt;We want to find the name Mary on the range of A2:A6. So we should use this formula:  &lt;br /&gt;  &lt;br /&gt;=MATCH(&amp;quot;Mary&amp;quot;,A2:A6,0)  &lt;br /&gt;  &lt;br /&gt;This will return 2 because the name Mary can be found on cell A2.    &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-2155693049375358270?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/2155693049375358270/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=2155693049375358270' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/2155693049375358270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/2155693049375358270'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/11/get-row-number-from-match.html' title='Get row number from a match'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_QCJyNEJ4Xss/SvKgrOUaZcI/AAAAAAAAAG4/9Tx2tMZmJ1w/s72-c/imagem2.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-1779816889441549778</id><published>2009-11-02T22:07:00.002Z</published><updated>2010-10-02T18:57:52.933+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Excel Charts'/><title type='text'>Excel Charts - Add totals labels to Stacked Column chart</title><content type='html'>Let's say that I have the following table of data:&amp;#160; &lt;br /&gt;  &lt;br /&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TKdyi3ClRiI/AAAAAAAAAM0/vAxlgJ28k1k/s1600-h/ExcelCharts_Add_Totals1%5B4%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="ExcelCharts_Add_Totals1" border="0" alt="ExcelCharts_Add_Totals1" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TKdyjt0LsfI/AAAAAAAAAM4/IfpsZ6m7VAc/ExcelCharts_Add_Totals1_thumb%5B2%5D.jpg?imgmax=800" width="492" height="307" /&gt;&lt;/a&gt;&amp;#160; &lt;br /&gt;I can make a Stacked Column chart with 3 series, one for each Vendor. The chart will look like this:&amp;#160; &lt;br /&gt;  &lt;br /&gt;&lt;a href="http://lh6.ggpht.com/_QCJyNEJ4Xss/TKdykMsG1PI/AAAAAAAAAM8/8t_qyZlXees/s1600-h/ExcelCharts_Add_Totals2%5B4%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="ExcelCharts_Add_Totals2" border="0" alt="ExcelCharts_Add_Totals2" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TKdyk5tYfPI/AAAAAAAAANA/w4yp9c4hSlY/ExcelCharts_Add_Totals2_thumb%5B2%5D.jpg?imgmax=800" width="555" height="507" /&gt;&lt;/a&gt;   &lt;br /&gt;  &lt;div align="justify"&gt;   &lt;div align="justify"&gt;But I want to display on the top of each bar, the total for the Week (the sum of each Vendor). To do that, I need to add a 4th series to the chart. For that I select the chart and right-click on top of it and select Source Data. On the Series tab, on the Series, click on the Add button to add a new series. For the Values range, select the cells where the values of Total are on our table. For the Name, select the cell where we have &amp;quot;Total&amp;quot;. Click OK and you will get a chart like this:&lt;/div&gt;    &lt;div align="justify"&gt;&amp;#160; &lt;br /&gt;&lt;a href="http://lh5.ggpht.com/_QCJyNEJ4Xss/TKdylcnkE8I/AAAAAAAAANE/iD8onj5k7m8/s1600-h/ExcelCharts_Add_Totals3%5B9%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="ExcelCharts_Add_Totals3" border="0" alt="ExcelCharts_Add_Totals3" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TKdymWaPDTI/AAAAAAAAANI/8VZuQdmgydo/ExcelCharts_Add_Totals3_thumb%5B5%5D.jpg?imgmax=800" width="556" height="507" /&gt;&lt;/a&gt;&amp;#160; &lt;br /&gt;Select this new series on the chart, right click and choose Format Data Series. On the Data Labels tab, Label Contains mark Value. Then on the Patterns tab put Border-None and Area-None. Click OK. Now select the labels, right click on them, choose Format Data Labels and on the Alignment tab, Label Position choose Inside Base. Click OK. You need to adjust the scale of your chart so that it looks like the original one. In this case, I changed Maximum value to 450 instead of Automatic. As you can see, the “Total” series name still shows up on the Legend. You need to select the Total legend and delete. The final result will be this something like this:&lt;/div&gt;    &lt;br /&gt;&lt;a href="http://lh5.ggpht.com/_QCJyNEJ4Xss/TKdynGrFHvI/AAAAAAAAANM/qgT9z24ilJM/s1600-h/ExcelCharts_Add_Totals4%5B4%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="ExcelCharts_Add_Totals4" border="0" alt="ExcelCharts_Add_Totals4" src="http://lh6.ggpht.com/_QCJyNEJ4Xss/TKdyn5kXjRI/AAAAAAAAANQ/Pbis7CY3K_U/ExcelCharts_Add_Totals4_thumb%5B2%5D.jpg?imgmax=800" width="555" height="508" /&gt;&lt;/a&gt;&amp;#160; &lt;br /&gt;    &lt;div&gt;Hope this helps you create better charts in Excel!&lt;/div&gt; &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-1779816889441549778?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/1779816889441549778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=1779816889441549778' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/1779816889441549778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/1779816889441549778'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/11/excel-charts-add-totals-labels-to.html' title='Excel Charts - Add totals labels to Stacked Column chart'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_QCJyNEJ4Xss/TKdyjt0LsfI/AAAAAAAAAM4/IfpsZ6m7VAc/s72-c/ExcelCharts_Add_Totals1_thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-828575607274291811</id><published>2009-11-02T11:07:00.003Z</published><updated>2010-10-02T18:37:06.413+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VBA'/><title type='text'>VBA – Define dynamic ranges</title><content type='html'>&lt;p align="justify"&gt;In VBA code we can define a dynamic range by checking the last row that has data on it. this can be defined in various ways. Here is a simple way of doing it:&lt;/p&gt;  &lt;p&gt;Dim rng As Range    &lt;br /&gt;rng = Range(&amp;quot;A12:C&amp;quot; &amp;amp; Worksheets(&amp;quot;Sheet1&amp;quot;).Range(&amp;quot;C65535&amp;quot;).End(xlUp).Row + 1)&lt;/p&gt;  &lt;p align="justify"&gt;This will get us the range A12:C200 if C200 is the last used cell in column C.    &lt;br /&gt;You can also define a range that gets all of the columns in row 1 that are used as column headers, like this:&lt;/p&gt;  &lt;p&gt;Dim ws As Worksheet    &lt;br /&gt;Dim rng As RangeSet     &lt;br /&gt;ws = ActiveSheetSet     &lt;br /&gt;rng = Intersect(ws.Rows(1), ws.UsedRange)&lt;/p&gt;  &lt;p&gt;This will get us the range of A1:D4 if columns A, B, C and D have data on it. &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-828575607274291811?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/828575607274291811/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=828575607274291811' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/828575607274291811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/828575607274291811'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/11/vba-define-dynamic-ranges.html' title='VBA – Define dynamic ranges'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-4048880637891150926</id><published>2009-11-02T10:20:00.025Z</published><updated>2010-09-25T22:29:02.410+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='COUNTIF'/><category scheme='http://www.blogger.com/atom/ns#' term='VBA'/><title type='text'>VBA – Get font color Function</title><content type='html'>&lt;p align="justify"&gt;When we have colors on our sheets data and want, for instance, to count how many “red” words we have on our sheet, that is not possible because there is no formula in Excel to check for font colors. Instead we can create our own VBA Function to get the font color. It’s a very simple code. You have to insert it on a VBA module on your sheet.&lt;/p&gt;  &lt;p&gt;Function GetFontColor(ByVal Target As Range) As Object    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; GetFontColor = Target.Font.ColorIndex     &lt;br /&gt;End Function&lt;/p&gt;  &lt;br /&gt;  &lt;p&gt;Then you can use it on your sheet like this: &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;GETFONTCOLOR(A2)    &lt;br /&gt;    &lt;br /&gt;Below is an example on how you can use this function. In column C we put the font color of text in column A.&lt;/p&gt; &lt;img style="text-align: center; margin: 0px auto 10px; width: 298px; display: block; height: 203px; cursor: hand" id="BLOGGER_PHOTO_ID_5399449490076952770" border="0" alt="alt" src="http://4.bp.blogspot.com/_QCJyNEJ4Xss/Su6ytCazaMI/AAAAAAAAAFw/XlWJtv06pXA/s320/lixo.jpg" /&gt; To count the number of “red” words in column A we can simple to this:   &lt;br /&gt;  &lt;br /&gt;COUNTIF(C2:C9,3)   &lt;br /&gt;  &lt;br /&gt;“3” in the formula refers to the color red.     &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-4048880637891150926?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/4048880637891150926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=4048880637891150926' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/4048880637891150926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/4048880637891150926'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/11/vba-get-font-color-function.html' title='VBA – Get font color Function'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_QCJyNEJ4Xss/Su6ytCazaMI/AAAAAAAAAFw/XlWJtv06pXA/s72-c/lixo.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-3509442780883869820</id><published>2009-10-31T14:19:00.003Z</published><updated>2010-10-02T18:35:56.532+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PDF'/><category scheme='http://www.blogger.com/atom/ns#' term='Add-in'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel 2007'/><title type='text'>Add-in – Save Excel 2007 file as Pdf</title><content type='html'>&lt;p align="justify"&gt;Many times we need to send our Excel files to someone but we don’t want them to be able to edit our files. One of the ways that we can use to do that is to save the Excel sheet as a PDF file. With Office 2007 we don’t need a third party tool to convert our sheets, we can install an Add-in from Microsoft that can be found on the link below:&lt;/p&gt;&lt;p&gt;&lt;a title="http://www.microsoft.com/downloads/details.aspx?FamilyId=" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=4D951911-3E7E-4AE6-B059-A2E79ED87041&amp;amp;displaylang=en" displaylang="en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=4D951911-3E7E-4AE6-B059-A2E79ED87041&amp;amp;displaylang=en&lt;/a&gt;&lt;/p&gt;&lt;p align="justify"&gt;This Add-in allows you to export not only Excel sheets but also other Office 2007 programs. The sheets can be exported either to PDF or XPS format. It also allows to send as an email attachment in this formats.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-3509442780883869820?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/3509442780883869820/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=3509442780883869820' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/3509442780883869820'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/3509442780883869820'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/10/add-in-save-excel-2007-file-as-pdf.html' title='Add-in – Save Excel 2007 file as Pdf'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-1958641160336050397</id><published>2009-10-31T11:27:00.003Z</published><updated>2010-10-11T19:06:33.484+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VBA'/><title type='text'>VBA – Combine sheets data into one sheet</title><content type='html'>&lt;p align="justify"&gt;I have a Workbook with multiple sheets, all with the same configuration, with headers on row 1 and data starting from row 2.    &lt;br /&gt;I want to combine the data from all the sheets into one single sheet called “Target”. I have to go through all the sheets and check what is the last row and the last column with data to define the range that I’m going to copy to the Target sheet. I think that the code is all well commented for you to understand how this is done. This is a simple example how to combine data from multiple sheets into one single sheet. This can be done other ways or can be more complex with sheets with different columns or so. This will be handled in future articles.&lt;/p&gt;  &lt;pre&gt;&lt;font face="Arial"&gt;Sub CombineSheets() &lt;br /&gt;&lt;br /&gt;    'This macro will copy all rows from the first sheet &lt;br /&gt;    '(including headers) &lt;br /&gt;    'and on the next sheets will copy only the data &lt;br /&gt;    '(starting on row 2) &lt;br /&gt;&lt;br /&gt;    Dim i As Integer &lt;br /&gt;    Dim j As Long &lt;br /&gt;    Dim SheetCnt As Integer &lt;br /&gt;    Dim lstRow1 As Long&lt;br /&gt;    Dim lstRow2 As Long&lt;br /&gt;    Dim lstCol As Integer &lt;br /&gt;    Dim ws1 As Worksheet &lt;br /&gt;&lt;br /&gt;    With Application &lt;br /&gt;        .DisplayAlerts = False &lt;br /&gt;        .EnableEvents = False &lt;br /&gt;        .ScreenUpdating = False &lt;br /&gt;    End With &lt;br /&gt;&lt;br /&gt;    On Error Resume Next &lt;br /&gt;&lt;br /&gt;    'Delete the Target Sheet on the document (in case it exists) &lt;br /&gt;    Sheets(&amp;quot;Target&amp;quot;).Delete &lt;br /&gt;    'Count the number of sheets on the Workbook &lt;br /&gt;    SheetCnt = Worksheets.Count &lt;br /&gt;&lt;br /&gt;    'Add the Target Sheet &lt;br /&gt;    Sheets.Add after:=Worksheets(SheetCnt) &lt;br /&gt;    ActiveSheet.Name = &amp;quot;Target&amp;quot; &lt;br /&gt;    Set ws1 = Sheets(&amp;quot;Target&amp;quot;) &lt;br /&gt;    lstRow2 = 1 &lt;br /&gt;    'Define the row where to start copying &lt;br /&gt;    '(first sheet will be row 1 to include headers) &lt;br /&gt;    j = 1 &lt;br /&gt;&lt;br /&gt;    'Combine the sheets &lt;br /&gt;    For i = 1 To SheetCnt &lt;br /&gt;        Worksheets(i).Select &lt;br /&gt;&lt;br /&gt;        'check what is the last column with data &lt;br /&gt;        lstCol = ActiveSheet.Cells(1, Activesheet.Columns.Count).End(xlToLeft).Column &lt;br /&gt;&lt;br /&gt;        'check what is the last row with data &lt;br /&gt;        lstRow1 = ActiveSheet.Cells(activesheet.rows.count, &amp;quot;A&amp;quot;).End(xlUp).Row&lt;br /&gt;&lt;br /&gt;        'Define the range to copy &lt;br /&gt;        Range(&amp;quot;A&amp;quot; &amp;amp; j, Cells(lstRow1, lstCol)).Select &lt;br /&gt;&lt;br /&gt;        'Copy the data &lt;br /&gt;        Selection.Copy &lt;br /&gt;        ws1.Range(&amp;quot;A&amp;quot; &amp;amp; lstRow2).PasteSpecial &lt;br /&gt;        Application.CutCopyMode = False &lt;br /&gt;&lt;br /&gt;        'Define the new last row on the Target sheet &lt;br /&gt;        lstRow2 = ws1.Cells(65536, &amp;quot;A&amp;quot;).End(xlUp).Row + 1 &lt;br /&gt;&lt;br /&gt;        'Define the row where to start copying &lt;br /&gt;        '(2nd sheet onwards will be row 2 to only get data) &lt;br /&gt;        j = 2 &lt;br /&gt;    Next &lt;br /&gt;&lt;br /&gt;    With Application &lt;br /&gt;        .DisplayAlerts = True &lt;br /&gt;        .EnableEvents = True &lt;br /&gt;        .ScreenUpdating = True &lt;br /&gt;    End With &lt;br /&gt;&lt;br /&gt;    Sheets(&amp;quot;Target&amp;quot;).Select &lt;br /&gt;    Cells.EntireColumn.AutoFit &lt;br /&gt;    Range(&amp;quot;A1&amp;quot;).Select &lt;br /&gt;&lt;br /&gt;End Sub&lt;/font&gt;&lt;/pre&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-1958641160336050397?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/1958641160336050397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=1958641160336050397' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/1958641160336050397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/1958641160336050397'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/10/vba-combine-sheets-data-into-one-sheet.html' title='VBA – Combine sheets data into one sheet'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-248275954077506728</id><published>2009-10-28T18:24:00.002Z</published><updated>2010-10-02T10:47:05.535+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Excel Charts'/><title type='text'>Excel Charts – Do not show empty dates</title><content type='html'>&lt;div align="justify"&gt;When we create a new chart in Excel, if the X axis labels are dates, Excel will assume “Automatic” on the Primary axis Category. Please check image below.&lt;/div&gt;  &lt;div align="justify"&gt;   &lt;br /&gt;&lt;/div&gt;  &lt;div&gt;&lt;img style="text-align: center; margin: 0px auto 10px; width: 320px; display: block; height: 214px; cursor: hand" id="BLOGGER_PHOTO_ID_5397718946207666354" border="0" alt="alt" src="http://1.bp.blogspot.com/_QCJyNEJ4Xss/SuiMyIIakLI/AAAAAAAAAE4/stHPE7GoZxI/s320/chart.jpg" /&gt;On this example I have dates 1, 2, 5, 6 and 7 of October. Only this dates have data on it.&lt;/div&gt;  &lt;div&gt;&amp;#160;&lt;/div&gt;  &lt;div&gt;&lt;img style="text-align: center; margin: 0px auto 10px; width: 320px; display: block; height: 51px; cursor: hand" id="BLOGGER_PHOTO_ID_5397719139425854242" border="0" alt="alt" src="http://2.bp.blogspot.com/_QCJyNEJ4Xss/SuiM9X7OIyI/AAAAAAAAAFA/KcsLCxzSkrg/s320/chart2.jpg" /&gt;With the option Category X axis set to Automatic, Excel will produce a chart like Chart 1:     &lt;br /&gt;    &lt;br /&gt;&lt;img style="display: block; float: none; margin-left: auto; margin-right: auto" border="0" alt="alt" src="http://3.bp.blogspot.com/_QCJyNEJ4Xss/SuiN_c4XYiI/AAAAAAAAAFo/JYHTyPNdC28/s320/chart3.jpg" /&gt;     &lt;br /&gt;    &lt;p align="justify"&gt;As you can see, Excel has added the dates that where missing between 2 and 5 of October. This dates are not a part of our original table and don’t have value to be charted so I don’t want to display them. This happens because Excel assumes that this is a Time-scale category chart. To remove this dates, go to Chart Options and set the Primary Axis-Category X axis to “Category”. This way we get a chart like Chart 2:&lt;/p&gt;    &lt;p&gt;&lt;img style="text-align: center; margin: 0px auto 10px; width: 320px; display: block; height: 153px; cursor: hand" id="BLOGGER_PHOTO_ID_5397719454157793602" border="0" alt="alt" src="http://3.bp.blogspot.com/_QCJyNEJ4Xss/SuiNPsZKaUI/AAAAAAAAAFQ/NoytiVLbBQw/s320/chart4.jpg" /&gt;&lt;/p&gt; &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-248275954077506728?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/248275954077506728/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=248275954077506728' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/248275954077506728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/248275954077506728'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/10/excel-charts-do-not-show-empty-dates.html' title='Excel Charts – Do not show empty dates'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_QCJyNEJ4Xss/SuiMyIIakLI/AAAAAAAAAE4/stHPE7GoZxI/s72-c/chart.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-7479642077979150441</id><published>2009-10-25T17:35:00.004Z</published><updated>2010-10-02T18:34:04.222+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RIGHT'/><category scheme='http://www.blogger.com/atom/ns#' term='LEN'/><category scheme='http://www.blogger.com/atom/ns#' term='LEFT'/><category scheme='http://www.blogger.com/atom/ns#' term='TRIM'/><category scheme='http://www.blogger.com/atom/ns#' term='FIND'/><title type='text'>Splitting a string</title><content type='html'>&lt;p align="justify"&gt;There are numerous occasions when we need to split a string into pieces. Depending on the type of string that we are handling we can do it using many different techniques. Here I’m going to show you one way of doing a simple string split. On column A we have the strings that we want to split. We want to get the text that is before the “,” character into column B.&lt;/p&gt;  &lt;p align="left"&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TKdtCMHfEpI/AAAAAAAAAMs/jYDaqV6K46A/s1600-h/Split_String%5B4%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="Split_String" border="0" alt="Split_String" src="http://lh4.ggpht.com/_QCJyNEJ4Xss/TKdtCzDZqjI/AAAAAAAAAMw/vtXUK9a1MCo/Split_String_thumb%5B2%5D.jpg?imgmax=800" width="563" height="272" /&gt;&lt;/a&gt;    &lt;br /&gt;So in column B we can put the following formula:&lt;/p&gt;  &lt;p&gt;=TRIM(LEFT(A1,FIND(&amp;quot;,&amp;quot;,A1)-1))&lt;/p&gt;  &lt;p align="justify"&gt;Here I use 3 Excel functions: TRIM(), to remove the spaces on the beginning and on the end of the string that we get; LEFT() to get the string to the left of the “splitter”, in this case is the , character and FIND() to find the position of the “splitter” character. I remove 1 from the position that FIND() returns so that I don’t get the “,” character.&lt;/p&gt;  &lt;p align="justify"&gt;In column C we can put the following formula to the the text that is on the right of the “,” character:&lt;/p&gt;  &lt;p align="justify"&gt;=TRIM(RIGHT(A1,LEN(A1)-FIND(&amp;quot;,&amp;quot;,A1)))&lt;/p&gt;  &lt;p align="justify"&gt;Here, instead of the LEFT() function, I use the RIGHT() because I want to get the text on the right of the “splitter” character. I use the LEN() function to get the number of character that the string on column A has so that I can subtract the position where the FIND() function finds the “splitter” character. This way I get the number of characters for the function RIGHT() to return, counting from the end of the string in column A. Example: the string in cell A1 has a LEN(A1) of 25 characters. The “splitter” character is found on position 9 of the string. So my formula will return on cell C1 (25-9)=16 characters counting from the right of string in cell A1, the result will be “2nd Street 2009”.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-7479642077979150441?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/7479642077979150441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=7479642077979150441' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/7479642077979150441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/7479642077979150441'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/10/splitting-string.html' title='Splitting a string'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_QCJyNEJ4Xss/TKdtCzDZqjI/AAAAAAAAAMw/vtXUK9a1MCo/s72-c/Split_String_thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-3315085102306478259</id><published>2009-10-25T16:54:00.003Z</published><updated>2010-09-25T22:27:26.057+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VBA'/><title type='text'>VBA - Convert emails to hyperlinks</title><content type='html'>&lt;p align="justify"&gt;On a sheet column I have email addresses and I want to convert them to hyperlinks so that when I click them, I open my email client and send and email to that address. I can use a macro to change the content of that cell to a hyperlink. Here’s the code for that:&lt;/p&gt;  &lt;p&gt;Sub Convert_to_Hyperlink() &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; Dim rng As Range    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Dim cell As Range &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; 'Define here the range where you have your emails values    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; rng = Range(&amp;quot;B2:B100&amp;quot;) &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; For Each cell In rng    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'If the cell is blank, ignore it     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If cell.Value &amp;lt;&amp;gt; &amp;quot;&amp;quot; Then     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; cell.Hyperlinks.Add ANCHOR:=cell, Address:=&amp;quot;mailto:&amp;quot; &amp;amp; cell.Value, TextToDisplay:=cell.Value     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End If     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Next cell &lt;/p&gt;  &lt;p&gt;End Sub&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-3315085102306478259?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/3315085102306478259/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=3315085102306478259' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/3315085102306478259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/3315085102306478259'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/10/vba-convert-emails-to-hyperlinks.html' title='VBA - Convert emails to hyperlinks'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-3794801399656196058</id><published>2009-10-25T16:44:00.002Z</published><updated>2010-10-02T18:28:32.166+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CHAR'/><category scheme='http://www.blogger.com/atom/ns#' term='RANDBETWEEN'/><title type='text'>Create random combinations in Excel</title><content type='html'>&lt;p align="justify"&gt;Imagine that you need to create random combinations of letters in Excel. In this example I want to create a 3 letters random combinations list. I want the result to be like this:&lt;/p&gt;  &lt;div align="justify"&gt;   &lt;table border="0" cellspacing="0" cellpadding="0" width="50"&gt;&lt;tbody&gt;       &lt;tr&gt;         &lt;td valign="top" width="48"&gt;TEX&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="48"&gt;JYY&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="48"&gt;QCX&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="48"&gt;CDH&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="48"&gt;NTW&lt;/td&gt;       &lt;/tr&gt;     &lt;/tbody&gt;&lt;/table&gt; &lt;/div&gt;  &lt;p align="justify"&gt;To get this kind of combinations I used the following formula:&lt;/p&gt;  &lt;p align="justify"&gt;=CHAR(RANDBETWEEN(65,90))&amp;amp;CHAR(RANDBETWEEN(65,90))&amp;amp;CHAR(RANDBETWEEN(65,90))&lt;/p&gt;  &lt;p align="justify"&gt;I’ve used the RANDBETWEEN() function to generate values between 65 and 90 because they are the ANSI codes of letters A to Z. The RANDBETWEEM() function has the following arguments:&lt;/p&gt;  &lt;p align="justify"&gt;&lt;strong&gt;RANDBETWEEN(bottom,top)&lt;/strong&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;em&gt;bottom&lt;/em&gt; is the smallest integer that the function will return and &lt;em&gt;top&lt;/em&gt; is the highest. &lt;/p&gt;  &lt;p align="justify"&gt;After the generation of the random number, I use CHAR() function to return the corresponding character from the ANSI table of characters. This function has the following syntax:&lt;/p&gt;  &lt;p align="justify"&gt;&lt;b&gt;CHAR&lt;/b&gt;(&lt;b&gt;number&lt;/b&gt;)&lt;/p&gt;  &lt;p align="justify"&gt;&lt;em&gt;number&lt;/em&gt; is a number between 1 and 255 that specifies which character we want to return.&lt;/p&gt;  &lt;p align="justify"&gt;On my formula, combining 3 times the formula CHAR(RANDBETWEEN(65,90) I get a combination of 3 letters.&lt;/p&gt;  &lt;p align="justify"&gt;If I wanted to get a random list of numbers between 100 and 1000, I could use the following formula:&lt;/p&gt;  &lt;p align="justify"&gt;=RANDBETWEEN(100,1000)&lt;/p&gt;  &lt;p align="justify"&gt;This will give me a list of number like the one below:&lt;/p&gt;  &lt;div align="justify"&gt;   &lt;table border="0" cellspacing="0" cellpadding="0" width="50"&gt;&lt;tbody&gt;       &lt;tr&gt;         &lt;td valign="top" width="48"&gt;941&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="48"&gt;486&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="48"&gt;970&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="48"&gt;952&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="48"&gt;376&lt;/td&gt;       &lt;/tr&gt;     &lt;/tbody&gt;&lt;/table&gt; &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-3794801399656196058?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/3794801399656196058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=3794801399656196058' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/3794801399656196058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/3794801399656196058'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/10/create-random-combinations-in-excel.html' title='Create random combinations in Excel'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-3578345212659403637</id><published>2009-10-24T10:58:00.002+01:00</published><updated>2010-10-02T18:27:57.664+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VBA'/><title type='text'>VBA – Delete rows based on condition</title><content type='html'>&lt;p align="justify"&gt;One of the most common questions I get is how to delete rows based on one or more conditions. For instance, you want to delete all rows in your sheets that have the name “John” in column A. Here’s the code to do that:&lt;/p&gt;  &lt;p align="justify"&gt;Sub Delete() &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; Dim startrow As Long    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; 'starting row number here     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; startrow = 1     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; ' Assuming data to check is in A Column     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Do Until startrow &amp;gt; Cells(Cells.Rows.Count, &amp;quot;A&amp;quot;).End(xlUp).Row     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If Cells(startrow, 1).Value = &amp;quot;John&amp;quot; Then     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Rows(startrow).Delete     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Else     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; startrow = startrow + 1     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End If     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Loop     &lt;br /&gt;    &lt;br /&gt;End Sub&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-3578345212659403637?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/3578345212659403637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=3578345212659403637' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/3578345212659403637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/3578345212659403637'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/10/vba-delete-rows-based-on-condition.html' title='VBA – Delete rows based on condition'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-5040927510889195460</id><published>2009-10-23T19:02:00.006+01:00</published><updated>2010-10-02T10:43:53.735+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='COUNTIF'/><category scheme='http://www.blogger.com/atom/ns#' term='Conditional Formatting'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel 2010'/><title type='text'>Highlight duplicates</title><content type='html'>&lt;p align="justify"&gt;One of the most common tasks that an Excel user needs to do is to find duplicates on a list of data. There are several ways to do this, depending on the needs. One of the ways is to highlight the values that are duplicated on a column. This can be done using the Format-Conditional Formatting option on the menu bar. Here's an example:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://lh6.ggpht.com/_QCJyNEJ4Xss/TKb-noFNA8I/AAAAAAAAAMU/ehNNQAr7psY/s1600-h/Highlight-Duplicates%5B4%5D.jpg"&gt;&lt;img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: block; FLOAT: none; MARGIN-LEFT: auto; BORDER-TOP: 0px; MARGIN-RIGHT: auto; BORDER-RIGHT: 0px" title="Highlight-Duplicates" border="0" alt="Highlight-Duplicates" src="http://lh5.ggpht.com/_QCJyNEJ4Xss/TKb-oOHStoI/AAAAAAAAAMY/4tvfRNvot2g/Highlight-Duplicates_thumb%5B2%5D.jpg?imgmax=800" width="389" height="265" /&gt;&lt;/a&gt;&lt;br /&gt;On cell A2, I created a Conditional Formatting with a condition "Formula is" and putted the function =COUNTIF(A:A,A2)&amp;gt;1. The COUNTIF function has the following syntax:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;COUNTIF(range,criteria)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;range&lt;/em&gt; is the area where you you want to check if it finds the value specified by &lt;em&gt;criteria&lt;/em&gt;.&lt;br /&gt;&lt;br /&gt;This will return TRUE if the value from cell A2 is found more than 1 time in column A. If this is TRUE it will apply the Format that I defined. I then Copy and Paste Special-Format to the rest of the cells in column A.&lt;br /&gt;&lt;br /&gt;In Excel 2007 and 2010, you can use the  a new option on the Conditional Formatting menu that is the Duplicate Values.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TKb-ogeX8bI/AAAAAAAAAMc/8Q_yqENOz5s/s1600-h/Highlight-Duplicates2%5B4%5D.jpg"&gt;&lt;img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: block; FLOAT: none; MARGIN-LEFT: auto; BORDER-TOP: 0px; MARGIN-RIGHT: auto; BORDER-RIGHT: 0px" title="Highlight-Duplicates2" border="0" alt="Highlight-Duplicates2" src="http://lh6.ggpht.com/_QCJyNEJ4Xss/TKb-pX4OeGI/AAAAAAAAAMg/hxRlh16xMhE/Highlight-Duplicates2_thumb%5B2%5D.jpg?imgmax=800" width="451" height="419" /&gt;&lt;/a&gt;&lt;br /&gt;Just select the range where you want to highlight the duplicate and go to the menu bar and choose Highlight Cells Rules-Duplicate Values. A Duplicate Values dialog box will open. You can choose to highlight the Duplicate or the Unique values and you can set the color that you want to use to highlight the values.&lt;br /&gt; &lt;a href="http://lh4.ggpht.com/_QCJyNEJ4Xss/TKb-pxIuMCI/AAAAAAAAAMk/_hSrmwiQ1DU/s1600-h/Highlight-Duplicates3%5B9%5D.jpg"&gt;&lt;img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: block; FLOAT: none; MARGIN-LEFT: auto; BORDER-TOP: 0px; MARGIN-RIGHT: auto; BORDER-RIGHT: 0px" title="Highlight-Duplicates3" border="0" alt="Highlight-Duplicates3" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TKb-qgIy6yI/AAAAAAAAAMo/-wpzQcd8ybs/Highlight-Duplicates3_thumb%5B5%5D.jpg?imgmax=800" width="580" height="426" /&gt;&lt;/a&gt;&lt;br /&gt;The result will be the same as using the COUNTIF solution. On Excel 2003 you don’t have this Duplicate Values option on the Conditional Formatting menu.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-5040927510889195460?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/5040927510889195460/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=5040927510889195460' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/5040927510889195460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/5040927510889195460'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/10/highlight-duplicates.html' title='Highlight duplicates'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_QCJyNEJ4Xss/TKb-oOHStoI/AAAAAAAAAMY/4tvfRNvot2g/s72-c/Highlight-Duplicates_thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-416643694917655644</id><published>2009-10-23T10:32:00.002+01:00</published><updated>2010-10-02T18:27:33.345+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IF'/><title type='text'>IF() – Checking conditions</title><content type='html'>&lt;p align="justify"&gt;The IF() function is one of the most used in Excel. It’s very simple to use. The syntax for this function is:&lt;/p&gt;  &lt;p align="justify"&gt;&lt;strong&gt;IF(logical_test,value_if_true,value_if_false)&lt;/strong&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;em&gt;logical_test&lt;/em&gt; is the value or expression that we want to evaluate. &lt;em&gt;value_if_true&lt;/em&gt; is the result if the condition of &lt;em&gt;logical_test&lt;/em&gt; is true and &lt;em&gt;value_if_false&lt;/em&gt; is the result if the condition is false.&lt;/p&gt;  &lt;p align="justify"&gt;Examples:&lt;/p&gt;  &lt;p align="justify"&gt;=IF(A2=100,&amp;quot;True&amp;quot;,&amp;quot;False&amp;quot;) will check if there is a value 100 in cell A2. If true, will put on the cell where we have the formula, the value “True”. If the value in cell A2 it’s not 100 the formula will return “False” on the cell.&lt;/p&gt;  &lt;p align="justify"&gt;=IF(AND(A2=100,A3=200),&amp;quot;True&amp;quot;,&amp;quot;False&amp;quot;) this is the same as the last example with the exception that in this case we are checking two condition and only if both are true, the result will be “True”.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-416643694917655644?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/416643694917655644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=416643694917655644' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/416643694917655644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/416643694917655644'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/10/if-checking-conditions.html' title='IF() – Checking conditions'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-6511432740971449222</id><published>2009-10-23T09:29:00.002+01:00</published><updated>2010-10-02T18:26:51.867+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VBA'/><title type='text'>VBA – Copy all Worksheets to another Workbook</title><content type='html'>&lt;p align="justify"&gt;If you want to copy all of your worksheets from the actual workbook to another workbook, you can use this simple VBA code to do it.&lt;/p&gt;  &lt;p&gt;Sub copy_sheets() &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; Dim wb1 As Workbook    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Dim wb2 As Workbook     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; wb1 = ActiveWorkbook     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; 'Change the name of the destination workbook here     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; wb2 = Workbooks(&amp;quot;Destination.xls&amp;quot;)     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; For Each Sheet In wb1.Sheets     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If Sheet.Visible = True Then     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'copy the sheets after the last     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'sheet of the destination workbook     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Sheet.Copy After:=wb2.Sheets(wb2.Sheets.Count)     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End If     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Next Sheet     &lt;br /&gt;    &lt;br /&gt;End Sub&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-6511432740971449222?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/6511432740971449222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=6511432740971449222' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6511432740971449222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/6511432740971449222'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/10/vba-copy-all-worksheets-to-another.html' title='VBA – Copy all Worksheets to another Workbook'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-9126345561698882235</id><published>2009-10-22T22:18:00.003+01:00</published><updated>2010-10-02T10:50:49.225+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DATEVALUE'/><title type='text'>DATEVALUE() - Convert text values to dates</title><content type='html'>&lt;p align="justify"&gt;Sometimes we have values on our sheets that are stored as text (strings) and we need to convert them to date format. For this we can use the DATEVALUE() function. The syntax for this function is:   &lt;br /&gt;    &lt;br /&gt;&lt;strong&gt;DATEVALUE(date_text)&lt;/strong&gt;    &lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;    &lt;br /&gt;&lt;em&gt;date_text&lt;/em&gt; argument is a text string.    &lt;br /&gt;    &lt;br /&gt;This function can convert various types of strings. Here are some samples:    &lt;br /&gt;    &lt;br /&gt;DATEVALUE(&amp;quot;15MAR&amp;quot;) will return 15-03-2009    &lt;br /&gt;DATEVALUE(&amp;quot;MAR09&amp;quot;) will return 01-03-2009    &lt;br /&gt;DATEVALUE(&amp;quot;15/3&amp;quot;) will return 15-03-2009    &lt;br /&gt;DATEVALUE(&amp;quot;1-MAR&amp;quot;) will return 01-03-2009&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-9126345561698882235?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/9126345561698882235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=9126345561698882235' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/9126345561698882235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/9126345561698882235'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/10/datevalue-convert-text-values-to-dates.html' title='DATEVALUE() - Convert text values to dates'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-8052554858582917230</id><published>2009-10-22T10:58:00.005+01:00</published><updated>2010-02-10T12:41:36.632Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='VBA'/><title type='text'>Replace value on several Excel files</title><content type='html'>&lt;p align="justify"&gt;I’ve written this code for a user that wanted to change a value in hundreds of Excel files that where in several sub folders under a main folder. This code will go through the main folder C:\Test and will replace the value on cell A1 on Sheet1 of every Excel file it will find. You can adapt this code by changing the folder name, cell destination or sheet name.&lt;/p&gt;  &lt;p&gt;Sub Change_Value_On_Files() &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; Dim fso, folder, files, NewsFile, sFolderSet   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; objExcel = CreateObject(&amp;quot;Excel.Application&amp;quot;)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; objExcel.Visible = TrueSet    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; fso = CreateObject(&amp;quot;Scripting.FileSystemObject&amp;quot;)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; sFolder = &amp;quot;C:\Test&amp;quot;    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Set folder = fso.GetFolder(sFolder)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Set files = folder.files    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; For Each SubFolder In folder.SubFolders    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; For Each folderIdx In SubFolder.files    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If Right(folderIdx, 4) = &amp;quot;.xls&amp;quot; Then    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Set objWorkbook = objExcel.Workbooks.Open(folderIdx)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Set objWorksheet = objWorkbook.Worksheets(1)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Set objRange = objWorksheet.Range(&amp;quot;A1&amp;quot;)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; objRange.Range(&amp;quot;A1&amp;quot;).Value = &amp;quot;YOUR VALUE HERE!&amp;quot;    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; objWorkbook.Save    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; objWorkbook.Close True    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End If    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Next    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Next    &lt;br /&gt;    &lt;br /&gt;End Sub&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-8052554858582917230?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/8052554858582917230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=8052554858582917230' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/8052554858582917230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/8052554858582917230'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/10/replace-value-on-several-excel-files.html' title='Replace value on several Excel files'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-1779762151256572035</id><published>2009-10-21T20:16:00.008+01:00</published><updated>2011-04-09T16:41:44.068+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ISNA'/><category scheme='http://www.blogger.com/atom/ns#' term='IF'/><category scheme='http://www.blogger.com/atom/ns#' term='VLOOKUP'/><title type='text'>VLOOKUP() - Get value based on another value</title><content type='html'>&lt;p align="justify"&gt;If we have a table of data, like the one shown bellow, and based on a value of that table want to return the value from another column we can use the VLOOKUP() function.    &lt;br /&gt;    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_QCJyNEJ4Xss/TaB-NMX4kGI/AAAAAAAAAgE/PQaYom_XOYA/s1600-h/VLOOKUP%5B7%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="VLOOKUP" border="0" alt="VLOOKUP" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TaB-NmS8gzI/AAAAAAAAAgI/hW9s9gq-TqY/VLOOKUP_thumb%5B3%5D.jpg?imgmax=800" width="504" height="275" /&gt;&lt;/a&gt;&amp;#160; &lt;br /&gt;The syntax for this function is:     &lt;br /&gt;    &lt;br /&gt;VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)     &lt;br /&gt;    &lt;br /&gt;In our example, on cell B10 I've putted this formula:     &lt;br /&gt;    &lt;br /&gt;=VLOOKUP(A10,$A$2:$B$7,2,FALSE)     &lt;br /&gt;    &lt;br /&gt;First we have the &lt;em&gt;lookup value&lt;/em&gt; that is the value that we want to check is it's on the table. In this example is the value on cell A10.     &lt;br /&gt;    &lt;br /&gt;Then we have the &lt;em&gt;table array&lt;/em&gt;. This is the range of cells where we want to check for the value on cell A10. In this case, we want to lookup the value on range A2:B7. If it finds the value of A10, it will the return the value referred by the &lt;em&gt;col_index_num&lt;/em&gt; argument of the function. In this case we want to return the value from column 2 (the employee name).     &lt;br /&gt;    &lt;br /&gt;The &lt;em&gt;range_lookup&lt;/em&gt; argument is optional and it can have TRUE or FALSE value. If you put TRUE or omit this argument, it will return an approximated match. If it doesn't find the value of the lookup_value it will return the next largest value that is less than the lookup_value. If you put FALSE, it will find an exact match and if it doesn't find one it will return the error value #N/A.     &lt;br /&gt;    &lt;br /&gt;So, on this example, we want to find the value 32893 and get the corresponding value from column 2, in this case the returned value will be James Watson.     &lt;br /&gt;    &lt;br /&gt;If the value specified on the lookup_value is not found, and the range_lookup is FALSE, then the formula will return a #N/A error value. We can change our formula so that it doesn't display this error with this formula:     &lt;br /&gt;    &lt;br /&gt;=IF(ISNA(VLOOKUP(A10,$A$2:$B$7,2,FALSE)),&amp;quot;&amp;quot;,VLOOKUP(A10,$A$2:$B$7,2,FALSE))     &lt;br /&gt;    &lt;br /&gt;In this case we use two more functions, the IF and ISNA. I will not explain the IF function in this article, will handle this function on a separated article on the future.     &lt;br /&gt;    &lt;br /&gt;The ISNA() function checks if the VLOOKUP() function returns a #N/A error value. So this formula will check if the VLOOKUP() function returns #N/A. If it does, the cell will be empty. If it doesn't it will show the result of the VLOOKUP function.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-1779762151256572035?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/1779762151256572035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=1779762151256572035' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/1779762151256572035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/1779762151256572035'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/10/vlookup-get-value-based-on-another.html' title='VLOOKUP() - Get value based on another value'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_QCJyNEJ4Xss/TaB-NmS8gzI/AAAAAAAAAgI/hW9s9gq-TqY/s72-c/VLOOKUP_thumb%5B3%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-2839590894259329467</id><published>2009-10-20T21:35:00.016+01:00</published><updated>2011-04-09T16:31:21.634+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SUMPRODUCT'/><title type='text'>SUMPRODUCT() - Sum values based on conditions</title><content type='html'>&lt;p align="justify"&gt;Sometimes we want to sum values from a table based on conditions that we input into another cell. Take a look at the table below. Here we have a table of weekly values for each vendor. &lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_QCJyNEJ4Xss/TaB7xvDsjgI/AAAAAAAAAf8/GFQoudVa5iA/s1600-h/SUMPRODUCT%5B3%5D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="SUMPRODUCT" border="0" alt="SUMPRODUCT" src="http://lh3.ggpht.com/_QCJyNEJ4Xss/TaB7yAC6NcI/AAAAAAAAAgA/zcDeFl4LyjM/SUMPRODUCT_thumb%5B1%5D.jpg?imgmax=800" width="562" height="297" /&gt;&lt;/a&gt;    &lt;br /&gt;In this case we want to input on cell B7 the week value and get the total for this week on cell C7. This can be done using the SUMPRODUCT() function. The syntax for this function is like this:    &lt;br /&gt;    &lt;br /&gt;SUMPRODUCT(array1,array2,…) you can have up to 30 arrays.&lt;/p&gt;  &lt;p align="justify"&gt;The formula in C7 for this will:&lt;/p&gt;  &lt;p align="justify"&gt;=SUMPRODUCT((B1:E1=B7)*(B2:E4))&lt;/p&gt;  &lt;p align="justify"&gt;Checks on range B1:E1 for the value in cell B7 and sums the values under that value. On this example the value &amp;quot;Week 2&amp;quot; can be found on C1 so the sum will be done with the values from C2:C4 and the result will be 338.&lt;/p&gt;  &lt;p align="justify"&gt;Another example is putting in B9 the vendor name and get the total for this vendor on cell C9. The formula will be like this:&lt;/p&gt;  &lt;p align="justify"&gt;=SUMPRODUCT((A2:A4=B9)*(B2:E4))&lt;/p&gt;  &lt;p align="justify"&gt;Checks on range A2:A4 for the value in cell B9 and sums the values for that row where it finds the vendor. On this example the vendor &amp;quot;Vendor 3&amp;quot; can be found on row 4 so the sum will be done with the range B4:E4 and the result will be 492.&lt;/p&gt;  &lt;p align="justify"&gt;Finally we want to get the value for Week 2 for Vendor 3. We can use also the SUMPRODUCT function like this:&lt;/p&gt;  &lt;p align="justify"&gt;=SUMPRODUCT((B1:E1=B7)*(A2:A4=B9)*(B2:E4))&lt;/p&gt;  &lt;p align="justify"&gt;It will return the value 114 that corresponds to Vendor 3 (row 4) and Week 2 (column C).&lt;/p&gt;  &lt;p align="justify"&gt;These are simple examples of how you can use the SUMPRODUCT function. It can be used in more complex formulas that I will address later on another article.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-2839590894259329467?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/2839590894259329467/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=2839590894259329467' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/2839590894259329467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/2839590894259329467'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/10/sumproduct-sum-values-based-on.html' title='SUMPRODUCT() - Sum values based on conditions'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_QCJyNEJ4Xss/TaB7yAC6NcI/AAAAAAAAAgA/zcDeFl4LyjM/s72-c/SUMPRODUCT_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-2978560891906898926</id><published>2009-10-20T21:14:00.003+01:00</published><updated>2010-09-25T22:22:54.707+01:00</updated><title type='text'>About me</title><content type='html'>&lt;p align="justify"&gt;I live in Setúbal, Portugal. I work with Excel for more than 10 years. This tool is so powerful and complete that I'm still learning to work with it. Everyday I discover new fixtures of this tool and ways of doing things in Excel. Just started using Office 2010 and I'm loving!   &lt;br /&gt;I'm an active member of the Experts Exchange Comunity. Currently, I'm a Sage in Excel (+600,000 points ). I try to help others solve their problems in Excel and also in other tools, mainly Microsoft tools (Access, Outlook and Visual Basic .Net).&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-2978560891906898926?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/2978560891906898926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=2978560891906898926' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/2978560891906898926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/2978560891906898926'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/10/about-me.html' title='About me'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1111290708476904315.post-3426671256827983423</id><published>2009-10-20T21:03:00.001+01:00</published><updated>2010-03-27T20:08:15.779Z</updated><title type='text'>Contacts</title><content type='html'>You can contact me by email at: jpgpinto (at) gmail (dot) com&lt;br /&gt;&lt;br /&gt;Would like to ear from you. If you have some comments or sugestions about this blog, feel free to send me an email. I'll try to answer as soon as possible.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1111290708476904315-3426671256827983423?l=excel-user.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://excel-user.blogspot.com/feeds/3426671256827983423/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1111290708476904315&amp;postID=3426671256827983423' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/3426671256827983423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1111290708476904315/posts/default/3426671256827983423'/><link rel='alternate' type='text/html' href='http://excel-user.blogspot.com/2009/10/contacts.html' title='Contacts'/><author><name>jppinto</name><uri>http://www.blogger.com/profile/17308570550610961422</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_QCJyNEJ4Xss/TKtQVYPfOrI/AAAAAAAAAOE/9tFUpeHuZ9c/S220/Joao_Avatar.jpg'/></author><thr:total>0</thr:total></entry></feed>
