{"id":31820,"date":"2023-11-08T11:34:44","date_gmt":"2023-11-08T10:34:44","guid":{"rendered":"https:\/\/www.myexcelonline.com\/?p=31820"},"modified":"2024-03-22T18:06:22","modified_gmt":"2024-03-22T17:06:22","slug":"excel-substitute-function","status":"publish","type":"post","link":"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/excel-substitute-function\/","title":{"rendered":"SUBSTITUTE Function &#8211; Replace Characters in Excel!"},"content":{"rendered":"<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/6A265DC5-DFF8-439A-8FB5-7BFF25DE829C.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31822\" title=\"SUBSTITUTE Function - Replace Characters in Excel!\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/6A265DC5-DFF8-439A-8FB5-7BFF25DE829C-1024x576.png\" alt=\"SUBSTITUTE Function - Replace Characters in Excel!\" width=\"1024\" height=\"576\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/6A265DC5-DFF8-439A-8FB5-7BFF25DE829C-1024x576.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/6A265DC5-DFF8-439A-8FB5-7BFF25DE829C-300x169.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/6A265DC5-DFF8-439A-8FB5-7BFF25DE829C-768x432.png 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/6A265DC5-DFF8-439A-8FB5-7BFF25DE829C.png 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><br \/>\nOne of the most common tasks in Excel is replacing specific characters within a cell&#8217;s content. Imagine you\u2019re working on a dataset that includes many products with spelling errors or inconsistencies. The SUBSTITUTE Function in Excel can be your life-saver! In this article, we&#8217;ll explore how to <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/replace-one-character\/\" target=\"_blank\" rel=\"noopener\">Replace Characters in Excel<\/a> with the SUBSTITUTE Function, its\u2019 comparison with the REPLACE Function, and some helpful examples &#8211;<\/p>\n<h4>Download the Excel Workbook below to follow along and understand how to Replace Characters in Excel with the SUBSTITUTE Function \u2013<\/h4>\n<p><a class=\"IRPP_minimalist icon-download\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/ReplaceCharacterswithSubstitute.xlsx\" target=\"_blank\" rel=\"nofollow noopener\"><span class=\"ctaText px-3 text-capitalize\"><strong>download excel workbook<\/strong><\/span><span class=\"postTitle px-3\">ReplaceCharacterswithSubstitute.xlsx<\/span><\/a><\/p>\n<h3><\/h3>\n<h3><strong><span id=\"1\" style=\"color: #ff0000\">Syntax and Arguments<\/span><\/strong><\/h3>\n<p>The <strong>SUBSTITUTE<\/strong> function has the following syntax:<\/p>\n<p><strong>=SUBSTITUTE(text, old_text, new_text, [instance_num])<\/strong><\/p>\n<p><strong>text<\/strong>: This is the text string you want to modify.<br \/>\n<strong>old_text<\/strong>: This is the text you want to replace.<br \/>\n<strong>new_text<\/strong>: This is the new text that will replace the old text.<\/p>\n<p><strong>instance_num<\/strong> (optional): It specifies which occurrence of old_text to replace. If omitted, all occurrences are replaced.<\/p>\n<h3><strong><span id=\"2\" style=\"color: #ff0000\">Basic Usage of SUBSTITUTE<\/span><\/strong><\/h3>\n<p>Let\u2019s say you want to substitute the space character with \u201c-\u201c in \u201cHigh tech\u201d To do this, follow these steps:<\/p>\n<p>Click on the cell where you want to place the modified text.<\/p>\n<p>In the cell or <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> bar, enter: <strong>=SUBSTITUTE(A2,\u201d \u201c,\u201d-\u201c)<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.20.08-PM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31824\" title=\"SUBSTITUTE Function - Replace Characters in Excel!\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.20.08-PM-1024x432.jpeg\" alt=\"SUBSTITUTE Function - Replace Characters in Excel!\" width=\"1024\" height=\"432\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.20.08-PM-1024x432.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.20.08-PM-300x126.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.20.08-PM-768x324.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.20.08-PM-1536x647.jpeg 1536w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.20.08-PM.jpeg 1782w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>After pressing <strong>Enter<\/strong>, the cell will display:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.20.22-PM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31825\" title=\"SUBSTITUTE Function - Replace Characters in Excel!\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.20.22-PM-1024x478.jpeg\" alt=\"SUBSTITUTE Function - Replace Characters in Excel!\" width=\"1024\" height=\"478\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.20.22-PM-1024x478.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.20.22-PM-300x140.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.20.22-PM-768x359.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.20.22-PM.jpeg 1344w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>You will be presented with the new data. It contains the character \u201c-\u201c instead of the space.<\/p>\n<p><em>Note: The SUBSTITUTE function is case-sensitive. To make it case-insensitive, you might need to use other functions like LOWER or UPPER for consistent replacements.<\/em><\/p>\n<h3><strong><span id=\"3\" style=\"color: #ff0000\">Replacing Multiple Instances<\/span><\/strong><\/h3>\n<p>By default, SUBSTITUTE replaces all occurrences of `old_text` within `text`. As displayed here:<br \/>\n<a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.23.36-PM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31826\" title=\"SUBSTITUTE Function - Replace Characters in Excel!\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.23.36-PM-1024x419.jpeg\" alt=\"SUBSTITUTE Function - Replace Characters in Excel!\" width=\"1024\" height=\"419\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.23.36-PM-1024x419.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.23.36-PM-300x123.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.23.36-PM-768x314.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.23.36-PM.jpeg 1522w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>If you want to replace only a specific instance, you can use the `instance_num` argument.<\/p>\n<p>For instance, if you want to replace the first occurrence of the space &#8221; &#8221; with &#8220;-,&#8221; you would modify the formula like this:<\/p>\n<p><strong>=SUBSTITUTE(A2, &#8221; &#8220;, &#8220;-&#8220;, 1)<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.24.15-PM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31827\" title=\"SUBSTITUTE Function - Replace Characters in Excel!\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.24.15-PM-1024x321.jpeg\" alt=\"SUBSTITUTE Function - Replace Characters in Excel!\" width=\"1024\" height=\"321\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.24.15-PM-1024x321.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.24.15-PM-300x94.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.24.15-PM-768x241.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.24.15-PM-1536x482.jpeg 1536w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.24.15-PM.jpeg 1979w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>As you can see, the SUBSTITUTE function replaced the first space, and not the second one. This is because we indicated 1 for the \u201cinstance_num\u2019.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.24.30-PM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31828\" title=\"SUBSTITUTE Function - Replace Characters in Excel!\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.24.30-PM-1024x421.jpeg\" alt=\"SUBSTITUTE Function - Replace Characters in Excel!\" width=\"1024\" height=\"421\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.24.30-PM-1024x421.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.24.30-PM-300x123.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.24.30-PM-768x316.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.24.30-PM.jpeg 1509w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<h3><strong><span id=\"4\" style=\"color: #ff0000\">The Difference Between SUBSTITUTE and REPLACE<\/span><\/strong><\/h3>\n<p>If you&#8217;re looking to replace a specific text or number at a known position within your data, then the REPLACE function is your ideal choice. On the other hand, if the text or number you wish to replace appears multiple times throughout your data, the SUBSTITUTE function is the more suitable option.<\/p>\n<p>Click <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/cleaning-data-with-excels-replace-formula\/\" target=\"_blank\" rel=\"noopener\">here<\/a> to learn how to Clean Data with Excel&#8217;s REPLACE Formula!<\/p>\n<p>Let\u2019s look at these steps to illustrate the differences better:<\/p>\n<p>Suppose we want to replace the word \u201c<strong>right<\/strong>\u201d from the phrase \u201cAs right as rain\u201d, to \u201c<strong>wrong<\/strong>\u201d.<\/p>\n<p>This is how we would do it with the REPLACE function:<br \/>\n<strong>=REPLACE(A2,4,5,\u201dwrong\u201d)<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.28.38-PM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31829\" title=\"SUBSTITUTE Function - Replace Characters in Excel!\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.28.38-PM-1024x394.jpeg\" alt=\"SUBSTITUTE Function - Replace Characters in Excel!\" width=\"1024\" height=\"394\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.28.38-PM-1024x394.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.28.38-PM-300x115.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.28.38-PM-768x296.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.28.38-PM.jpeg 1390w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.28.52-PM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31830\" title=\"SUBSTITUTE Function - Replace Characters in Excel!\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.28.52-PM-1024x447.jpeg\" alt=\"SUBSTITUTE Function - Replace Characters in Excel!\" width=\"1024\" height=\"447\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.28.52-PM-1024x447.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.28.52-PM-300x131.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.28.52-PM-768x335.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.28.52-PM.jpeg 1213w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>If we <strong>drag the formula down<\/strong>, you will notice that it replaced the word \u201cRIGHT\u201d even though it was capitalized. That\u2019s because the <strong>REPLACE function is not case-sensitive<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.30.37-PM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31831\" title=\"SUBSTITUTE Function - Replace Characters in Excel!\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.30.37-PM-1024x436.jpeg\" alt=\"SUBSTITUTE Function - Replace Characters in Excel!\" width=\"1024\" height=\"436\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.30.37-PM-1024x436.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.30.37-PM-300x128.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.30.37-PM-768x327.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.30.37-PM.jpeg 1227w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>If we drag the formula down further, you will notice that it will not replace the second \u201cright\u201d because we only specified for it to replace the first \u201cright\u201d.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.31.26-PM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31832\" title=\"SUBSTITUTE Function - Replace Characters in Excel!\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.31.26-PM-1024x429.jpeg\" alt=\"SUBSTITUTE Function - Replace Characters in Excel!\" width=\"1024\" height=\"429\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.31.26-PM-1024x429.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.31.26-PM-300x126.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.31.26-PM-768x322.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.31.26-PM.jpeg 1270w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>To use the SUBSTITUTE formula, enter <strong>=SUBSTITUTE(A7,\u201dright\u201d,\u201dwrong\u201d)<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.33.49-PM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31833\" title=\"SUBSTITUTE Function - Replace Characters in Excel!\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.33.49-PM-1024x620.jpeg\" alt=\"SUBSTITUTE Function - Replace Characters in Excel!\" width=\"1024\" height=\"620\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.33.49-PM-1024x620.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.33.49-PM-300x182.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.33.49-PM-768x465.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.33.49-PM.jpeg 1491w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>If we drag the the formula down a row, you\u2019ll notice that the SUBSTITUTE formula replace both words.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.34.16-PM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31834\" title=\"SUBSTITUTE Function - Replace Characters in Excel!\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.34.16-PM-1024x694.jpeg\" alt=\"SUBSTITUTE Function - Replace Characters in Excel!\" width=\"1024\" height=\"694\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.34.16-PM-1024x694.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.34.16-PM-300x203.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.34.16-PM-768x521.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.34.16-PM.jpeg 1332w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>If we drag the formula down once more, you will notice that the SUBSTITUTE formula did not replace the capitalized word. Demonstrating that the formula is case-sensitive.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.34.32-PM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31835\" title=\"SUBSTITUTE Function - Replace Characters in Excel!\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.34.32-PM-1024x692.jpeg\" alt=\"SUBSTITUTE Function - Replace Characters in Excel!\" width=\"1024\" height=\"692\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.34.32-PM-1024x692.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.34.32-PM-300x203.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.34.32-PM-768x519.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.34.32-PM.jpeg 1329w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<h3><strong><span id=\"5\" style=\"color: #ff0000\">Practical Examples<\/span><\/strong><\/h3>\n<p>Let&#8217;s explore a few practical examples of how SUBSTITUTE can be used:<\/p>\n<p><strong>Example 1 &#8211; Reformatting Dates<\/strong>:<br \/>\nSuppose you have a column of dates in the format &#8220;MM\/DD\/YYYY,&#8221; and you want to change it to &#8220;YYYY-MM-DD.&#8221; You can use SUBSTITUTE as follows:<\/p>\n<p><strong>=SUBSTITUTE(A2, &#8220;\/&#8221;, &#8220;-&#8220;)<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.41.46-PM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31836\" title=\"SUBSTITUTE Function - Replace Characters in Excel!\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.41.46-PM-1024x352.jpeg\" alt=\"SUBSTITUTE Function - Replace Characters in Excel!\" width=\"1024\" height=\"352\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.41.46-PM-1024x352.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.41.46-PM-300x103.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.41.46-PM-768x264.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.41.46-PM-1536x527.jpeg 1536w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.41.46-PM.jpeg 1576w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.42.00-PM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31837\" title=\"SUBSTITUTE Function - Replace Characters in Excel!\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.42.00-PM-1024x345.jpeg\" alt=\"SUBSTITUTE Function - Replace Characters in Excel!\" width=\"1024\" height=\"345\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.42.00-PM-1024x345.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.42.00-PM-300x101.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.42.00-PM-768x259.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-31-at-5.42.00-PM.jpeg 1485w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><strong>Example 2 &#8211; Correcting Misspellings<\/strong>:<br \/>\nIf you have a column with product names and some of them contain misspellings like &#8220;aquired&#8221; instead of &#8220;acquired,&#8221; you can correct them with SUBSTITUTE:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/11\/SUBSTITUTE-Function-Replace-Characters-in-Excel-3.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-37521 size-large\" title=\"SUBSTITUTE Function - Replace Characters in Excel!\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/11\/SUBSTITUTE-Function-Replace-Characters-in-Excel-3-1024x211.jpg\" alt=\"SUBSTITUTE Function - Replace Characters in Excel!\" width=\"1024\" height=\"211\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/11\/SUBSTITUTE-Function-Replace-Characters-in-Excel-3-1024x211.jpg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/11\/SUBSTITUTE-Function-Replace-Characters-in-Excel-3-300x62.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/11\/SUBSTITUTE-Function-Replace-Characters-in-Excel-3-768x158.jpg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/11\/SUBSTITUTE-Function-Replace-Characters-in-Excel-3.jpg 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><strong>=SUBSTITUTE(A6, &#8220;aquired&#8221;, &#8220;acquired&#8221;)<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/11\/SUBSTITUTE-Function-Replace-Characters-in-Excel-4.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-37522 size-large\" title=\"SUBSTITUTE Function - Replace Characters in Excel!\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/11\/SUBSTITUTE-Function-Replace-Characters-in-Excel-4-1024x272.jpg\" alt=\"SUBSTITUTE Function - Replace Characters in Excel!\" width=\"1024\" height=\"272\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/11\/SUBSTITUTE-Function-Replace-Characters-in-Excel-4-1024x272.jpg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/11\/SUBSTITUTE-Function-Replace-Characters-in-Excel-4-300x80.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/11\/SUBSTITUTE-Function-Replace-Characters-in-Excel-4-768x204.jpg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/11\/SUBSTITUTE-Function-Replace-Characters-in-Excel-4.jpg 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Click <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/add-comma-after-the-surname-with-excels-substitute-formula\/\" target=\"_blank\" rel=\"noopener\">here<\/a> to learn how to Add A Comma in Excel between Names with SUBSTITUTE Formula<\/p>\n<p><strong>Conclusion<\/strong><br \/>\nThere you have it! By mastering the usage of SUBSTITUTE and knowing the difference between it and the REPLACE function, you can efficiently transform and format your data according to your specific needs.<\/p>\n<p>Click <a href=\"https:\/\/support.microsoft.com\/en-us\/office\/substitute-function-6434944e-a904-4336-a9b0-1e58df3bc332\" target=\"_blank\" rel=\"noopener nofollow\">here<\/a> to access Microsoft\u2019s tutorial on How to Use the SUBSTITUTE Function!<\/p>\n<p>Click <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/formatting-excel-spreadsheets\/\" target=\"_blank\" rel=\"noopener\">here<\/a> to learn the 9 Tips for Formatting Excel Spreadsheets Like a Pro!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the most common tasks in Excel is replacing specific characters within a cell&#8217;s content. Imagine you\u2019re working on a dataset that includes many products with spelling errors or inconsistencies. The SUBSTITUTE Function in Excel can be your life-saver! In this article, we&#8217;ll explore how to Replace Characters in Excel with the SUBSTITUTE Function, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":31822,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cos_headline_score":0,"cos_seo_score":0,"cos_headline_text":"SUBSTITUTE Function - Replace Characters in Excel!","cos_headline_has_been_analyzed":false,"cos_last_analyzed_headline":[],"om_disable_all_campaigns":false},"categories":[3,10,304,306],"tags":[43,188,1441,1442,174],"acf":[],"_links":{"self":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/31820"}],"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=31820"}],"version-history":[{"count":0,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/31820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media\/31822"}],"wp:attachment":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media?parent=31820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/categories?post=31820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/tags?post=31820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}