{"id":862,"date":"2019-04-19T17:33:09","date_gmt":"2019-04-19T14:33:09","guid":{"rendered":"https:\/\/www.test4u.eu\/excelpedia\/?p=862"},"modified":"2019-04-19T17:33:12","modified_gmt":"2019-04-19T14:33:12","slug":"the-mid-function","status":"publish","type":"post","link":"https:\/\/www.test4u.eu\/excelpedia\/the-mid-function\/","title":{"rendered":"The MID Function"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">It returns a specific amount of characters from a string, starting at a specific position in the string.<\/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>MID<\/strong><em>(<strong>text<\/strong><span><b>, start_num, num_chars<\/b><\/span><\/em>) <\/p><cite><span><b><strong>find_text<\/strong><\/b><\/span><strong>: <\/strong>The text you from which the characters will come.<br><strong>start_num<\/strong>:  The position of the first character you want to extract in text.   <br><strong>num_chars<\/strong>:  The number of characters that will be returned.   <\/cite><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">If the <strong>start_num <\/strong>argument is greater than the length of the text the function returns an empty string.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If (<strong>start_num<\/strong>+<strong>num_chars<\/strong>) is greater than the length of the text then the function returns the characters from <strong>start_num <\/strong>to the end of the text.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If <strong>start_num <\/strong>is less than 1 or <strong>num_chars <\/strong>is less than zero then the function returns the #VALUE! error.<\/p>\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=Y1pUYWRBVnZvdTZjRU5qNDlLbTlsZklZTWNMVzdpUW1uVkhNZHQ0N2ZhbmNTU0xCUFluaUN5ZUFIWE5Sd25DZQ==&b=SW0vc3ZScCt1VUQ2NTV2Z1JhSkRzTmt1L0FyRGpkeXBpbU02dDlTWXh5UkFRQ0RFR25tUGNxcVVSQTZ0UjRUZ3JRUWRuY0NycG1FRVp5NVVJT3Y4TnN0TDlaUjBaMWxQU2Nzb3dWQ0R3T0k9\">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 MID function:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Display the second to fifth letter of the entries of the cell range A1:A20 in the respective cell range B1:B20.<\/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 MID function to display letters contained in the entries of a cell range (Excel 2016)\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/plKlHjIDzEM?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 returns a specific amount of characters from a string, starting at a specific position in the string.<\/p>\n","protected":false},"author":2,"featured_media":865,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[103,94],"class_list":["post-862","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-functions","tag-mid","tag-text-functions"],"_links":{"self":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts\/862","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=862"}],"version-history":[{"count":0,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts\/862\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/media\/865"}],"wp:attachment":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/media?parent=862"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/categories?post=862"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/tags?post=862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}