<?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: Using Excel text functions to work with analysis codes &#8211; part 1</title>
	<atom:link href="http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/</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: kevinh</title>
		<link>http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/#comment-291</link>
		<dc:creator><![CDATA[kevinh]]></dc:creator>
		<pubDate>Wed, 10 Jun 2009 21:23:24 +0000</pubDate>
		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/#comment-291</guid>
		<description><![CDATA[You are awesome.  Thank you very much!]]></description>
		<content:encoded><![CDATA[<p>You are awesome.  Thank you very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simontkb</title>
		<link>http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/#comment-290</link>
		<dc:creator><![CDATA[simontkb]]></dc:creator>
		<pubDate>Wed, 10 Jun 2009 17:05:50 +0000</pubDate>
		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/#comment-290</guid>
		<description><![CDATA[Hi Kevin - the text format can use the sections of a normal custom number format, so section 2 will define the format of a negative number. The sections are separated by a semi-colon, so I think the following should do what you want:

=&quot;Total for 2009 = &quot;&amp; TEXT(A1, &quot;$#,##0.0;-$#,##0.0&quot;)

Kind regards

Simon]]></description>
		<content:encoded><![CDATA[<p>Hi Kevin &#8211; the text format can use the sections of a normal custom number format, so section 2 will define the format of a negative number. The sections are separated by a semi-colon, so I think the following should do what you want:</p>
<p>=&#8221;Total for 2009 = &#8220;&amp; TEXT(A1, &#8220;$#,##0.0;-$#,##0.0&#8243;)</p>
<p>Kind regards</p>
<p>Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kevinh</title>
		<link>http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/#comment-289</link>
		<dc:creator><![CDATA[kevinh]]></dc:creator>
		<pubDate>Wed, 10 Jun 2009 16:39:58 +0000</pubDate>
		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/#comment-289</guid>
		<description><![CDATA[Simon,
I hope this is an easier question.  I have concatenated in a cell and am using the TEXT() formula to format the number.  The number can be positive or negative dollars.  Is there a way to format it to show the negative dollars appropriately? 

Specifically:
=&quot;Total for 2009 = &quot;&amp;text(A1, &quot;$#,##0.0)

This only works for positive dollars.  When it&#039;s negative it looks like this:
$-570.1

I&#039;m hoping it will format like this:
-$570.1

Thank you in advance - your knowledge is amazing.

Best regards,
Kevin]]></description>
		<content:encoded><![CDATA[<p>Simon,<br />
I hope this is an easier question.  I have concatenated in a cell and am using the TEXT() formula to format the number.  The number can be positive or negative dollars.  Is there a way to format it to show the negative dollars appropriately? </p>
<p>Specifically:<br />
=&#8221;Total for 2009 = &#8220;&amp;text(A1, &#8220;$#,##0.0)</p>
<p>This only works for positive dollars.  When it&#8217;s negative it looks like this:<br />
$-570.1</p>
<p>I&#8217;m hoping it will format like this:<br />
-$570.1</p>
<p>Thank you in advance &#8211; your knowledge is amazing.</p>
<p>Best regards,<br />
Kevin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simontkb</title>
		<link>http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/#comment-285</link>
		<dc:creator><![CDATA[simontkb]]></dc:creator>
		<pubDate>Tue, 02 Jun 2009 11:07:10 +0000</pubDate>
		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/#comment-285</guid>
		<description><![CDATA[Hi John - I think I&#039;d need to understand better what you&#039;re trying to achieve to know whether or not you&#039;re going about it the right way. Contact details at www.tkb.co.uk if you want to get in touch directly.]]></description>
		<content:encoded><![CDATA[<p>Hi John &#8211; I think I&#8217;d need to understand better what you&#8217;re trying to achieve to know whether or not you&#8217;re going about it the right way. Contact details at <a href="http://www.tkb.co.uk" rel="nofollow">http://www.tkb.co.uk</a> if you want to get in touch directly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/#comment-284</link>
		<dc:creator><![CDATA[John]]></dc:creator>
		<pubDate>Tue, 02 Jun 2009 10:45:38 +0000</pubDate>
		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/#comment-284</guid>
		<description><![CDATA[Hello and thanks for your quick reply.

There were a couple of reasons I wanted to do this.

One was for a simple addition of numbers within one cell. Eg A simple addition is displayed in Cell A1 and is shown as 1+2+3 (no “=” sign so it is not a calculated formula). I was hoping for a simple function that would then allow me to use those characters in cell A1 (including the mathematical operators), to make the calculation in Cell B1 (as if the only thing needed in cell B1 to make the calculation was the “=” sign).

I know I could have made the calculation and received a result in B1, by typing in cell B1 =1+2+3. I could have then had Excel automatically display the formula in A1. However, I wanted it to work the other way around. Probably because I’m just awkward.

The other reason was to try and to cut down on the lengths of formulas on one sheet. The SUMIFS formula is repeated down several rows with only the criteria changing. Your example could cut it down a bit more for me by grouping my sum ranges into another indirect function. I think I’m moving beyond my limited abilities doing that though, as my data ranges already contain an INDIRECT function.

At the moment I am already using the INDIRECT function to create my data range. Eg to get a data range of Stairs!H8:H60 I am using the following within my SUMIFS formula.

Stairs!H8:INDIRECT(&quot;Stairs!&quot;&amp;&quot;H&quot;&amp;M2)

The cell M2 refers to a variable row number and in this example I am using 60.

I have 3 or 4 data range instances of that, within each SUMIFS formula, except the “H” column reference has other letters for the different criteria ranges.

Unfortunately I can’t just type this into a cell and have the INDIRECT function use the data to construct the cell reference I need.

Maybe I’m just going about it all the wrong way.]]></description>
		<content:encoded><![CDATA[<p>Hello and thanks for your quick reply.</p>
<p>There were a couple of reasons I wanted to do this.</p>
<p>One was for a simple addition of numbers within one cell. Eg A simple addition is displayed in Cell A1 and is shown as 1+2+3 (no “=” sign so it is not a calculated formula). I was hoping for a simple function that would then allow me to use those characters in cell A1 (including the mathematical operators), to make the calculation in Cell B1 (as if the only thing needed in cell B1 to make the calculation was the “=” sign).</p>
<p>I know I could have made the calculation and received a result in B1, by typing in cell B1 =1+2+3. I could have then had Excel automatically display the formula in A1. However, I wanted it to work the other way around. Probably because I’m just awkward.</p>
<p>The other reason was to try and to cut down on the lengths of formulas on one sheet. The SUMIFS formula is repeated down several rows with only the criteria changing. Your example could cut it down a bit more for me by grouping my sum ranges into another indirect function. I think I’m moving beyond my limited abilities doing that though, as my data ranges already contain an INDIRECT function.</p>
<p>At the moment I am already using the INDIRECT function to create my data range. Eg to get a data range of Stairs!H8:H60 I am using the following within my SUMIFS formula.</p>
<p>Stairs!H8:INDIRECT(&#8220;Stairs!&#8221;&amp;&#8221;H&#8221;&amp;M2)</p>
<p>The cell M2 refers to a variable row number and in this example I am using 60.</p>
<p>I have 3 or 4 data range instances of that, within each SUMIFS formula, except the “H” column reference has other letters for the different criteria ranges.</p>
<p>Unfortunately I can’t just type this into a cell and have the INDIRECT function use the data to construct the cell reference I need.</p>
<p>Maybe I’m just going about it all the wrong way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simontkb</title>
		<link>http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/#comment-283</link>
		<dc:creator><![CDATA[simontkb]]></dc:creator>
		<pubDate>Mon, 01 Jun 2009 21:14:44 +0000</pubDate>
		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/#comment-283</guid>
		<description><![CDATA[Hi John, the INDIRECT() function (as described in detail here: http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/ ) will allow you to construct a cell reference out of text held in other cells, but I don&#039;t think it would let you construct the whole SUMIFS() function in the way you say. You could enter the cell references into cells say:
C1 D1:D9
C2 A1:A9
C3 B1:B9
C4: mouse
C5: clogs

=SUMIFS(INDIRECT(C1),INDIRECT(C2),C4,INDIRECT(C3),C5)

I haven&#039;t quite worked out why you are trying to construct the SUMIFS() formula in this way - no doubt you have your reasons!]]></description>
		<content:encoded><![CDATA[<p>Hi John, the INDIRECT() function (as described in detail here: <a href="http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/" rel="nofollow">http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/</a> ) will allow you to construct a cell reference out of text held in other cells, but I don&#8217;t think it would let you construct the whole SUMIFS() function in the way you say. You could enter the cell references into cells say:<br />
C1 D1:D9<br />
C2 A1:A9<br />
C3 B1:B9<br />
C4: mouse<br />
C5: clogs</p>
<p>=SUMIFS(INDIRECT(C1),INDIRECT(C2),C4,INDIRECT(C3),C5)</p>
<p>I haven&#8217;t quite worked out why you are trying to construct the SUMIFS() formula in this way &#8211; no doubt you have your reasons!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/#comment-282</link>
		<dc:creator><![CDATA[John]]></dc:creator>
		<pubDate>Mon, 01 Jun 2009 18:48:39 +0000</pubDate>
		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/#comment-282</guid>
		<description><![CDATA[Is it possible to type parts of a formula in one or more cells (without including the = sign), then bring them together for a calculation in another cell?
Eg. To get a final formula in cell C4 is it possible to join the characters from three other cells together (the three other cells do not start with the = sign so Excel doesn&#039;t know it&#039;s a formula)
Eg. In cell C1the characters are typed     SUMIFS(D1:D9,A1:A9,
In cell C2 the characters are typed     &quot;Mouse&quot;,
In cell C3 the characters are typed    B1:B9,&quot;Clogs&quot;)
Can these all be joined in cell C4 so that cell C4 reads =SUMIFS(D1:D9,A1:A9,&quot;Mouse&quot;,B1:B9,&quot;Clogs&quot;)]]></description>
		<content:encoded><![CDATA[<p>Is it possible to type parts of a formula in one or more cells (without including the = sign), then bring them together for a calculation in another cell?<br />
Eg. To get a final formula in cell C4 is it possible to join the characters from three other cells together (the three other cells do not start with the = sign so Excel doesn&#8217;t know it&#8217;s a formula)<br />
Eg. In cell C1the characters are typed     SUMIFS(D1:D9,A1:A9,<br />
In cell C2 the characters are typed     &#8220;Mouse&#8221;,<br />
In cell C3 the characters are typed    B1:B9,&#8221;Clogs&#8221;)<br />
Can these all be joined in cell C4 so that cell C4 reads =SUMIFS(D1:D9,A1:A9,&#8221;Mouse&#8221;,B1:B9,&#8221;Clogs&#8221;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simontkb</title>
		<link>http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/#comment-219</link>
		<dc:creator><![CDATA[simontkb]]></dc:creator>
		<pubDate>Sat, 29 Nov 2008 12:06:13 +0000</pubDate>
		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/#comment-219</guid>
		<description><![CDATA[Hi Sharon


It depends on how consistent the cell contents are, if each cell contained the same number of letters, then you could just use =Left(a1,11) for example. If there were different numbers of characters but there was always the &#039;Total&#039; bit at the end. You could use something like =left(a1,len(a1)-6). Or if Total couldn&#039;t appear anywhere but at the end: =substitute(a1,&quot; Total&quot;,&quot;&quot;) - be careful because substitute is case-sensitive.

I hope one of theses helps

Kind regards

Simon]]></description>
		<content:encoded><![CDATA[<p>Hi Sharon</p>
<p>It depends on how consistent the cell contents are, if each cell contained the same number of letters, then you could just use =Left(a1,11) for example. If there were different numbers of characters but there was always the &#8216;Total&#8217; bit at the end. You could use something like =left(a1,len(a1)-6). Or if Total couldn&#8217;t appear anywhere but at the end: =substitute(a1,&#8221; Total&#8221;,&#8221;") &#8211; be careful because substitute is case-sensitive.</p>
<p>I hope one of theses helps</p>
<p>Kind regards</p>
<p>Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sharon</title>
		<link>http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/#comment-218</link>
		<dc:creator><![CDATA[Sharon]]></dc:creator>
		<pubDate>Thu, 27 Nov 2008 12:37:58 +0000</pubDate>
		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/#comment-218</guid>
		<description><![CDATA[Dear all, i wonder who could help me with a difficult formula . 

cel A1 contains = AIR TPT MMC Total
i want to return in another cell &quot;AIR TPT MMC&quot;
so withtout the word &quot;Total&quot;.

What formula can i use?

brgds
Sharon]]></description>
		<content:encoded><![CDATA[<p>Dear all, i wonder who could help me with a difficult formula . </p>
<p>cel A1 contains = AIR TPT MMC Total<br />
i want to return in another cell &#8220;AIR TPT MMC&#8221;<br />
so withtout the word &#8220;Total&#8221;.</p>
<p>What formula can i use?</p>
<p>brgds<br />
Sharon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simontkb</title>
		<link>http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/#comment-213</link>
		<dc:creator><![CDATA[simontkb]]></dc:creator>
		<pubDate>Sat, 04 Oct 2008 09:24:22 +0000</pubDate>
		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/14/using-excel-text-functions-to-work-with-analyis-codes-part-1/#comment-213</guid>
		<description><![CDATA[Pleasure - glad to be of help]]></description>
		<content:encoded><![CDATA[<p>Pleasure &#8211; glad to be of help</p>
]]></content:encoded>
	</item>
</channel>
</rss>

