<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Excel Developers</title>
	<atom:link href="http://exceldevelopers.com/feed" rel="self" type="application/rss+xml" />
	<link>http://exceldevelopers.com</link>
	<description></description>
	<lastBuildDate>Mon, 23 Apr 2012 18:24:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Using tables to create dynamic data validation lists</title>
		<link>http://exceldevelopers.com/848</link>
		<comments>http://exceldevelopers.com/848#comments</comments>
		<pubDate>Thu, 12 Jan 2012 11:56:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.exceldevelopers.com/?p=848</guid>
		<description><![CDATA[One of the useful features introduced in Excel 2007 was Tables. The most obvious benefit of these new Tables is that they auto expand. Once you have created a table and you input data in the row immediately below the last row of the table, the table automatically “grows” to include it. The same happens [...]]]></description>
			<content:encoded><![CDATA[<p>One of the useful features introduced in Excel 2007 was Tables. The most obvious benefit of these new Tables is that they auto expand. Once you have created a table and you input data in the row immediately below the last row of the table, the table automatically “grows” to include it. The same happens if you input data in the column immediately to the right of the table. It is this auto expanding property of tables that we want to exploit, and the first application I want to look at is to create a dynamic data validation list.</p>
<p>As their knowledge increase, most Excel users follow a number of natural evolutionary steps when working with data validation lists. The start is to create a simple validation list by entering a comma separated list of valid inputs in the Source box of the Data Validation dialogue.</p>
<p><a href="http://exceldevelopers.com/wp-content/uploads/2012/01/Dynamic-data-validation-list-1-300x235.png"><img class="alignnone size-full wp-image-852" title="Dynamic-data-validation-list-1-300x235" src="http://exceldevelopers.com/wp-content/uploads/2012/01/Dynamic-data-validation-list-1-300x235.png" alt="" width="300" height="235" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The next step on the ladder is to enter a range address as the Source (or select a range by clicking on the range selector).</p>
<p><a href="http://www.exceldevelopers.com/wp-content/uploads/2012/01/Dynamic-data-validation-list-2-300x236.png"><img class="alignnone size-full wp-image-853" title="Dynamic-data-validation-list-2-300x236" src="http://exceldevelopers.com/wp-content/uploads/2012/01/Dynamic-data-validation-list-2-300x236.png" alt="" width="300" height="236" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>At some point after this users want to use a Source range that is on a different sheet from the cells they want to apply the validation to. When they try to select the Source range using the range selector Excel prevents them from selecting a range on a different sheet, so the range address has to be entered manually, for example “=’My sheet’!$B$3:$B$5”. After a while they realise what a pain it is to do all this manual typing of range addresses, and turn to using named ranges. Simply name the Source range, say “MyListSource”, and use the name as the data validation source.<br />
<a href="http://www.exceldevelopers.com/wp-content/uploads/2012/01/Dynamic-data-validation-list-3-300x236.png"><img class="alignnone size-full wp-image-854" title="Dynamic-data-validation-list-3-300x236" src="http://www.exceldevelopers.com/wp-content/uploads/2012/01/Dynamic-data-validation-list-3-300x236.png" alt="" width="300" height="236" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>But what if you want to add a new item to your validation list? The simple way to do this is to change your named range so that it includes a new cell (in other words change the “RefersTo” property to “=’My sheet’!$B$3:$B$6”). A better way of doing it is by making sure that your named range automatically includes the new cell, by creating a dynamic named range (technically named formula is a better description). This is done by putting something like this in the RefersTo box for the named range:</p>
<p>“=OFFSET(’My sheet’!$B$3,0,0,COUNTA(’My sheet’!$B:$B),1)”</p>
<p>I don’t want to go into the details of this here, but if you don’t understand how this works then a simple search for “Excel Dynamic Named Ranges” should turn up ample reference material.</p>
<p>Dynamic named ranges work well for creating a dynamic data validation list, but there are three drawbacks to using them:</p>
<p>1. They require some effort to set up</p>
<p>2. It is not transparent and it can be difficult for someone else to figure out how it works</p>
<p>3. If any entries are made in column B that are not part of the validation list then the dynamic named range won’t be accurate</p>
<p><strong>Three quick steps</strong></p>
<p>So finally we get to the raison d’etre for this article: how to use a table to quickly and easily create a dynamic data validation list.</p>
<p>Step 1: Create the table containing the list of valid entries. Give the table a name.<br />
<a href="http://exceldevelopers.com/wp-content/uploads/2012/01/Dynamic-data-validation-list-4.png"><img class="alignnone size-full wp-image-855" title="Dynamic-data-validation-list-4" src="http://www.exceldevelopers.com/wp-content/uploads/2012/01/Dynamic-data-validation-list-4.png" alt="" width="551" height="253" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Step 2: Create a named range, say “MyListSource”. In the RefersTo box, enter the name of the table you’ve just created (“tblSourceList” in my example above).</p>
<p>Step 3: Apply the data validation by entering “=MyListSource” as the data validation Source.</p>
<p>Voila! Now you can simply add entries to the table and they will automatically become valid entries in your data validation list.</p>
]]></content:encoded>
			<wfw:commentRss>http://exceldevelopers.com/848/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embedding a spreadsheet in a web page</title>
		<link>http://exceldevelopers.com/embedding-a-spreadsheet-in-a-web-page</link>
		<comments>http://exceldevelopers.com/embedding-a-spreadsheet-in-a-web-page#comments</comments>
		<pubDate>Thu, 22 Dec 2011 12:07:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.exceldevelopers.com/?p=859</guid>
		<description><![CDATA[Microsoft recently introduced a neat feature that can easily achieve this. In a nutshell you need to upload the file to Skydrive and use the facility provided there to generate HTML code that needs to be inserted in your blog or website. Here are the details: Step 1: Create the file in Excel Save the [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft recently introduced a neat feature that can easily achieve this. In a nutshell you need to upload the file to Skydrive and use the facility provided there to generate HTML code that needs to be inserted in your blog or website. Here are the details:</p>
<p><strong>Step 1: Create the file in Excel</strong></p>
<p>Save the workbook somewhere in a local or network folder. There are certain limitations that apply to the kind of workbook you can embed, for example it can not contain macros or data validation.</p>
<p><strong>Step 2: Create a Skydrive account</strong></p>
<p>If you don’t already have one, all you need to use <a href="https://skydrive.live.com/" target="_blank">Skydrive</a> is a <a title="Windows Live ID" href="https://signup.live.com/signup.aspx?wreply=http:%2F%2Fskydrive.live.com&amp;id=250206&amp;mkt=en-GB&amp;lic=1" target="_blank">Windows Live ID</a>.</p>
<p><strong>Step 3: Upload the file to Skydrive</strong></p>
<p>When you are logged in to Skydrive, click “Add files” and follow the instructions to upload your workbook.</p>
<p><strong>Step 4: Generate the HTML code</strong></p>
<p>In Skydrive, navigate to the file you have uploaded and select it by ticking the box to the left of it. On the right hand sidebar, click “Embed”. A new window appears containing a preview of your workbook, and on the right hand side a box containing the HTML iFrame tag you need. You can copy it as it appears there, or click on “Customize this embedded Excel workbook” at the bottom right to select some options. For example you can choose to display only a part of the workbook, allow or disallow downloading the workbook, set Interaction permissions and so on.</p>
<p><strong>Step 5: Paste the code into your web page</strong></p>
<p>Either give the iFrame code to your web administrator, or if you know what you are doing simply paste it into the HTML code of your website or blog.</p>
<p>There you have it. Below is an example of a simple loan repayment calculator.</p>
<p><iframe src="https://r.office.microsoft.com/r/rlidExcelEmbed?su=-7856509863374722361&amp;Fi=SD92F811E7A3326AC7!106&amp;ak=t%3d0%26s%3d0%26v%3d!ANtN41yXzHOQpVM&amp;kip=1&amp;wdAllowInteractivity=true&amp;AllowTyping=True&amp;ActiveCell='Sheet1'!C4&amp;Item=rPublish&amp;wdHideGridlines=True&amp;wdDownloadButton=false" frameborder="0" scrolling="no" width="237" height="150"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://exceldevelopers.com/embedding-a-spreadsheet-in-a-web-page/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Summing across multiple sheets</title>
		<link>http://exceldevelopers.com/summing-across-multiple-sheets</link>
		<comments>http://exceldevelopers.com/summing-across-multiple-sheets#comments</comments>
		<pubDate>Wed, 21 Dec 2011 12:10:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.exceldevelopers.com/?p=863</guid>
		<description><![CDATA[Often it is necessary to aggregate (sum, average, count etc) values across multiple sheets. For example you may have sales data that is captured in a separate sheet for each region or month or product, and so forth. Let’s say you have monthly sales data in a table as below, with a separate sheet for [...]]]></description>
			<content:encoded><![CDATA[<p>Often it is necessary to aggregate (sum, average, count etc) values across multiple sheets. For example you may have sales data that is captured in a separate sheet for each region or month or product, and so forth. Let’s say you have monthly sales data in a table as below, with a separate sheet for each location:</p>
<p>&nbsp;</p>
<p><a href="http://www.exceldevelopers.com/wp-content/uploads/2012/01/sp1.png"><img class="alignnone size-full wp-image-870" title="sp1" src="http://www.exceldevelopers.com/wp-content/uploads/2012/01/sp1.png" alt="" width="600" /></a></p>
<p>If your sales data is in a table with the same layout in each of the sheets, then a simple formula can be used to calculate the total for any cell in the table. For the sample above: =SUM(‘Boston:Tokyo’!C3). This formula can be entered in any cell in your workbook except in cell C3 in a sheet between Boston and Tokyo (in which case a circular reference will occur). Usually when you want to sum across sheets like this you will create a new sheet, named “Total Sales” say, to the right or left of the sheets you want to sum across. You can then copy the table from one of the sheets to your “Total Sales” sheet and replace the (non-label) values with a SUM formula as above. The formula can be copied/dragged as for any other formula, with the normal rules of absolute/relative references applying. You can also replace the SUM formula with AVERAGE, MAX, MIN, COUNT, COUNTA and so forth to calculate different quantities.</p>
<p><a href="http://www.exceldevelopers.com/wp-content/uploads/2012/01/sp2.png"><img class="alignnone size-full wp-image-872" title="sp2" src="http://www.exceldevelopers.com/wp-content/uploads/2012/01/sp2.png" alt="" width="600" /></a></p>
<p>&nbsp;</p>
<p>It may be that the sheets you want to sum across are not arranged contiguously. This presents no problem as you can some over multiple series of sheets by separating each series by a comma, for example =SUM(‘Boston:Chicago!C3,’Moscow:Tokyo’!C3). You also don’t need to some over the same cell – it may be that data in column C for North American locations correspond to data in column D for Asian locations. In that case you can use =SUM(‘BostonChicago!C3,’ Moscow:Tokyo’!D3).</p>
<p>But what happens if you want to add a new sheet and include it in your total? For example, a new sales location may have opened in Europe, or a new month of sales data becomes available. If the new sheet lies between the first and last sheet (alphabetically or chronologically or otherwise) that are summed then it can simply be copied, moved or dragged to a position between the two. No changes to the SUM formulas will have to be made and the values in the new sheet will automatically be included in the totals. However if, for example, you needed to add “Vietnam” as a sales location in our example and you want to arrange your sheets alphabetically, then Vietnam becomes the last sheet that you need to sum across. In this case the formulas will have to be changed from =SUM(‘Boston:Tokyo’!C3) to =SUM(‘Boston:Vietnam’!C3). And if this happens frequently, for example if you add a new sheet monthly, then your SUM formulas will require a lot of maintenance.</p>
<p>The solution is to add blank sheets to the left and right of the sheets you want to sum across to form a “pocket”, as below.<br />
<a href="http://www.exceldevelopers.com/wp-content/uploads/2012/01/sp3.png"><img class="alignnone size-full wp-image-873" title="sp3" src="http://www.exceldevelopers.com/wp-content/uploads/2012/01/sp3.png" alt="" width="600" /></a></p>
<p>&nbsp;</p>
<p>The formula then becomes =SUM(‘SalesStart:SalesEnd’!C3) and you can drag new sheets into the pocket as often as you like without having to update the formulas. You can also use this method to create totals for sub-categories, for example you can add blank sheets named AsiaStart and AsiaEnd and so forth, in the obvious manner.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://exceldevelopers.com/summing-across-multiple-sheets/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Expert Excel Solutions</title>
		<link>http://exceldevelopers.com/umbrella-rides-the-wind</link>
		<comments>http://exceldevelopers.com/umbrella-rides-the-wind#comments</comments>
		<pubDate>Tue, 15 Nov 2011 08:16:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://elegantthemes.com/preview/DeepFocus/?p=220</guid>
		<description><![CDATA[Excel Developers provide expertise in spreadsheet development, automation, modelling, optimization and maintenance. Giving personal attention to each client means we provide the solution you need, and our fixed fee approach gives you the assurance of knowing exactly how much it will cost.]]></description>
			<content:encoded><![CDATA[<p>Excel Developers provide expertise in spreadsheet development, automation, modelling, optimization and maintenance. Giving personal attention to each client means we provide the solution you need, and our fixed fee approach gives you the assurance of knowing exactly how much it will cost.</p>
]]></content:encoded>
			<wfw:commentRss>http://exceldevelopers.com/umbrella-rides-the-wind/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

