{"id":29263,"date":"2023-05-31T18:15:34","date_gmt":"2023-05-31T16:15:34","guid":{"rendered":"https:\/\/www.myexcelonline.com\/?p=29263"},"modified":"2024-03-22T18:32:20","modified_gmt":"2024-03-22T17:32:20","slug":"how-to-use-substrings-in-excel","status":"publish","type":"post","link":"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/how-to-use-substrings-in-excel\/","title":{"rendered":"How to Use Substrings in Microsoft Excel"},"content":{"rendered":"<p><em><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/764A8778-8B98-4456-BE5A-097C4AC04DDB.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-29264 size-large\" title=\"How to Use Substrings in Microsoft Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/764A8778-8B98-4456-BE5A-097C4AC04DDB-1024x576.png\" alt=\"How to Use Substrings in Microsoft Excel\" width=\"1024\" height=\"576\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/764A8778-8B98-4456-BE5A-097C4AC04DDB-1024x576.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/764A8778-8B98-4456-BE5A-097C4AC04DDB-300x169.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/764A8778-8B98-4456-BE5A-097C4AC04DDB-768x432.png 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/764A8778-8B98-4456-BE5A-097C4AC04DDB.png 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/em>In this article, we will delve into the world of substrings and explore various techniques to leverage their potential.<\/p>\n<p><strong>Understanding Substrings<\/strong><\/p>\n<p>A substring refers to a portion of a text string. It can be a single character, a word, or a group of characters within a larger text. By extracting substrings, you can isolate relevant information from lengthy text strings, making data analysis and organization more efficient.<\/p>\n<p>To extract substrings in Excel, you can utilize various functions such as <strong>LEFT, RIGHT, MID, FIND, and LEN<\/strong>. Excel <strong>does not have a specific SUBSTRING function<\/strong>, but these functions can be effectively used to achieve similar results.<\/p>\n<p>We will explore several methods:<\/p>\n<p>Let&#8217;s look at these methods thoroughly!<\/p>\n<p><strong>Download the Excel Workbook below to follow along and understand How to Use Substrings in <a class=\"wpil_keyword_link\" title=\"Microsoft Excel\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/free-microsoft-excel-online-course\/\" target=\"_blank\" rel=\"noopener\" data-wpil-keyword-link=\"linked\">Microsoft Excel<\/a> &#8211;<\/strong><\/p>\n<h4><a class=\"IRPP_minimalist icon-download\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/Substring.xlsx\" target=\"_blank\"><span class=\"ctaText px-3 text-capitalize\"><strong>download excel workbook<\/strong><\/span><span class=\"postTitle px-3\">Substring.xlsx<\/span><\/a><\/h4>\n<div>\n<div>\n<p><strong><span id=\"1\" style=\"color: #ff0000!important;\">LEFT Function<\/span><\/strong><\/p>\n<\/div>\n<\/div>\n<p>The LEFT function extracts a specified number of characters from the left side of a text string. To use it, follow these steps:<\/p>\n<p>Select the cell where you want the extracted substring to appear.<\/p>\n<p>Enter the <a class=\"wpil_keyword_link\" title=\"formula\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/top-excel-formulas-function-examples-to-get-better-at-microsoft-excel\/\" target=\"_blank\" rel=\"noopener\" data-wpil-keyword-link=\"linked\">formula<\/a> <strong>=LEFT(A1,3)<\/strong>\u00a0<strong>A1<\/strong> is the cell reference or the actual text string. In our case, it is <strong>January<\/strong>.<\/p>\n<p><strong>3<\/strong> is the specific number of characters extracted. In our example it is \u201cJAN\u201d. If you put in <strong>4<\/strong>, it would be JANU, etc.<\/p>\n<p>Press <strong>Enter<\/strong> to apply the formula.<br \/>\n<a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/84D89030-8014-4F5F-BBCE-9D904EF60DA8.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-29267\" title=\"How to Use Substrings in Microsoft Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/84D89030-8014-4F5F-BBCE-9D904EF60DA8-1024x360.jpeg\" alt=\"How to Use Substrings in Microsoft Excel\" width=\"1024\" height=\"360\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/84D89030-8014-4F5F-BBCE-9D904EF60DA8-1024x360.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/84D89030-8014-4F5F-BBCE-9D904EF60DA8-300x105.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/84D89030-8014-4F5F-BBCE-9D904EF60DA8-768x270.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/84D89030-8014-4F5F-BBCE-9D904EF60DA8.jpeg 1098w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><strong><span id=\"2\" style=\"color: #ff0000!important;\">RIGHT Function<\/span><\/strong><\/p>\n<p>Similar to the LEFT function, the RIGHT function extracts a specified number of characters from the right side of a text string. Here&#8217;s <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/how-to-use-microsoft-project\/\" target=\"_blank\" rel=\"noopener\">how to use<\/a> it:<\/p>\n<p>Select the cell where you want the extracted substring.<\/p>\n<p>Enter the formula <strong>=RIGHT(B1,5)<\/strong><\/p>\n<p><strong>B1<\/strong> is the cell reference or the actual text string. In this case, it is <strong>February<\/strong>.<\/p>\n<p><strong>5<\/strong> is the specific number of characters extracted. In our example it is \u201c<strong>RUARY<\/strong>\u201d. If you put in 4, it would be UARY, etc.<\/p>\n<p>Press <strong>Enter<\/strong> to apply the formula.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/257912F1-0414-4ED6-884C-8ADF2A0B29FB.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-29268\" title=\"How to Use Substrings in Microsoft Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/257912F1-0414-4ED6-884C-8ADF2A0B29FB-1024x356.jpeg\" alt=\"How to Use Substrings in Microsoft Excel\" width=\"1024\" height=\"356\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/257912F1-0414-4ED6-884C-8ADF2A0B29FB-1024x356.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/257912F1-0414-4ED6-884C-8ADF2A0B29FB-300x104.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/257912F1-0414-4ED6-884C-8ADF2A0B29FB-768x267.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/257912F1-0414-4ED6-884C-8ADF2A0B29FB.jpeg 1098w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><strong><span id=\"3\" style=\"color: #ff0000!important;\">MID Function<\/span><\/strong><\/p>\n<p>The MID function allows you to extract a specific number of characters from any position within a text string. Follow these steps:<\/p>\n<p>Select the cell where you want the extracted substring.<\/p>\n<p>Enter the formula <strong>=MID(C1,2,3)<\/strong><\/p>\n<p><strong>C1<\/strong> is the cell reference or the actual text string. In this case, it is <strong>March<\/strong>.<\/p>\n<p><strong>2<\/strong> in the formula is the starting position of the substring. In the case of March, it would be the second letter \u201cA\u201d.<\/p>\n<p><strong>3<\/strong> is the number of characters to extract.<\/p>\n<p>Press <strong>Enter<\/strong> to apply the formula.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/25BB31D4-AF30-400A-8F94-5A172D2DB62B.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-29269\" title=\"How to Use Substrings in Microsoft Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/25BB31D4-AF30-400A-8F94-5A172D2DB62B-1024x362.jpeg\" alt=\"How to Use Substrings in Microsoft Excel\" width=\"1024\" height=\"362\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/25BB31D4-AF30-400A-8F94-5A172D2DB62B-1024x362.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/25BB31D4-AF30-400A-8F94-5A172D2DB62B-300x106.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/25BB31D4-AF30-400A-8F94-5A172D2DB62B-768x271.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/25BB31D4-AF30-400A-8F94-5A172D2DB62B.jpeg 1098w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><strong><span id=\"4\" style=\"color: #ff0000!important;\">FIND Function<\/span><\/strong><\/p>\n<p>The FIND function helps you locate the position of a specific character or text within a text string. This information is valuable when you need to determine the starting position for extracting a substring. Here&#8217;s how to use it:<\/p>\n<p>Select the cell where you want to display the position.<\/p>\n<p>Enter the formula <strong>=FIND(\u201cexcel\u201d, D1)<\/strong><\/p>\n<p>\u201c<strong>Excel<\/strong>\u201d is the character or text you want to locate.<\/p>\n<p><strong>D1<\/strong> is the cell reference or the actual text string.<\/p>\n<p>Basically you are asking to find \u201cExcel\u201d in cell D1.<\/p>\n<p>Press <strong>Enter<\/strong> to apply the formula. It will show you the position of which the word \u201cExcel\u201d starts.<br \/>\n<a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/5F955405-E320-40AE-9428-B86249521D04.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-29270\" title=\"How to Use Substrings in Microsoft Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/5F955405-E320-40AE-9428-B86249521D04-1024x362.jpeg\" alt=\"How to Use Substrings in Microsoft Excel\" width=\"1024\" height=\"362\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/5F955405-E320-40AE-9428-B86249521D04-1024x362.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/5F955405-E320-40AE-9428-B86249521D04-300x106.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/5F955405-E320-40AE-9428-B86249521D04-768x271.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/5F955405-E320-40AE-9428-B86249521D04.jpeg 1098w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><strong><span id=\"5\" style=\"color: #ff0000!important;\">LEN Function<\/span><\/strong><\/p>\n<p>The LEN function calculates the length of a text string, which is useful when you need to determine the number of characters in a cell. Follow these steps:<\/p>\n<p>Select the cell where you want to display the length.<\/p>\n<p>Enter the formula <strong>=LEN(E1)<\/strong><\/p>\n<p><strong>E1<\/strong> is the cell reference or the actual text string.<\/p>\n<p>Press <strong>Enter<\/strong> to apply the formula. As you can see, the LEN function returns the number of characters in the word \u201c<strong>Mississippi<\/strong>\u201d.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/5F0AB8A1-F6D3-41F6-9A32-0498512955C7.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-29271\" title=\"How to Use Substrings in Microsoft Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/5F0AB8A1-F6D3-41F6-9A32-0498512955C7-1024x363.jpeg\" alt=\"How to Use Substrings in Microsoft Excel\" width=\"1024\" height=\"363\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/5F0AB8A1-F6D3-41F6-9A32-0498512955C7-1024x363.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/5F0AB8A1-F6D3-41F6-9A32-0498512955C7-300x106.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/5F0AB8A1-F6D3-41F6-9A32-0498512955C7-768x272.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/05\/5F0AB8A1-F6D3-41F6-9A32-0498512955C7.jpeg 1098w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>There you have it! By using these substring functions in Excel, you can simply extract and manipulate text strings to meet your specific needs. Whether you need to extract a part of a cell, find the position of a character, or calculate the length of a string, these functions provide the needed tools to finish your tasks with ease.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will delve into the world of substrings and explore various techniques to leverage their potential. Understanding Substrings A substring refers to a portion of a text string. It can be a single character, a word, or a group of characters within a larger text. By extracting substrings, you can isolate relevant [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":29264,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cos_headline_score":0,"cos_seo_score":0,"cos_headline_text":"How to Use Substrings in Microsoft Excel","cos_headline_has_been_analyzed":false,"cos_last_analyzed_headline":[],"om_disable_all_campaigns":false},"categories":[3,300,927],"tags":[1214,239,43,166,232,1135,168,62],"acf":[],"_links":{"self":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/29263"}],"collection":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/comments?post=29263"}],"version-history":[{"count":0,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/29263\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media\/29264"}],"wp:attachment":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media?parent=29263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/categories?post=29263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/tags?post=29263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}