<?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/"
		>
<channel>
	<title>Comments on: Dynamic Text Sorting</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2006/10/11/dynamic-text-sorting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2006/10/11/dynamic-text-sorting/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:58:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: AeroSteve</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/11/dynamic-text-sorting/#comment-64759</link>
		<dc:creator>AeroSteve</dc:creator>
		<pubDate>Fri, 17 Jun 2011 13:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1527#comment-64759</guid>
		<description>&lt;p&gt;Okay, maybe I over complicated the problem - same question in a different wording...&lt;/p&gt;
&lt;p&gt;I modified the first line formula to deal with list cells containing empty strings (from IF statement).  The same modification to the supplimentary formulas doesn&#039;t work.&lt;/p&gt;
&lt;p&gt;1) Is there a better way to deal with empty strings since you can&#039;t set the cell to a true blank as it contains a formula?&lt;/p&gt;
&lt;p&gt;2) Can someone explain the logic of the formula below.  I don&#039;t follow it at all.&lt;/p&gt;
&lt;p&gt;{=COUNTIF($S$6:$S$105,&quot;&lt;&quot;&amp;$S$6:$S$105)}&lt;/p&gt;
&lt;p&gt;Thanks again&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Okay, maybe I over complicated the problem &#8211; same question in a different wording&#8230;</p>
<p>I modified the first line formula to deal with list cells containing empty strings (from IF statement).  The same modification to the supplimentary formulas doesn&#8217;t work.</p>
<p>1) Is there a better way to deal with empty strings since you can&#8217;t set the cell to a true blank as it contains a formula?</p>
<p>2) Can someone explain the logic of the formula below.  I don&#8217;t follow it at all.</p>
<p>{=COUNTIF($S$6:$S$105,&#8221;&lt;&#8221;&amp;$S$6:$S$105)}</p>
<p>Thanks again</p>
<p>Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AeroSteve</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/11/dynamic-text-sorting/#comment-64758</link>
		<dc:creator>AeroSteve</dc:creator>
		<pubDate>Fri, 17 Jun 2011 13:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1527#comment-64758</guid>
		<description>&lt;p&gt;Awesome!  I&#039;m impressed.&lt;/p&gt;
&lt;p&gt;MY APPLICATION:&lt;/p&gt;
&lt;p&gt;It works great, and I&#039;ve also taken some inspiration from the suggestion of PaulB to get it working with numbers and other characters.  I&#039;m using it to create dynamic range names, using the formula below, in order to create validation lists.&lt;/p&gt;
&lt;p&gt;    =OFFSET(LookUp!$G$6,0,0,ROWS(LookUp!$G$6:$G$99)-COUNTIF(LookUp!$G$6:$G$99,&quot;&quot;),1)&lt;/p&gt;
&lt;p&gt;MY PROBLEM:&lt;/p&gt;
&lt;p&gt;Now I have the next problem...  (Never satisfied I know).&lt;/p&gt;
&lt;p&gt;I have an initial list that is created as a formula.&lt;br&gt;
The formular is a simple concatenation of additional other data wrapped up in an IF statement.&lt;/p&gt;
&lt;p&gt;    =IF(OR(ISBLANK(H93),ISBLANK(I93)),&quot;&quot;,H93 &amp; &quot; (&quot; &amp; I93 &amp; &quot;)&quot;)&lt;/p&gt;
&lt;p&gt;Now, when I try to created a sorted list it doesn&#039;t create a list at all.&lt;br&gt;
The problem with the first line was the ISBLANK statement which I modified to ($G$6:$G$105=&quot;&quot;) to get it working, see below.&lt;/p&gt;
&lt;p&gt;    =INDEX($G$6:$G$105,MATCH(MIN(COUNTIF($G$6:$G$105,&quot;&lt;&quot;&amp;$G$6:$G$105&amp;&quot;&quot;)+COUNT($G$7:$G$106)*ISTEXT($G$6:$G$105)+100000*($G$6:$G$105=&quot;&quot;)),COUNTIF($G$6:$G$105,&quot;&lt;&quot;&amp;$G$6:$G$105&amp;&quot;&quot;)+COUNT($G$6:$G$105)*ISTEXT($G$6:$G$105)+100000*($G$6:$G$105=&quot;&quot;),0))&lt;/p&gt;
&lt;p&gt;I then tried the same for the following lines which are also wrapped up in an IF statement to avoid the unwanted #NA&#039;s.  Here my solution doesn&#039;t work.  The formula is below.&lt;/p&gt;
&lt;p&gt;=IF(ISNA(INDEX($G$6:$G$105,MATCH(0,COUNTIF($G$6:$G$105,&quot;&lt;&quot;&amp;$G$6:$G$105)+COUNT($G$6:$G$105)*ISTEXT($G$6:$G$105)+100000*($G$6:$G$105=&quot;&quot;)-SUM(COUNTIF($G$6:$G$105,&quot;=&quot;&amp;$G$107:G107)),0))),&quot;&quot;,INDEX($G$6:$G$105,MATCH(0,COUNTIF($G$6:$G$105,&quot;&lt;&quot;&amp;$G$6:$G$105)+COUNT($G$6:$G$105)*ISTEXT($G$6:$G$105)+100000*($G$6:$G$105=&quot;&quot;)-SUM(COUNTIF($G$6:$G$105,&quot;=&quot;&amp;$G$107:G107)),0)))&lt;/p&gt;
&lt;p&gt;So, with a bit of debugging, I&#039;ve tracked the problem to the section of the formula reading  &quot; COUNTIF($S$6:$S$105,&quot;&lt;&quot;&amp;$S$6:$S$105) &quot;.  This formula returns 1 when all blank cells are deleted (empty) and a larger number when the blank cells still contain the formula (with empty string set).&lt;/p&gt;
&lt;p&gt;How do I solve this?&lt;/p&gt;
&lt;p&gt;MY QUESTION:&lt;/p&gt;
&lt;p&gt;Can someone explain me what the array formula is actually doing here to point me in the right direction to solving this.  I simply don&#039;t understand the logic!&lt;/p&gt;
&lt;p&gt;{=COUNTIF($S$6:$S$105,&quot;&lt;&quot;&amp;$S$6:$S$105)}&lt;/p&gt;
&lt;p&gt;ALREADY ATTEMPTED SOLUTIONS (None Worked):&lt;/p&gt;
&lt;p&gt;1) The first line writes this statement with an additional &amp;&quot;&quot; appended to the criteria.  No change.&lt;/p&gt;
&lt;p&gt;2) Setting the formula column to an array formula created more problems to try and deal and didn&#039;t seem like an appropriate or effective solution to I quit this line of tests.&lt;/p&gt;
&lt;p&gt;3) Considered using a macro to run the concatenation, but seemed pointless having spent so much time getting this formula working so as to avoid macro warnings for the user.&lt;/p&gt;
&lt;p&gt;4) Considered dynamic validations to avoid the need for concatenation to begin with but that doesn&#039;t suit my application.&lt;/p&gt;
&lt;p&gt;5) ...  a bunch of other things that I don&#039;t think of now.&lt;/p&gt;
&lt;p&gt;FINAL COMMENTS:&lt;/p&gt;
&lt;p&gt;Any help or pointers would be appreciated.  This is a seriously cool formula and application I&#039;ve found to use it, just need to tweak this last little bit :-)&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Awesome!  I&#8217;m impressed.</p>
<p>MY APPLICATION:</p>
<p>It works great, and I&#8217;ve also taken some inspiration from the suggestion of PaulB to get it working with numbers and other characters.  I&#8217;m using it to create dynamic range names, using the formula below, in order to create validation lists.</p>
<p>    =OFFSET(LookUp!$G$6,0,0,ROWS(LookUp!$G$6:$G$99)-COUNTIF(LookUp!$G$6:$G$99,&#8221;"),1)</p>
<p>MY PROBLEM:</p>
<p>Now I have the next problem&#8230;  (Never satisfied I know).</p>
<p>I have an initial list that is created as a formula.<br />
The formular is a simple concatenation of additional other data wrapped up in an IF statement.</p>
<p>    =IF(OR(ISBLANK(H93),ISBLANK(I93)),&#8221;",H93 &amp; &#8221; (&#8221; &amp; I93 &amp; &#8220;)&#8221;)</p>
<p>Now, when I try to created a sorted list it doesn&#8217;t create a list at all.<br />
The problem with the first line was the ISBLANK statement which I modified to ($G$6:$G$105=&#8221;") to get it working, see below.</p>
<p>    =INDEX($G$6:$G$105,MATCH(MIN(COUNTIF($G$6:$G$105,&#8221;&lt;&#8221;&amp;$G$6:$G$105&amp;&#8221;")+COUNT($G$7:$G$106)*ISTEXT($G$6:$G$105)+100000*($G$6:$G$105=&#8221;")),COUNTIF($G$6:$G$105,&#8221;&lt;&#8221;&amp;$G$6:$G$105&amp;&#8221;")+COUNT($G$6:$G$105)*ISTEXT($G$6:$G$105)+100000*($G$6:$G$105=&#8221;"),0))</p>
<p>I then tried the same for the following lines which are also wrapped up in an IF statement to avoid the unwanted #NA&#8217;s.  Here my solution doesn&#8217;t work.  The formula is below.</p>
<p>=IF(ISNA(INDEX($G$6:$G$105,MATCH(0,COUNTIF($G$6:$G$105,&#8221;&lt;&#8221;&amp;$G$6:$G$105)+COUNT($G$6:$G$105)*ISTEXT($G$6:$G$105)+100000*($G$6:$G$105=&#8221;")-SUM(COUNTIF($G$6:$G$105,&#8221;=&#8221;&amp;$G$107:G107)),0))),&#8221;",INDEX($G$6:$G$105,MATCH(0,COUNTIF($G$6:$G$105,&#8221;&lt;&#8221;&amp;$G$6:$G$105)+COUNT($G$6:$G$105)*ISTEXT($G$6:$G$105)+100000*($G$6:$G$105=&#8221;")-SUM(COUNTIF($G$6:$G$105,&#8221;=&#8221;&amp;$G$107:G107)),0)))</p>
<p>So, with a bit of debugging, I&#8217;ve tracked the problem to the section of the formula reading  &#8221; COUNTIF($S$6:$S$105,&#8221;&lt;&#8221;&amp;$S$6:$S$105) &#8220;.  This formula returns 1 when all blank cells are deleted (empty) and a larger number when the blank cells still contain the formula (with empty string set).</p>
<p>How do I solve this?</p>
<p>MY QUESTION:</p>
<p>Can someone explain me what the array formula is actually doing here to point me in the right direction to solving this.  I simply don&#8217;t understand the logic!</p>
<p>{=COUNTIF($S$6:$S$105,&#8221;&lt;&#8221;&amp;$S$6:$S$105)}</p>
<p>ALREADY ATTEMPTED SOLUTIONS (None Worked):</p>
<p>1) The first line writes this statement with an additional &amp;&#8221;" appended to the criteria.  No change.</p>
<p>2) Setting the formula column to an array formula created more problems to try and deal and didn&#8217;t seem like an appropriate or effective solution to I quit this line of tests.</p>
<p>3) Considered using a macro to run the concatenation, but seemed pointless having spent so much time getting this formula working so as to avoid macro warnings for the user.</p>
<p>4) Considered dynamic validations to avoid the need for concatenation to begin with but that doesn&#8217;t suit my application.</p>
<p>5) &#8230;  a bunch of other things that I don&#8217;t think of now.</p>
<p>FINAL COMMENTS:</p>
<p>Any help or pointers would be appreciated.  This is a seriously cool formula and application I&#8217;ve found to use it, just need to tweak this last little bit <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Cheers</p>
<p>Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ozan</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/11/dynamic-text-sorting/#comment-48904</link>
		<dc:creator>Ozan</dc:creator>
		<pubDate>Fri, 13 Aug 2010 09:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1527#comment-48904</guid>
		<description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I tried to use the formula but it brings the first entry in the range &quot;data&quot; always when i copy to extend the formula in the column &quot;sorted&quot; for the remaining rows.&lt;/p&gt;
&lt;p&gt;What might be the reason behind it?&lt;/p&gt;
&lt;p&gt;thks in advance,&lt;/p&gt;
&lt;p&gt;Ozan&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I tried to use the formula but it brings the first entry in the range &#8220;data&#8221; always when i copy to extend the formula in the column &#8220;sorted&#8221; for the remaining rows.</p>
<p>What might be the reason behind it?</p>
<p>thks in advance,</p>
<p>Ozan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hitesh</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/11/dynamic-text-sorting/#comment-45950</link>
		<dc:creator>Hitesh</dc:creator>
		<pubDate>Fri, 07 May 2010 20:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1527#comment-45950</guid>
		<description>&lt;p&gt;The formulation is really great!!!&lt;/p&gt;
&lt;p&gt;=INDEX(Data,MATCH(ROW(INDIRECT(&quot;1:&quot;&amp;ROWS(Data)))-1,COUNTIF(Data,&quot;&lt;&quot; &amp;Data),0))&lt;/p&gt;
&lt;p&gt;Thanks  ...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The formulation is really great!!!</p>
<p>=INDEX(Data,MATCH(ROW(INDIRECT(&#8220;1:&#8221;&amp;ROWS(Data)))-1,COUNTIF(Data,&#8221;&lt;&#8221; &amp;Data),0))</p>
<p>Thanks  &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oscar</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/11/dynamic-text-sorting/#comment-39701</link>
		<dc:creator>Oscar</dc:creator>
		<pubDate>Sat, 06 Jun 2009 10:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1527#comment-39701</guid>
		<description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I have created an array formula that sorts text and numbers and removes blanks: &lt;a href=&quot;http://www.get-digital-help.com/2009/06/06/sorting-numbers-and-text-cells-also-removing-blanks-using-array-formula-in-excel/&quot; rel=&quot;nofollow&quot;&gt;http://www.get-digital-help.com/2009/06/06/sorting-numbers-and-text-cells-also-removing-blanks-using-array-formula-in-excel/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I hope this can be helpful, any comments?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I have created an array formula that sorts text and numbers and removes blanks: <a href="http://www.get-digital-help.com/2009/06/06/sorting-numbers-and-text-cells-also-removing-blanks-using-array-formula-in-excel/" rel="nofollow">http://www.get-digital-help.com/2009/06/06/sorting-numbers-and-text-cells-also-removing-blanks-using-array-formula-in-excel/</a></p>
<p>I hope this can be helpful, any comments?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Jenkins</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/11/dynamic-text-sorting/#comment-38907</link>
		<dc:creator>Doug Jenkins</dc:creator>
		<pubDate>Fri, 10 Apr 2009 10:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1527#comment-38907</guid>
		<description>&lt;p&gt;For anyone who wants a dynamic sorted list, but doesn&#039;t want a complicated array formula to do it, a UDF solution can be found at &lt;a href=&quot;http://newtonexcelbach.wordpress.com/2009/03/23/a-sort-function/&quot; rel=&quot;nofollow&quot;&gt;http://newtonexcelbach.wordpress.com/2009/03/23/a-sort-function/&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>For anyone who wants a dynamic sorted list, but doesn&#8217;t want a complicated array formula to do it, a UDF solution can be found at <a href="http://newtonexcelbach.wordpress.com/2009/03/23/a-sort-function/" rel="nofollow">http://newtonexcelbach.wordpress.com/2009/03/23/a-sort-function/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/11/dynamic-text-sorting/#comment-38897</link>
		<dc:creator>Ron</dc:creator>
		<pubDate>Thu, 09 Apr 2009 21:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1527#comment-38897</guid>
		<description>&lt;p&gt;This is very very helpful - thanks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This is very very helpful &#8211; thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vicky Ternida</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/11/dynamic-text-sorting/#comment-36109</link>
		<dc:creator>Vicky Ternida</dc:creator>
		<pubDate>Mon, 17 Nov 2008 08:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1527#comment-36109</guid>
		<description>&lt;p&gt;Tim.Court-Parker,&lt;/p&gt;
&lt;p&gt;Appreciate your help. Thank you very much.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Tim.Court-Parker,</p>
<p>Appreciate your help. Thank you very much.</p>
<p>Best regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim.Court-Parker</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/11/dynamic-text-sorting/#comment-36081</link>
		<dc:creator>Tim.Court-Parker</dc:creator>
		<pubDate>Sat, 15 Nov 2008 10:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1527#comment-36081</guid>
		<description>&lt;p&gt;Vicky Ternida,&lt;/p&gt;
&lt;p&gt;1. Use Excel Sort ; then, duplicate names are grouped in one place.&lt;/p&gt;
&lt;p&gt;2. Use Excel Conditional Format ; then, duplicate names are highlighted thereof in respective groups.&lt;/p&gt;
&lt;p&gt;3. Use Excel AutoFilter ; then, you can examine respective groups of duplicate names in turn.&lt;/p&gt;
&lt;p&gt;4. Recurring names like J.R._Junior, J.R-Junior, JR.Junior etc are admittedly more difficult to detect as duplicate names.&lt;/p&gt;
&lt;p&gt;5. If you would allow limited disclosure, please send a copy of your Excel worksheet of 7000 names (truncated if need be) to,&lt;br&gt;
&lt;a href=&quot;mailto:TimCourtParker@gmail.com&quot;&gt;TimCourtParker@gmail.com&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;6. However, before I could offer any assistance at all, please exercise discretion (by your good-self) while sharing the list ...... it should not incur any infringement of interests upon the parties involved.&lt;/p&gt;
&lt;p&gt;Regards.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Vicky Ternida,</p>
<p>1. Use Excel Sort ; then, duplicate names are grouped in one place.</p>
<p>2. Use Excel Conditional Format ; then, duplicate names are highlighted thereof in respective groups.</p>
<p>3. Use Excel AutoFilter ; then, you can examine respective groups of duplicate names in turn.</p>
<p>4. Recurring names like J.R._Junior, J.R-Junior, JR.Junior etc are admittedly more difficult to detect as duplicate names.</p>
<p>5. If you would allow limited disclosure, please send a copy of your Excel worksheet of 7000 names (truncated if need be) to,<br />
<a href="mailto:TimCourtParker@gmail.com">TimCourtParker@gmail.com</a>.</p>
<p>6. However, before I could offer any assistance at all, please exercise discretion (by your good-self) while sharing the list &#8230;&#8230; it should not incur any infringement of interests upon the parties involved.</p>
<p>Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vicky Ternida</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/11/dynamic-text-sorting/#comment-36059</link>
		<dc:creator>Vicky Ternida</dc:creator>
		<pubDate>Thu, 13 Nov 2008 09:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1527#comment-36059</guid>
		<description>&lt;p&gt;I hope to get help in my work. I wanted to save time in manually checking duplicate names in a 7,000 datebase of names I received on a bi-weekly basis i.e.,in an excel format. I&#039;ve started reading excel books including that of john Walkenbach, trying to find a simple way in excel to do it but can&#039;t figure it out ...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I hope to get help in my work. I wanted to save time in manually checking duplicate names in a 7,000 datebase of names I received on a bi-weekly basis i.e.,in an excel format. I&#8217;ve started reading excel books including that of john Walkenbach, trying to find a simple way in excel to do it but can&#8217;t figure it out &#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

