{"id":881,"date":"2019-04-22T14:23:03","date_gmt":"2019-04-22T11:23:03","guid":{"rendered":"https:\/\/www.test4u.eu\/excelpedia\/?p=881"},"modified":"2019-04-22T14:23:09","modified_gmt":"2019-04-22T11:23:09","slug":"the-substitute-function","status":"publish","type":"post","link":"https:\/\/www.test4u.eu\/excelpedia\/the-substitute-function\/","title":{"rendered":"The SUBSTITUTE Function"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">It searches for a specific text in string and replaces it with another. It is a case-sensitive function.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The syntax of the function is the following: <\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-style-large is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>SUBSTITUTE<\/strong><em>(<strong>text<\/strong>, <strong>old_text<\/strong><span><b>, new_text, [instance_num]<\/b><\/span><\/em>) <\/p><cite><strong>text<\/strong>: The text for which we want to replace a part.<br><span><b><strong>old_text<\/strong><\/b><\/span><strong>: <\/strong>The text you want to find and replace.<br><strong>new_text<\/strong>: The text that will replace the <strong>old_text<\/strong>.    <br><strong>instance_num<\/strong>: Optional. If you specify this argument, then if more instances of the <strong>old_text <\/strong>exist inside the <strong>text <\/strong>then only the instance specified by this argument is replaced. If it is not specified then all the instances of the <strong>old_text <\/strong>are replaced by the <strong>new_text<\/strong>.    <\/cite><\/blockquote>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Click on the button to practice using this function, with the help of our <strong>Online Assessment Tool<\/strong>:<\/p>\n\n\n<p class=\"button-practice-container\" ><a class=\"button button-primary button-practice\" style=\"height:auto\"  href=\"https:\/\/www.test4u.eu\/excelpedia\/wp-content\/plugins\/unlimited-integration\/run.php?id=YzhoMGt3QW85OXdpK2Qrdm9iMFFPTm9BZkxUaWphK0NTQXR6Z3F2eEJpbXpNMDZkRHZYWDlQRHMrYklOLzBFaQ==&b=bzc5ODBrQXpKekFBRk9SU1ozdDF5MzQ0NjJ0S3RrZVJndmtwanRObFVNcUxUdEx4aGM1Nlh4ZzQ5dWprNmRMTWFtZWJ2N3A4bTRqS3pzbjJsMEtjUWRPd0JwVTYra1kvaC9Pak5CeWpvRTA9\">Practice<\/a><\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Here is an example of how to use the SUBSTITUTE function:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In column C show the text of the respective cells of column A, replacing the word name with the respective names of column B.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Use the SUBSTITUTE function to replace a word in a text with a cell value (Excel 2016)\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/05RcuFiQoGs?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>It searches for a specific text in string and replaces it with another. It is a case-sensitive function.<\/p>\n","protected":false},"author":2,"featured_media":882,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[108,94],"class_list":["post-881","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-functions","tag-substitute","tag-text-functions"],"_links":{"self":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts\/881","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/comments?post=881"}],"version-history":[{"count":0,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts\/881\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/media\/882"}],"wp:attachment":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/media?parent=881"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/categories?post=881"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/tags?post=881"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}