{"id":9937,"date":"2019-08-09T10:07:39","date_gmt":"2019-08-09T08:07:39","guid":{"rendered":"https:\/\/www.myexcelonline.com\/?p=9937"},"modified":"2023-11-30T20:05:21","modified_gmt":"2023-11-30T19:05:21","slug":"mid-formula-in-excel","status":"publish","type":"post","link":"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/mid-formula-in-excel\/","title":{"rendered":"MID Formula in Excel"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><em><strong>What does it do?<\/strong><\/em><\/p>\n<p>Extracts a specific number of characters from the middle of a text<\/p>\n<p><em><strong>Formula breakdown:<\/strong><\/em><\/p>\n<p>=MID(<span style=\"color: #0000ff;\">text<\/span>, <span style=\"color: #ff6600;\">start_num<\/span>, <span style=\"color: #339966;\">num_chars<\/span>)<\/p>\n<p><em><strong>What it means:<\/strong><\/em><\/p>\n<p>=MID(<span style=\"color: #0000ff;\">source text<\/span>, <span style=\"color: #ff6600;\">starting position to extract text<\/span>, <span style=\"color: #339966;\">number of characters to extract<\/span>)<\/p>\n<hr \/>\n<p>Ever wanted to get something in the middle of your text? And you&#8217;re doing it by hand? Fret not, it is very easy to do in Excel with the\u00a0<strong>MID Formula!<\/strong><\/p>\n<p>It allows you to get any number of characters in the middle of your text!<\/p>\n<p>I explain how you can do this below:<\/p>\n<div class=\"after-post-box\">\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/x8YeVAaVyZc?rel=0 \" width=\"800\" height=\"400\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><\/iframe><a href=\"https:\/\/www.youtube.com\/c\/MyExcelOnlinecomtutorials?sub_confirmation=1\" target=\"_blank\" rel=\"noopener noreferrer nofollow\"><img loading=\"lazy\" decoding=\"async\" class=\"alignmiddle wp-image-111468 size-full\" style=\"vertical-align: middle;\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/04\/1.yt_.png\" alt=\"\" title=\"\"><\/a><\/p>\n<p class=\"line-two\"><a class=\"IRPP_minimalist icon-download button small\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/MID-FORMULA.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/MID-FORMULA.xlsx\" data-leadbox-id=\"147284833f72a2:12f08263ab46dc\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook<i class=\"fa fa-download\"><\/i><\/span><span class=\"postTitle px-3\">MID-FORMULA.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1:<\/strong><\/span> We need to <strong>enter the <i>MID\u00a0<\/i>function in a blank cell<\/strong>:<\/p>\n<h2 style=\"text-align: center;\"><span style=\"color: #0000ff;\">=MID(<\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"MID Formula in Excel\"  class=\"aligncenter size-full wp-image-10062\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/MID-FORMULA-01.jpg\" alt=\"MID Formula in Excel\" width=\"697\" height=\"141\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/MID-FORMULA-01.jpg 697w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/MID-FORMULA-01-300x61.jpg 300w\" sizes=\"(max-width: 697px) 100vw, 697px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2:<\/strong><\/span>\u00a0The <b>MID\u00a0<\/b>arguments:<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_57_1 counter-flat ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li><a href=\"#\" class=\"scroll-to-download\">Free Practice Workbook<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/mid-formula-in-excel\/#text\" title=\"text\">text<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/mid-formula-in-excel\/#start_num\" title=\"start_num\">start_num<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/mid-formula-in-excel\/#num_chars\" title=\"num_chars\">num_chars<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"text\"><\/span><span style=\"color: #0000ff;\"><em><strong>text<\/strong><\/em><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>What is the source text?<\/strong><\/p>\n<p><em>Select the cell containing the source text that you want to extract from:<\/em><\/p>\n<h2 style=\"text-align: center;\">=MID(<span style=\"color: #0000ff;\">C9,<\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"MID Formula in Excel\"  class=\"aligncenter size-full wp-image-10063\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/MID-FORMULA-02.jpg\" alt=\"MID Formula in Excel\" width=\"692\" height=\"144\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/MID-FORMULA-02.jpg 692w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/MID-FORMULA-02-300x62.jpg 300w\" sizes=\"(max-width: 692px) 100vw, 692px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"start_num\"><\/span><span style=\"color: #0000ff;\"><em><strong>start_num<\/strong><\/em><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>Where will we start extracting text?<\/strong><\/p>\n<p><em>Select the cell containing our starting position. This is where the <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/category\/formulas\/text\/mid\/\" target=\"_blank\" rel=\"noopener\">MID formula<\/a> will start getting text:<\/em><\/p>\n<h2 style=\"text-align: center;\">=MID(C9,\u00a0<span style=\"color: #0000ff;\">D9,<\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"MID Formula in Excel\"  class=\"aligncenter size-full wp-image-10064\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/MID-FORMULA-03.jpg\" alt=\"MID Formula in Excel\" width=\"689\" height=\"137\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/MID-FORMULA-03.jpg 689w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/MID-FORMULA-03-300x60.jpg 300w\" sizes=\"(max-width: 689px) 100vw, 689px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"num_chars\"><\/span><span style=\"color: #0000ff;\"><em><strong>num_chars<\/strong><\/em><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>How many characters do you want to get?<\/strong><\/p>\n<p><em>Select the cell containing the number of characters. In our case, we want to get 3 characters:<\/em><\/p>\n<h2 style=\"text-align: center;\">=MID(C9, D9,\u00a0<span style=\"color: #0000ff;\">E9)<\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"MID Formula in Excel\"  class=\"aligncenter size-full wp-image-10065\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/MID-FORMULA-04.jpg\" alt=\"MID Formula in Excel\" width=\"658\" height=\"134\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/MID-FORMULA-04.jpg 658w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/MID-FORMULA-04-300x61.jpg 300w\" sizes=\"(max-width: 658px) 100vw, 658px\" \/><\/p>\n<p>Apply the same formula to the rest of the cells by dragging the lower right corner downwards.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"MID Formula in Excel\"  class=\"aligncenter size-full wp-image-10066\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/MID-FORMULA-05.jpg\" alt=\"MID Formula in Excel\" width=\"619\" height=\"140\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/MID-FORMULA-05.jpg 619w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/MID-FORMULA-05-300x68.jpg 300w\" sizes=\"(max-width: 619px) 100vw, 619px\" \/><\/p>\n<p>You now have your extracted text! In our scenario, we tried to extract the different words in the phrase &#8220;How are you?&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"MID Formula in Excel\"  class=\"aligncenter size-full wp-image-10067\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/MID-FORMULA-06.jpg\" alt=\"MID Formula in Excel\" width=\"644\" height=\"175\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/MID-FORMULA-06.jpg 644w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/MID-FORMULA-06-300x82.jpg 300w\" sizes=\"(max-width: 644px) 100vw, 644px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #0000ff;\"><strong>How to Use the MID Formula in Excel<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/ebooks.myexcelonline.com\/products\/101-most-popular-excel-formulas-e-book\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"SORT Formula in Excel\"  class=\"alignleft size-full wp-image-10741\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/12\/MyExcelOnline.com-Formulas-E-Book.png\" alt=\"SORT Formula in Excel\" width=\"1200\" height=\"628\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/12\/MyExcelOnline.com-Formulas-E-Book.png 1200w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/12\/MyExcelOnline.com-Formulas-E-Book-300x157.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/12\/MyExcelOnline.com-Formulas-E-Book-1024x536.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/12\/MyExcelOnline.com-Formulas-E-Book-768x402.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; What does it do? Extracts a specific number of characters from the middle of a text Formula breakdown: =MID(text, start_num, num_chars) What it means: =MID(source text, starting position to extract text, number of characters to extract) Ever wanted to get something in the middle of your text? And you&#8217;re doing it by hand? Fret [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":17936,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cos_headline_score":0,"cos_seo_score":0,"cos_headline_text":"MID Formula in Excel","cos_headline_has_been_analyzed":false,"cos_last_analyzed_headline":[],"om_disable_all_campaigns":false},"categories":[484,3,14],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/9937"}],"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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/comments?post=9937"}],"version-history":[{"count":0,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/9937\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media\/17936"}],"wp:attachment":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media?parent=9937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/categories?post=9937"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/tags?post=9937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}