<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	 xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>substrings &#8211; AnonyViet &#8211; English Version</title>
	<atom:link href="https://en.anonyviet.com/tag/substrings/feed/" rel="self" type="application/rss+xml" />
	<link>https://en.anonyviet.com</link>
	<description>The most popular website for sharing information technology, computer networks, and security knowledge. Stay up to date with the hottest news and tips</description>
	<lastBuildDate>Tue, 24 Jan 2023 21:18:21 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.2</generator>

<image>
	<url>https://en.anonyviet.com/wp-content/uploads/2023/01/cropped-ico-logo-75x75-1.png</url>
	<title>substrings &#8211; AnonyViet &#8211; English Version</title>
	<link>https://en.anonyviet.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Lesson 153: How to handle substrings in Excel</title>
		<link>https://en.anonyviet.com/lesson-153-how-to-handle-substrings-in-excel/</link>
					<comments>https://en.anonyviet.com/lesson-153-how-to-handle-substrings-in-excel/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Tue, 24 Jan 2023 21:18:21 +0000</pubDate>
				<category><![CDATA[Office]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[handle]]></category>
		<category><![CDATA[Lesson]]></category>
		<category><![CDATA[substrings]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=2214</guid>

					<description><![CDATA[There is no SUBSTRING function in Excel. Use MID, LEFT, RIGHT, FIND, LEN, SUBSTITUTE, REPT, TRIM and MAX in Excel to extract substrings. Join the channel Telegram of the AnonyViet 👉 Link 👈 How to handle substrings in Excel Mid To extract a substring, starting in the middle of a string, use the MID function [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<p>There is no SUBSTRING function in <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fwww.office.com%2Flaunch%2Fexcel%3Fui%3Dvi-VN%26amp%3Brs%3DVN%26amp%3Bauth%3D1" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">Excel</a>.  Use MID, LEFT, RIGHT, FIND, LEN, SUBSTITUTE, REPT, TRIM and MAX in Excel to extract substrings.</p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<h2 id="ftoc-cach-xu-ly-chuoi-con-trong-excel" class="ftwp-heading">How to handle substrings in Excel</h2>
<h3 id="ftoc-mid" class="ftwp-heading">Mid</h3>
<p>To extract a substring, starting in the middle of a string, use the MID function in Excel.</p>
<p><img fetchpriority="high" decoding="async" class="aligncenter wp-image-31857 size-full" src="https://anonyviet.com/wp-content/uploads/2021/08/extract-substring.png" alt="Lesson 153: How to handle substrings in Excel" width="604" height="107" srcset="https://anonyviet.com/wp-content/uploads/2021/08/extract-substring.png 604w, https://anonyviet.com/wp-content/uploads/2021/08/extract-substring-300x53.png 300w" sizes="(max-width: 604px) 100vw, 604px" title="Lesson 153: How to handle substrings in Excel 17"/></p>
<p>Explanation: the MID function starts at position 7 (O) and extracts 6 characters.</p>
<h3 id="ftoc-left" class="ftwp-heading">Left</h3>
<p>To extract the leftmost characters of a string, use the LEFT function in Excel.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-31858 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/left-function.png" alt="Lesson 153: How to handle substrings in Excel 16" width="604" height="107" srcset="https://anonyviet.com/wp-content/uploads/2021/08/left-function.png 604w, https://anonyviet.com/wp-content/uploads/2021/08/left-function-300x53.png 300w" sizes="auto, (max-width: 604px) 100vw, 604px" title="Lesson 153: How to handle substrings in Excel 18"/></p>
<p>To extract a substring (of any length) before the dash, add the FIND function.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-31859 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/leftmost-characters.png" alt="Lesson 153: How to handle substrings in Excel 17" width="604" height="147" srcset="https://anonyviet.com/wp-content/uploads/2021/08/leftmost-characters.png 604w, https://anonyviet.com/wp-content/uploads/2021/08/leftmost-characters-300x73.png 300w" sizes="auto, (max-width: 604px) 100vw, 604px" title="Lesson 153: How to handle substrings in Excel 19"/></p>
<p>Explanation: the FIND function finds the position of the dash.  Subtract 1 from this result to extract the correct number of leftmost characters.  The formula shown above will become LEFT(A1,4-1).</p>
<h3 id="ftoc-right" class="ftwp-heading">Right</h3>
<p>To extract the rightmost characters of a string, use the RIGHT function in Excel.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-31860 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/right-function-1.png" alt="Lesson 153: How to handle substrings in Excel 18" width="604" height="107" srcset="https://anonyviet.com/wp-content/uploads/2021/08/right-function-1.png 604w, https://anonyviet.com/wp-content/uploads/2021/08/right-function-1-300x53.png 300w" sizes="auto, (max-width: 604px) 100vw, 604px" title="Lesson 153: How to handle substrings in Excel 20"/></p>
<p>To extract a substring (of any length) after the dash, add LEN and FIND.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-31861 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/rightmost-characters.png" alt="Lesson 153: How to handle substrings in Excel 19" width="604" height="147" srcset="https://anonyviet.com/wp-content/uploads/2021/08/rightmost-characters.png 604w, https://anonyviet.com/wp-content/uploads/2021/08/rightmost-characters-300x73.png 300w" sizes="auto, (max-width: 604px) 100vw, 604px" title="Lesson 153: How to handle substrings in Excel 21"/></p>
<p>Explanation: the LEN function returns the length of the string.  The FIND function finds the position of the dash.  Subtract these values ​​to extract the correct number of rightmost characters.  The formula shown above will become RIGHT (A1,6-4).</p>
<h3 id="ftoc-tim-chuoi-con-giua-dau-ngoac-don" class="ftwp-heading">Find substring between parentheses</h3>
<p>To extract a substring between parentheses (or curly braces, curly braces, slashes, etc.), use Excel&#8217;s MID and FIND.</p>
<p>1. The recipe below is almost perfect.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-31862 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/mid-find.png" alt="Lesson 153: How to handle substrings in Excel 20" width="604" height="147" srcset="https://anonyviet.com/wp-content/uploads/2021/08/mid-find.png 604w, https://anonyviet.com/wp-content/uploads/2021/08/mid-find-300x73.png 300w" sizes="auto, (max-width: 604px) 100vw, 604px" title="Lesson 153: How to handle substrings in Excel 22"/></p>
<p>Explanation: the FIND function finds the position of the brackets.  Add 1 to find the starting position of the substring.  The formula shown above will become MID (A1,6 + 1,2).  This MID function always extracts 2 characters.</p>
<p>2. Replace parameter 3 with a formula that returns the length of the substring.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-31863 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/substring-between-parentheses.png" alt="Lesson 153: How to handle substrings in Excel 21" width="604" height="147" srcset="https://anonyviet.com/wp-content/uploads/2021/08/substring-between-parentheses.png 604w, https://anonyviet.com/wp-content/uploads/2021/08/substring-between-parentheses-300x73.png 300w" sizes="auto, (max-width: 604px) 100vw, 604px" title="Lesson 153: How to handle substrings in Excel 23"/></p>
<p>Explanation: subtract the position of the opening brace and the value 1 from the position of the closing brace to find the exact length of the substring.</p>
<h3 id="ftoc-chuoi-con-chua-van-ban-cu-the" class="ftwp-heading">Substring containing specific text</h3>
<p>To extract a substring containing specific text (e.g. @ symbol), use SUBSTITUTE, REPT, MID, FIND, TRIM, and MAX in Excel.</p>
<p>1. First, use SUBSTITUTE and REPT to replace a single space with 100 spaces (or any other large number).</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-31864 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/substitute-function-1.png" alt="Lesson 153: How to handle substrings in Excel 22" width="604" height="127" srcset="https://anonyviet.com/wp-content/uploads/2021/08/substitute-function-1.png 604w, https://anonyviet.com/wp-content/uploads/2021/08/substitute-function-1-300x63.png 300w" sizes="auto, (max-width: 604px) 100vw, 604px" title="Lesson 153: How to handle substrings in Excel 24"/></p>
<p>2. The MID function below starts position 50 (1/2 * large number) before the position of the @ symbol and extracts 100 (large number) characters.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-31865 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/substring-with-spaces.png" alt="Lesson 153: How to handle substrings in Excel 23" width="604" height="147" srcset="https://anonyviet.com/wp-content/uploads/2021/08/substring-with-spaces.png 604w, https://anonyviet.com/wp-content/uploads/2021/08/substring-with-spaces-300x73.png 300w" sizes="auto, (max-width: 604px) 100vw, 604px" title="Lesson 153: How to handle substrings in Excel 25"/></p>
<p>3. Use the TRIM function to remove leading and trailing whitespace.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-31866 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/trim-function-1.png" alt="Lesson 153: How to handle substrings in Excel 24" width="604" height="167" srcset="https://anonyviet.com/wp-content/uploads/2021/08/trim-function-1.png 604w, https://anonyviet.com/wp-content/uploads/2021/08/trim-function-1-300x83.png 300w" sizes="auto, (max-width: 604px) 100vw, 604px" title="Lesson 153: How to handle substrings in Excel 26"/></p>
<p>4. Put it all together.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-31867 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/substring-containing-specific-text.png" alt="Lesson 153: How to handle substrings in Excel 25" width="604" height="167" srcset="https://anonyviet.com/wp-content/uploads/2021/08/substring-containing-specific-text.png 604w, https://anonyviet.com/wp-content/uploads/2021/08/substring-containing-specific-text-300x83.png 300w" sizes="auto, (max-width: 604px) 100vw, 604px" title="Lesson 153: How to handle substrings in Excel 27"/></p>
<p>Note: in step 2, the MID function starts from position 50 before the @ symbol.  If the email address is the first word in the sentence (cell A3), this results in the wrong starting position.  In this case, the MAX function (see formula above) returns 1.</p>
<h3 id="ftoc-flash-fill" class="ftwp-heading">Flash Fill</h3>
<p>If you don&#8217;t like using formulas, use Flash Fill in Excel to automatically extract substrings.</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-31868 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/08/flash-fill.png" alt="Lesson 153: How to handle substrings in Excel 26" width="604" height="161" srcset="https://anonyviet.com/wp-content/uploads/2021/08/flash-fill.png 604w, https://anonyviet.com/wp-content/uploads/2021/08/flash-fill-300x80.png 300w" sizes="auto, (max-width: 604px) 100vw, 604px" title="Lesson 153: How to handle substrings in Excel 28"/></p>
<p>Note: Excel does not insert formulas, if you change the text string in column A, Excel will not update the value in column B.</p>
<p>In addition, you can also view many other excel articles<a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fcategory%2Ftin-hoc-van-phong%2Fexcel%2F" rel="noopener" class="local-link"> here.</a></p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;31856&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/lesson-153-how-to-handle-substrings-in-excel/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2021/07/excel-anonyviet-1.jpg" medium="image"></media:content>
            	</item>
	</channel>
</rss>
