<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Excel Indirect() function &#8211; save hours</title>
	<atom:link href="http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/feed/" rel="self" type="application/rss+xml" />
	<link>http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/</link>
	<description>Helping accountants and fellow professionals turn the IT millstone into a surfboard</description>
	<lastBuildDate>Fri, 20 Jan 2012 15:31:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: simontkb</title>
		<link>http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comment-556</link>
		<dc:creator><![CDATA[simontkb]]></dc:creator>
		<pubDate>Fri, 20 Jan 2012 15:31:43 +0000</pubDate>
		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comment-556</guid>
		<description><![CDATA[Hi Daniel - glad you got it to work. Did you type the formula in from scratch the first time or use copy and paste? The double quotes definitely look different. I think the WordPress editor might format them in some way so if you did copy and paste the reformatted ones would not be recognised by Excel as double quotes and this would cause the error. Glad you found the post useful.]]></description>
		<content:encoded><![CDATA[<p>Hi Daniel &#8211; glad you got it to work. Did you type the formula in from scratch the first time or use copy and paste? The double quotes definitely look different. I think the WordPress editor might format them in some way so if you did copy and paste the reformatted ones would not be recognised by Excel as double quotes and this would cause the error. Glad you found the post useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JD</title>
		<link>http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comment-555</link>
		<dc:creator><![CDATA[JD]]></dc:creator>
		<pubDate>Fri, 20 Jan 2012 15:16:22 +0000</pubDate>
		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comment-555</guid>
		<description><![CDATA[Problem solved.... this one works =COUNTIF(INDIRECT(&quot;&#039;&quot;&amp;A1&amp;&quot;&#039;!$B$2:$B$5&quot;),&quot;a&quot;). It looks very similar to what I posted above. I am not sure what makes it work now. 
It sounds strange.. but I have a suspicion. The double quotes appear different sometimes... do you know anything around it? Like, sometimes it appear as if it in italics and sometimes it is straight... i am so confused now.. and will be glad if someone could throw more light into it.. anyways, its working now]]></description>
		<content:encoded><![CDATA[<p>Problem solved&#8230;. this one works =COUNTIF(INDIRECT(&#8220;&#8216;&#8221;&amp;A1&amp;&#8221;&#8216;!$B$2:$B$5&#8243;),&#8221;a&#8221;). It looks very similar to what I posted above. I am not sure what makes it work now.<br />
It sounds strange.. but I have a suspicion. The double quotes appear different sometimes&#8230; do you know anything around it? Like, sometimes it appear as if it in italics and sometimes it is straight&#8230; i am so confused now.. and will be glad if someone could throw more light into it.. anyways, its working now</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JD</title>
		<link>http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comment-554</link>
		<dc:creator><![CDATA[JD]]></dc:creator>
		<pubDate>Fri, 20 Jan 2012 14:17:13 +0000</pubDate>
		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comment-554</guid>
		<description><![CDATA[Brad&#039;s comment @  is where I am now.. And it is not working for me either. I am using Excel 2010 and I am trying my best to solve this problem. Lemme see if I can solve it..  This is what I am using now    =COUNTIF(INDIRECT(&quot;&#039;&quot;&amp;A1&amp;“&#039;!$B$2:$B$5&quot;),”a”)     Excel complains there is an error. This is just an example sheet I am using to learn how this works and then I will use it in my context.. A1 contains a valid sheetname and i have junk data in that sheet 

Simon, this page has been very helpful. Thank you so much. Hope I can solve this puzzle. I will appreciate it if you could have a relook at the formula you gave @  =COUNTIF(INDIRECT(“‘” &amp; T4 &amp; “‘!$B$4:$B$500″),”8U”)]]></description>
		<content:encoded><![CDATA[<p>Brad&#8217;s comment @  is where I am now.. And it is not working for me either. I am using Excel 2010 and I am trying my best to solve this problem. Lemme see if I can solve it..  This is what I am using now    =COUNTIF(INDIRECT(&#8220;&#8216;&#8221;&amp;A1&amp;“&#8217;!$B$2:$B$5&#8243;),”a”)     Excel complains there is an error. This is just an example sheet I am using to learn how this works and then I will use it in my context.. A1 contains a valid sheetname and i have junk data in that sheet </p>
<p>Simon, this page has been very helpful. Thank you so much. Hope I can solve this puzzle. I will appreciate it if you could have a relook at the formula you gave @  =COUNTIF(INDIRECT(“‘” &amp; T4 &amp; “‘!$B$4:$B$500″),”8U”)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comment-540</link>
		<dc:creator><![CDATA[Brad]]></dc:creator>
		<pubDate>Fri, 06 Jan 2012 18:42:33 +0000</pubDate>
		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comment-540</guid>
		<description><![CDATA[Thanks, Simon.  I tried the apostrophes and also renaming the sheet but that didn&#039;t help.  I am using Excel 2010 but haven&#039;t had time to look into using a table yet.  For now, I was able to move some cells around and drop back to picking up all of column B.  Thanks for the suggestions.]]></description>
		<content:encoded><![CDATA[<p>Thanks, Simon.  I tried the apostrophes and also renaming the sheet but that didn&#8217;t help.  I am using Excel 2010 but haven&#8217;t had time to look into using a table yet.  For now, I was able to move some cells around and drop back to picking up all of column B.  Thanks for the suggestions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simontkb</title>
		<link>http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comment-539</link>
		<dc:creator><![CDATA[simontkb]]></dc:creator>
		<pubDate>Fri, 06 Jan 2012 09:54:09 +0000</pubDate>
		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comment-539</guid>
		<description><![CDATA[Hi Brad
I can&#039;t immediately see a problem with your INDIRECT() formula. Is there any chance that a stray space could have been entered somewhere? Including the single apostrophes to allow for a sheet name with spaces is generally a bit safer as it allows for sheet names with intentional spaces: =COUNTIF(INDIRECT(&quot;&#039;&quot; &amp; T4 &amp; &quot;&#039;!$B$4:$B$500&quot;),&quot;8U&quot;). I&#039;d try changing the Roster sheet name and the entry in T4 to check for a problem with the sheet name first. Which version of Excel are you using? You might find a simpler solution is just to use an &lt;a href=&quot;http://www.tkb.co.uk/excellist.htm&quot; rel=&quot;nofollow&quot;&gt;Excel list (2003) or table (2007 or 2010)&lt;/a&gt; which will automatically adapt your formula to reflect insertions or deletions. Alternatively, If the performance penalty isn&#039;t a problem and there is no other structural reason not to, you could apply the formula to the whole of column B: =COUNTIF(roster!B:B,&quot;8U&quot;) - insertions or deletions shouldn&#039;t be a problem then.]]></description>
		<content:encoded><![CDATA[<p>Hi Brad<br />
I can&#8217;t immediately see a problem with your INDIRECT() formula. Is there any chance that a stray space could have been entered somewhere? Including the single apostrophes to allow for a sheet name with spaces is generally a bit safer as it allows for sheet names with intentional spaces: =COUNTIF(INDIRECT(&#8220;&#8216;&#8221; &amp; T4 &amp; &#8220;&#8216;!$B$4:$B$500&#8243;),&#8221;8U&#8221;). I&#8217;d try changing the Roster sheet name and the entry in T4 to check for a problem with the sheet name first. Which version of Excel are you using? You might find a simpler solution is just to use an <a href="http://www.tkb.co.uk/excellist.htm" rel="nofollow">Excel list (2003) or table (2007 or 2010)</a> which will automatically adapt your formula to reflect insertions or deletions. Alternatively, If the performance penalty isn&#8217;t a problem and there is no other structural reason not to, you could apply the formula to the whole of column B: =COUNTIF(roster!B:B,&#8221;8U&#8221;) &#8211; insertions or deletions shouldn&#8217;t be a problem then.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comment-538</link>
		<dc:creator><![CDATA[Brad]]></dc:creator>
		<pubDate>Fri, 06 Jan 2012 03:55:24 +0000</pubDate>
		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comment-538</guid>
		<description><![CDATA[Hi Simon,

I&#039;m trying to use one of your earlier examples to fix a problem in our softball registration spreadsheet.  I&#039;m trying to count the number of players in a given league but I keep getting an error.

The first sheet &quot;Roster&quot; contains player info and column B has the league values 6U, 8U, 10U, and so on.

The second sheet &quot;Stats&quot; is a summary page.  I would previously use something like:
=COUNTIF(Roster!B4:Roster!B500,&quot;8U&quot;)  or
=COUNTIF(Roster!$B$4:Roster!$B$500,&quot;8U&quot;)
to count the players in the 8U league but as we insert/delete players my references get clobbered.

Reading an example above I thought this would work:
=COUNTIF(INDIRECT(T4 &amp; &quot;!$B$4:$B$500&quot;),&quot;8U&quot;)
where cell T4 contains the value &quot;Roster&quot; (without the quotes).

Alas, I get the dreaded #REF! error.  Any ideas?

Thanks,
Brad]]></description>
		<content:encoded><![CDATA[<p>Hi Simon,</p>
<p>I&#8217;m trying to use one of your earlier examples to fix a problem in our softball registration spreadsheet.  I&#8217;m trying to count the number of players in a given league but I keep getting an error.</p>
<p>The first sheet &#8220;Roster&#8221; contains player info and column B has the league values 6U, 8U, 10U, and so on.</p>
<p>The second sheet &#8220;Stats&#8221; is a summary page.  I would previously use something like:<br />
=COUNTIF(Roster!B4:Roster!B500,&#8221;8U&#8221;)  or<br />
=COUNTIF(Roster!$B$4:Roster!$B$500,&#8221;8U&#8221;)<br />
to count the players in the 8U league but as we insert/delete players my references get clobbered.</p>
<p>Reading an example above I thought this would work:<br />
=COUNTIF(INDIRECT(T4 &amp; &#8220;!$B$4:$B$500&#8243;),&#8221;8U&#8221;)<br />
where cell T4 contains the value &#8220;Roster&#8221; (without the quotes).</p>
<p>Alas, I get the dreaded #REF! error.  Any ideas?</p>
<p>Thanks,<br />
Brad</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hadi</title>
		<link>http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comment-493</link>
		<dc:creator><![CDATA[hadi]]></dc:creator>
		<pubDate>Sun, 17 Jul 2011 09:13:12 +0000</pubDate>
		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comment-493</guid>
		<description><![CDATA[HI simon,

I have just tried this, it keep througting errors , doesnt like the sysntx, maybe it&#039;s me, can i send you the workbook please??]]></description>
		<content:encoded><![CDATA[<p>HI simon,</p>
<p>I have just tried this, it keep througting errors , doesnt like the sysntx, maybe it&#8217;s me, can i send you the workbook please??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simontkb</title>
		<link>http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comment-492</link>
		<dc:creator><![CDATA[simontkb]]></dc:creator>
		<pubDate>Sun, 17 Jul 2011 08:50:47 +0000</pubDate>
		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comment-492</guid>
		<description><![CDATA[Try this - do test carefully. Again assumes sheet name is in A1. Also assumes formula is entered in A14, hence the second reference is offset by 18 columns from A to S:

=IF(INDIRECT(&quot;&#039;&quot;&amp; A1 &amp; &quot;&#039;!RC&quot;,FALSE)=&quot;&quot;,&quot;&quot;,CONCATENATE(&quot;&#124;&quot;,FIXED(INDIRECT(&quot;&#039;&quot;&amp; A1 &amp; &quot;&#039;!RC[18]&quot;,FALSE),2),&quot;&#124;&quot;))]]></description>
		<content:encoded><![CDATA[<p>Try this &#8211; do test carefully. Again assumes sheet name is in A1. Also assumes formula is entered in A14, hence the second reference is offset by 18 columns from A to S:</p>
<p>=IF(INDIRECT(&#8220;&#8216;&#8221;&amp; A1 &amp; &#8220;&#8216;!RC&#8221;,FALSE)=&#8221;",&#8221;",CONCATENATE(&#8220;|&#8221;,FIXED(INDIRECT(&#8220;&#8216;&#8221;&amp; A1 &amp; &#8220;&#8216;!RC[18]&#8220;,FALSE),2),&#8221;|&#8221;))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hadi</title>
		<link>http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comment-491</link>
		<dc:creator><![CDATA[hadi]]></dc:creator>
		<pubDate>Sun, 17 Jul 2011 08:34:18 +0000</pubDate>
		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comment-491</guid>
		<description><![CDATA[hi simon

that&#039;s exaclty what i am trying to do but how do i use it or include it within the following formula, beause everytime i am trying to add indirect , my forumla return syntzt errorr

=IF(‘Time Sheet Entry’!A14=”&quot;,”&quot;,CONCATENATE(“&#124;”,FIXED(‘Time Sheet Entry’!S14,2),”&#124;”)) 

even tho I am java developer to be honest i am stuck with this, could you pleaseee, see if you can solve this?]]></description>
		<content:encoded><![CDATA[<p>hi simon</p>
<p>that&#8217;s exaclty what i am trying to do but how do i use it or include it within the following formula, beause everytime i am trying to add indirect , my forumla return syntzt errorr</p>
<p>=IF(‘Time Sheet Entry’!A14=”&#8221;,”&#8221;,CONCATENATE(“|”,FIXED(‘Time Sheet Entry’!S14,2),”|”)) </p>
<p>even tho I am java developer to be honest i am stuck with this, could you pleaseee, see if you can solve this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simontkb</title>
		<link>http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comment-490</link>
		<dc:creator><![CDATA[simontkb]]></dc:creator>
		<pubDate>Sun, 17 Jul 2011 07:17:23 +0000</pubDate>
		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comment-490</guid>
		<description><![CDATA[Hi
I think what they are referring to is the use of INDIRECT() to &#039;fix&#039; a cell reference so that reference always refers to what is currently in that cell, unadjusted for insertions and deletions. For example the following &#039;Row/Column&#039; form of an INDIRECT() function (note the extra argument of &#039;False&#039; at the end to use Row/Column rather than A1 referencing) would always refer to the same cell in the sheet named in cell $A$1 as the cell that contains the formula. RC meaning no rows, no columns offset from the current location - if it was typed into cell D14 it would refer to D14. R[1]C[1] would refer to E15 etc.)

=INDIRECT(&quot;&#039;&quot;&amp;$A$1 &amp; &quot;&#039;!RC&quot;,FALSE)]]></description>
		<content:encoded><![CDATA[<p>Hi<br />
I think what they are referring to is the use of INDIRECT() to &#8216;fix&#8217; a cell reference so that reference always refers to what is currently in that cell, unadjusted for insertions and deletions. For example the following &#8216;Row/Column&#8217; form of an INDIRECT() function (note the extra argument of &#8216;False&#8217; at the end to use Row/Column rather than A1 referencing) would always refer to the same cell in the sheet named in cell $A$1 as the cell that contains the formula. RC meaning no rows, no columns offset from the current location &#8211; if it was typed into cell D14 it would refer to D14. R[1]C[1] would refer to E15 etc.)</p>
<p>=INDIRECT(&#8220;&#8216;&#8221;&amp;$A$1 &amp; &#8220;&#8216;!RC&#8221;,FALSE)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

