<?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: Sorting text cells using array formula in excel</title> <atom:link href="http://www.get-digital-help.com/2009/03/27/sorting-text-cells-using-array-formula/feed/" rel="self" type="application/rss+xml" /><link>http://www.get-digital-help.com/2009/03/27/sorting-text-cells-using-array-formula/</link> <description>Quality excel resource</description> <lastBuildDate>Thu, 09 Feb 2012 20:47:33 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Spencer</title><link>http://www.get-digital-help.com/2009/03/27/sorting-text-cells-using-array-formula/comment-page-1/#comment-47239</link> <dc:creator>Spencer</dc:creator> <pubDate>Mon, 30 Jan 2012 21:13:30 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=878#comment-47239</guid> <description>I should add that when I said the modified formula produced the same results as the original I meant that both formula&#039;s had the SMALL function swapped for the LARGE function.</description> <content:encoded><![CDATA[<p>I should add that when I said the modified formula produced the same results as the original I meant that both formula's had the SMALL function swapped for the LARGE function.</p> ]]></content:encoded> </item> <item><title>By: Spencer</title><link>http://www.get-digital-help.com/2009/03/27/sorting-text-cells-using-array-formula/comment-page-1/#comment-47235</link> <dc:creator>Spencer</dc:creator> <pubDate>Mon, 30 Jan 2012 21:10:25 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=878#comment-47235</guid> <description>what is the purpose of [COUNTIF(List, &quot;&lt;&quot;&amp;List)]? I tried the same overall formula but I replaced this part with a direct reference to the named range and switched SMALL for LARGE which resulted in the formula below:
=INDEX(List, MATCH(LARGE(List, ROW(1:1)), List, 0))
This produced the same results as your original formula which is what made me wonder why the [COUNTIF(List, &quot;&lt;&quot;&amp;List)] portion needs to be there at all.
Also, in my attempt to understand what this part of the formula is doing I came across something that confused me even more. If the section in question [COUNTIF(List, &quot;&lt;&quot;&amp;List)] is put into cells by itself, without the [INDEX(List...], then the results are dependant on the row where the formula was originally inputted and where the formula was copied. I&#039;m assuming this is because the countif outputs an array but I don&#039;t understand why. Can you explain this for me?</description> <content:encoded><![CDATA[<p>what is the purpose of [COUNTIF(List, "&lt;&quot;&amp;List)]? I tried the same overall formula but I replaced this part with a direct reference to the named range and switched SMALL for LARGE which resulted in the formula below:</p><p>=INDEX(List, MATCH(LARGE(List, ROW(1:1)), List, 0))</p><p>This produced the same results as your original formula which is what made me wonder why the [COUNTIF(List, &quot;&lt;&quot;&amp;List)] portion needs to be there at all.</p><p>Also, in my attempt to understand what this part of the formula is doing I came across something that confused me even more. If the section in question [COUNTIF(List, &quot;&lt;&quot;&amp;List)] is put into cells by itself, without the [INDEX(List...], then the results are dependant on the row where the formula was originally inputted and where the formula was copied. I&#039;m assuming this is because the countif outputs an array but I don&#039;t understand why. Can you explain this for me?</p> ]]></content:encoded> </item> <item><title>By: Oscar</title><link>http://www.get-digital-help.com/2009/03/27/sorting-text-cells-using-array-formula/comment-page-1/#comment-43586</link> <dc:creator>Oscar</dc:creator> <pubDate>Fri, 13 Jan 2012 12:38:02 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=878#comment-43586</guid> <description>Themin,
&lt;div id=&quot;code1&quot;&gt;=INDEX($A$1:$A$5,  MATCH(SMALL(COUNTIF($A$1:$A$5,  &quot;&lt;&quot;&amp;$A$1:$A$5),  COLUMN(A:A)),  COUNTIF($A$1:$A$5,  &quot;&lt;&quot;&amp;$A$1:$A$5),  0))&lt;/div&gt;
&lt;b&gt;Download example file *.xlsx&lt;/b&gt;
&lt;a href=&quot;http://www.get-digital-help.com/wp-content/uploads/2009/03/Themin.xlsx&quot; rel=&quot;nofollow&quot;&gt;Themin.xlsx&lt;/a&gt;</description> <content:encoded><![CDATA[<p>Themin,</p><div
id="code1">=INDEX($A$1:$A$5,  MATCH(SMALL(COUNTIF($A$1:$A$5,  "< "&#038;$A$1:$A$5),  COLUMN(A:A)),  COUNTIF($A$1:$A$5,  "<"&#038;$A$1:$A$5),  0))</div><p><b>Download example file *.xlsx</b><br
/> <a
href="http://cdn.get-digital-help.com/wp-content/uploads/2009/03/Themin.xlsx" rel="nofollow">Themin.xlsx</a></div> ]]></content:encoded> </item> <item><title>By: Themin</title><link>http://www.get-digital-help.com/2009/03/27/sorting-text-cells-using-array-formula/comment-page-1/#comment-43315</link> <dc:creator>Themin</dc:creator> <pubDate>Wed, 11 Jan 2012 12:33:11 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=878#comment-43315</guid> <description>Oscar, how would i change your formula if i want to work with COLUMNS rather than ROW... e.g. I have a single row of data in 5 columns, CDAEB and i want formulas in the next 5 columns that results in ABCDE.
I tried swapping the match reference and row(1:1) to column(1:1) but it doesnt work... many thanks.</description> <content:encoded><![CDATA[<p>Oscar, how would i change your formula if i want to work with COLUMNS rather than ROW... e.g. I have a single row of data in 5 columns, CDAEB and i want formulas in the next 5 columns that results in ABCDE.</p><p>I tried swapping the match reference and row(1:1) to column(1:1) but it doesnt work... many thanks.</p> ]]></content:encoded> </item> <item><title>By: Oscar</title><link>http://www.get-digital-help.com/2009/03/27/sorting-text-cells-using-array-formula/comment-page-1/#comment-27010</link> <dc:creator>Oscar</dc:creator> <pubDate>Tue, 14 Jun 2011 12:43:32 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=878#comment-27010</guid> <description>rivers,
=INDEX(List, MATCH(SMALL(IF(ISBLANK(List), &quot;&quot;, COUNTIF(List, &quot;&lt;&quot;&amp;List)), ROW(1:1)), IF(ISBLANK(List), &quot;&quot;, COUNTIF(List, &quot;&lt;&quot;&amp;List)), 0))</description> <content:encoded><![CDATA[<p>rivers,</p><p>=INDEX(List, MATCH(SMALL(IF(ISBLANK(List), "", COUNTIF(List, "<"&#038;List)), ROW(1:1)), IF(ISBLANK(List), "", COUNTIF(List, "<"&#038;List)), 0))</p> ]]></content:encoded> </item> <item><title>By: rivers</title><link>http://www.get-digital-help.com/2009/03/27/sorting-text-cells-using-array-formula/comment-page-1/#comment-27009</link> <dc:creator>rivers</dc:creator> <pubDate>Tue, 14 Jun 2011 12:21:29 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=878#comment-27009</guid> <description>Thanks for formula however if the list has blanks it puts them up top and the data is in the bottom.  Since I am using dynamic validation how can i put them up top so the user doesn&#039;t have to scroll down for selection?</description> <content:encoded><![CDATA[<p>Thanks for formula however if the list has blanks it puts them up top and the data is in the bottom.  Since I am using dynamic validation how can i put them up top so the user doesn't have to scroll down for selection?</p> ]]></content:encoded> </item> <item><title>By: FB</title><link>http://www.get-digital-help.com/2009/03/27/sorting-text-cells-using-array-formula/comment-page-1/#comment-22002</link> <dc:creator>FB</dc:creator> <pubDate>Tue, 12 Apr 2011 16:54:32 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=878#comment-22002</guid> <description>Dear Oscar,
Greatest Help...
Thank you very much</description> <content:encoded><![CDATA[<p>Dear Oscar,</p><p>Greatest Help...</p><p>Thank you very much</p> ]]></content:encoded> </item> <item><title>By: Oscar</title><link>http://www.get-digital-help.com/2009/03/27/sorting-text-cells-using-array-formula/comment-page-1/#comment-21999</link> <dc:creator>Oscar</dc:creator> <pubDate>Tue, 12 Apr 2011 16:40:14 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=878#comment-21999</guid> <description>FB,
I think this post answers your question: &lt;a href=&quot;http://www.get-digital-help.com/2010/01/12/sorts-values-in-parallel-array-formula/&quot; rel=&quot;nofollow&quot;&gt;Sort values in parallel (array formula)&lt;/a&gt; </description> <content:encoded><![CDATA[<p>FB,</p><p>I think this post answers your question: <a
href="http://www.get-digital-help.com/2010/01/12/sorts-values-in-parallel-array-formula/" rel="nofollow">Sort values in parallel (array formula)</a></p> ]]></content:encoded> </item> <item><title>By: FB</title><link>http://www.get-digital-help.com/2009/03/27/sorting-text-cells-using-array-formula/comment-page-1/#comment-21995</link> <dc:creator>FB</dc:creator> <pubDate>Tue, 12 Apr 2011 16:10:58 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=878#comment-21995</guid> <description>Hi Oscar,
Your formula is great, but I need something greater (I think)
I want to sort multiple columns using formula and even multiple sort types, is it possible?
For Example:
Unsorted Data
==============
Col 1       Col 2
-------------------
B          2
A          1
C          2
A          2
B          1
C          2
Sorted Data must be :
Col 1        Col 2
---------------------
A          1
A          2
B          1
B          2
C          2
C          2
Actually I need the sort type of Col 1 ASC then Col 2 DESC then Col 3 ASC then Col 4 DESC then Col 5 ASC.
But If you could give just the Col 1 ASC then Col 2 ASC formula, it would help me a lot...
Thx</description> <content:encoded><![CDATA[<p>Hi Oscar,</p><p>Your formula is great, but I need something greater (I think)</p><p>I want to sort multiple columns using formula and even multiple sort types, is it possible?</p><p>For Example:<br
/> Unsorted Data<br
/> ==============<br
/> Col 1       Col 2<br
/> -------------------<br
/> B          2<br
/> A          1<br
/> C          2<br
/> A          2<br
/> B          1<br
/> C          2</p><p>Sorted Data must be :<br
/> Col 1        Col 2<br
/> ---------------------<br
/> A          1<br
/> A          2<br
/> B          1<br
/> B          2<br
/> C          2<br
/> C          2</p><p>Actually I need the sort type of Col 1 ASC then Col 2 DESC then Col 3 ASC then Col 4 DESC then Col 5 ASC.<br
/> But If you could give just the Col 1 ASC then Col 2 ASC formula, it would help me a lot...</p><p>Thx</p> ]]></content:encoded> </item> <item><title>By: Oscar</title><link>http://www.get-digital-help.com/2009/03/27/sorting-text-cells-using-array-formula/comment-page-1/#comment-19415</link> <dc:creator>Oscar</dc:creator> <pubDate>Wed, 02 Mar 2011 20:25:28 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=878#comment-19415</guid> <description>Jaseel,
I am happy you got the formula working.
The formula is an array formula. To enter the formula as an array formula, type the formula in a cell and then press and hold CTRL + SHIFT and then press ENTER once.
Read more about array formulas: &lt;a href=&quot;http://www.cpearson.com/excel/ArrayFormulas.aspx&quot; rel=&quot;nofollow&quot;&gt;Array formulas&lt;/a&gt;</description> <content:encoded><![CDATA[<p>Jaseel,</p><p>I am happy you got the formula working.<br
/> The formula is an array formula. To enter the formula as an array formula, type the formula in a cell and then press and hold CTRL + SHIFT and then press ENTER once.</p><p>Read more about array formulas: <a
href="http://www.cpearson.com/excel/ArrayFormulas.aspx" rel="nofollow">Array formulas</a></p> ]]></content:encoded> </item> </channel> </rss>
