<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: ExcelFilter: I don't see an easy one-function way to get the initial letters of a text string in Excel. Is there such a beast?</title>
	<link>http://ask.metafilter.com/10563/ExcelFilter-I-dont-see-an-easy-onefunction-way-to-get-the-initial-letters-of-a-text-string-in-Excel-Is-there-such-a-beast/</link>
	<description>Comments on Ask MetaFilter post ExcelFilter: I don't see an easy one-function way to get the initial letters of a text string in Excel. Is there such a beast?</description>
	<pubDate>Wed, 29 Sep 2004 15:36:16 -0800</pubDate>
	<lastBuildDate>Wed, 29 Sep 2004 15:36:16 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: ExcelFilter: I don&apos;t see an easy one-function way to get the initial letters of a text string in Excel. Is there such a beast?</title>
		<link>http://ask.metafilter.com/10563/ExcelFilter-I-dont-see-an-easy-onefunction-way-to-get-the-initial-letters-of-a-text-string-in-Excel-Is-there-such-a-beast</link>	
		<description>&lt;b&gt;ExcelFilter&lt;/b&gt;: I don&apos;t see an easy one-function way to get the initial letters of a text string in Excel. Is there such a beast? [=Text(MI)] &lt;br /&gt;&lt;br /&gt; I need to do this for the first N words in the string. Let&apos;s say I have cells at A1 and B1 that look like this:&lt;br&gt;
&lt;br&gt;
[A Test Text String]&lt;br&gt;
[Another testing string, with more words]&lt;br&gt;
&lt;br&gt;
In this case, I&apos;d like to get the values &quot;ATTS&quot; and &quot;ATSW.&quot; All the cells I need to operate on will always hold only strings.&lt;br&gt;
&lt;br&gt;
[=INTITALS(A1,4)] is the ideal case, but as I said, it seems to not exist. TYVM.</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2004:site.10563</guid>
		<pubDate>Wed, 29 Sep 2004 14:49:53 -0800</pubDate>
		<dc:creator>mwhybark</dc:creator>
		
			<category>excel</category>
		
			<category>spreadsheets</category>
		
			<category>msexcel</category>
		
			<category>stringmanipulation</category>
		
			<category>resolved</category>
		
	</item> <item>
		<title>By: skwm</title>
		<link>http://ask.metafilter.com/10563/ExcelFilter-I-dont-see-an-easy-onefunction-way-to-get-the-initial-letters-of-a-text-string-in-Excel-Is-there-such-a-beast#190860</link>	
		<description>=LEFT(A1,5)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.10563-190860</guid>
		<pubDate>Wed, 29 Sep 2004 15:36:16 -0800</pubDate>
		<dc:creator>skwm</dc:creator>
	</item><item>
		<title>By: skwm</title>
		<link>http://ask.metafilter.com/10563/ExcelFilter-I-dont-see-an-easy-onefunction-way-to-get-the-initial-letters-of-a-text-string-in-Excel-Is-there-such-a-beast#190862</link>	
		<description>whoops, ignore my answer.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.10563-190862</guid>
		<pubDate>Wed, 29 Sep 2004 15:36:49 -0800</pubDate>
		<dc:creator>skwm</dc:creator>
	</item><item>
		<title>By: escher</title>
		<link>http://ask.metafilter.com/10563/ExcelFilter-I-dont-see-an-easy-onefunction-way-to-get-the-initial-letters-of-a-text-string-in-Excel-Is-there-such-a-beast#190863</link>	
		<description>Nope, there isn&apos;t such a beast. To do this, you&apos;ll have to write a ( Visual Basic | Microsoft ) script.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.10563-190863</guid>
		<pubDate>Wed, 29 Sep 2004 15:38:15 -0800</pubDate>
		<dc:creator>escher</dc:creator>
	</item><item>
		<title>By: shepd</title>
		<link>http://ask.metafilter.com/10563/ExcelFilter-I-dont-see-an-easy-onefunction-way-to-get-the-initial-letters-of-a-text-string-in-Excel-Is-there-such-a-beast#190880</link>	
		<description>It&apos;s possible to do in Excel, but the result is going to be one terribly nasty piece of code (Probably like 40 characters of typing per character you want to check).&lt;br&gt;
&lt;br&gt;
Basically, embedded if statements checking if each letter is a space, and if so, going back one letter and outputting that.  I&apos;m certain it&apos;s possible.  But I don&apos;t have excel anymore to demonstrate it.  Sorry.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.10563-190880</guid>
		<pubDate>Wed, 29 Sep 2004 16:15:16 -0800</pubDate>
		<dc:creator>shepd</dc:creator>
	</item><item>
		<title>By: shinnin</title>
		<link>http://ask.metafilter.com/10563/ExcelFilter-I-dont-see-an-easy-onefunction-way-to-get-the-initial-letters-of-a-text-string-in-Excel-Is-there-such-a-beast#190885</link>	
		<description>I don&apos;t think there is any one function, but this does not require visual basic if the strings are of comparable length. I think it will require three steps. If &quot;A Test Text String&quot; is in A1, use row A to find all the spaces. Put &quot;=FIND(&quot; &quot;, $A$1)&quot; in B1 and &quot;=FIND(&quot; &quot;,$A$1,B1+1)&quot; in C1. From C1 you can just fill right to extend the process of locating spaces in the string as far as you need to.&lt;br&gt;
&lt;br&gt;
In row B, grab the characters that follow the spaces. A2=LEFT(A1,1)  B2=MID($A$1,B1+1,1), and again fill right as far as you need to.&lt;br&gt;
&lt;br&gt;
Step 3 is to use =concatenate() to add up the bits in row B.&lt;br&gt;
&lt;br&gt;
You will have to fill right far enough to accomodate the string with the most spaces, and then clean up your results by trimming off any trailing spaces in the output.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.10563-190885</guid>
		<pubDate>Wed, 29 Sep 2004 16:21:22 -0800</pubDate>
		<dc:creator>shinnin</dc:creator>
	</item><item>
		<title>By: freshgroundpepper</title>
		<link>http://ask.metafilter.com/10563/ExcelFilter-I-dont-see-an-easy-onefunction-way-to-get-the-initial-letters-of-a-text-string-in-Excel-Is-there-such-a-beast#190893</link>	
		<description>If it&apos;s always the same number of characters (4), you can use the following function in a single cell.  Just repeat the pattern for more characters and replace all instances of &quot;A4&quot; with whatever cell you want to grab the caps from.&lt;br&gt;
&lt;br&gt;
(yeah it&apos;s messy, but it works :)&lt;br&gt;
&lt;br&gt;
=LEFT(A4,1) &amp;amp; MID(A4,SEARCH(&quot; &quot;,A4) + 1,1) &amp;amp; MID(A4,SEARCH(&quot; &quot;, A4, SEARCH(&quot; &quot;,A4)+1)+1,1) &amp;amp; MID(A4, SEARCH(&quot; &quot;, A4, SEARCH(&quot; &quot;, A4, SEARCH(&quot; &quot;, A4) + 1) + 1) + 1,1)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.10563-190893</guid>
		<pubDate>Wed, 29 Sep 2004 16:32:11 -0800</pubDate>
		<dc:creator>freshgroundpepper</dc:creator>
	</item><item>
		<title>By: mwhybark</title>
		<link>http://ask.metafilter.com/10563/ExcelFilter-I-dont-see-an-easy-onefunction-way-to-get-the-initial-letters-of-a-text-string-in-Excel-Is-there-such-a-beast#190924</link>	
		<description>Holy cow!&lt;br&gt;
&lt;br&gt;
I have also received non-member emails. One clearly requires posting:&lt;br&gt;
&lt;br&gt;
---&lt;br&gt;
&lt;br&gt;
FROM: Paresh Ghaghda&#160;&lt;xxxxfoo .foo.org&gt; to mwhybark&lt;br&gt;
Hello, I saw your question but am not a member. If you insert the following code into a VBA Module, you should find that the function INITIALS is now available as you described:&lt;br&gt;
&lt;br&gt;
Function INITIALS(str, n)&lt;br&gt;
&#160; &#160; Dim x As Variant&lt;br&gt;
&#160; &#160; x = Split(str, &quot; &quot;)&lt;br&gt;
&#160; &#160; For i = 0 To n - 1&lt;br&gt;
&#160; &#160; &#160; &#160; INITIALS = INITIALS &amp;amp; UCase(Left(x(i), 1))&lt;br&gt;
&#160; &#160; Next i&lt;br&gt;
End Function&lt;br&gt;
&lt;br&gt;
HTH,&lt;br&gt;
Paresh&lt;br&gt;
&lt;br&gt;
---&lt;br&gt;
&lt;br&gt;
Which would seem to be as perfect a thread closure as I have ever seen! Thanks to everyone, and Excel dev team members: &lt;i&gt;please credit Paresh&lt;/i&gt; if an INITIAL text function crops up down the road.&lt;br&gt;
&lt;br&gt;
Damn, AskMe rules!&lt;/xxxxfoo&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.10563-190924</guid>
		<pubDate>Wed, 29 Sep 2004 17:57:30 -0800</pubDate>
		<dc:creator>mwhybark</dc:creator>
	</item><item>
		<title>By: mwhybark</title>
		<link>http://ask.metafilter.com/10563/ExcelFilter-I-dont-see-an-easy-onefunction-way-to-get-the-initial-letters-of-a-text-string-in-Excel-Is-there-such-a-beast#190967</link>	
		<description>Also: Pepper, I thought I posted my deep appreciation earlier, but the phantom preview bug appears to have kilt it. To reiterate: I will try your solution forthwith.&lt;br&gt;
&lt;br&gt;
I look forward to implementing Paresh&apos;s as well.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.10563-190967</guid>
		<pubDate>Wed, 29 Sep 2004 19:55:08 -0800</pubDate>
		<dc:creator>mwhybark</dc:creator>
	</item>
	</channel>
</rss>
