{"id":50,"date":"2026-02-24T08:22:15","date_gmt":"2026-02-24T08:22:15","guid":{"rendered":"https:\/\/gigz.pk\/excel\/?post_type=lesson&#038;p=50"},"modified":"2026-03-07T04:06:02","modified_gmt":"2026-03-07T04:06:02","slug":"left-right-mid","status":"publish","type":"lesson","link":"https:\/\/gigz.pk\/excel\/lesson\/left-right-mid\/","title":{"rendered":"LEFT, RIGHT, MID"},"content":{"rendered":"\n<p>The <strong>LEFT, RIGHT, and MID<\/strong> functions are text functions used to extract specific characters from a cell. These functions are very useful when working with names, codes, ID numbers, or formatted text.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. LEFT Function<\/h2>\n\n\n\n<p>The <strong>LEFT<\/strong> function extracts characters from the beginning (left side) of a text string.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Structure:<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">=LEFT(text, number_of_characters)<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Example:<\/h3>\n\n\n\n<p>If cell A1 contains:<\/p>\n\n\n\n<p>Karachi<\/p>\n\n\n\n<p>Formula:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=LEFT(A1,3)<\/pre>\n\n\n\n<p>Result: <strong>Kar<\/strong><\/p>\n\n\n\n<p>It extracts the first 3 characters from the left.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. RIGHT Function<\/h2>\n\n\n\n<p>The <strong>RIGHT<\/strong> function extracts characters from the end (right side) of a text string.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Structure:<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">=RIGHT(text, number_of_characters)<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Example:<\/h3>\n\n\n\n<p>If cell A1 contains:<\/p>\n\n\n\n<p>Karachi<\/p>\n\n\n\n<p>Formula:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=RIGHT(A1,2)<\/pre>\n\n\n\n<p>Result: <strong>hi<\/strong><\/p>\n\n\n\n<p>It extracts the last 2 characters.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. MID Function<\/h2>\n\n\n\n<p>The <strong>MID<\/strong> function extracts characters from the middle of a text string.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Structure:<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">=MID(text, start_position, number_of_characters)<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Example:<\/h3>\n\n\n\n<p>If cell A1 contains:<\/p>\n\n\n\n<p>Karachi<\/p>\n\n\n\n<p>Formula:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=MID(A1,2,3)<\/pre>\n\n\n\n<p>Result: <strong>ara<\/strong><\/p>\n\n\n\n<p>Explanation:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Start at position 2<\/li>\n\n\n\n<li>Extract 3 characters<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Practical Example<\/h2>\n\n\n\n<p>If A1 contains:<\/p>\n\n\n\n<p>PK-2026-001<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>=LEFT(A1,2) \u2192 PK<\/li>\n\n\n\n<li>=MID(A1,4,4) \u2192 2026<\/li>\n\n\n\n<li>=RIGHT(A1,3) \u2192 001<\/li>\n<\/ul>\n\n\n\n<p>These functions help extract specific parts of structured data.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Important Notes<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Spaces are counted as characters.<\/li>\n\n\n\n<li>These functions work only with text (numbers are treated as text if needed).<\/li>\n\n\n\n<li>Position counting starts from 1.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Why LEFT, RIGHT, and MID Are Important<\/h2>\n\n\n\n<p>They help you:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Split full names<\/li>\n\n\n\n<li>Extract area codes<\/li>\n\n\n\n<li>Separate ID numbers<\/li>\n\n\n\n<li>Clean and organize text data<\/li>\n\n\n\n<li>Prepare data for reports<\/li>\n<\/ul>\n\n\n\n<p>These text functions are essential tools for managing and analyzing text data in Excel efficiently.<\/p>\n\n\n<div class=\"yoast-breadcrumbs\"><span><span><a href=\"https:\/\/gigz.pk\/excel\/\">Home<\/a><\/span> \u00bb <span class=\"breadcrumb_last\" aria-current=\"page\">Excel Essential Functions (EEF) > Text Functions > Nested IF<\/span><\/span><\/div>\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1772855989562\"><strong class=\"schema-faq-question\"><\/strong> <p class=\"schema-faq-answer\"><\/p> <\/div> <\/div>\n\n\n\n<p><\/p>\n","protected":false},"menu_order":22,"template":"","class_list":["post-50","lesson","type-lesson","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>LEFT, RIGHT, MID - Learn Excel the Right Way.<\/title>\n<meta name=\"description\" content=\"Learn how to use LEFT, RIGHT, and MID functions in Excel to extract specific characters from text and organize data efficiently.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gigz.pk\/excel\/lesson\/left-right-mid\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"LEFT, RIGHT, MID - Learn Excel the Right Way.\" \/>\n<meta property=\"og:description\" content=\"Learn how to use LEFT, RIGHT, and MID functions in Excel to extract specific characters from text and organize data efficiently.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gigz.pk\/excel\/lesson\/left-right-mid\/\" \/>\n<meta property=\"og:site_name\" content=\"Learn Excel the Right Way.\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-07T04:06:02+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/lesson\\\/left-right-mid\\\/\",\"url\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/lesson\\\/left-right-mid\\\/\",\"name\":\"LEFT, RIGHT, MID - Learn Excel the Right Way.\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/#website\"},\"datePublished\":\"2026-02-24T08:22:15+00:00\",\"dateModified\":\"2026-03-07T04:06:02+00:00\",\"description\":\"Learn how to use LEFT, RIGHT, and MID functions in Excel to extract specific characters from text and organize data efficiently.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/lesson\\\/left-right-mid\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gigz.pk\\\/excel\\\/lesson\\\/left-right-mid\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/lesson\\\/left-right-mid\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Excel Essential Functions (EEF) > Text Functions > Nested IF\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/#website\",\"url\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/\",\"name\":\"Learn Excel the Right Way.\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"LEFT, RIGHT, MID - Learn Excel the Right Way.","description":"Learn how to use LEFT, RIGHT, and MID functions in Excel to extract specific characters from text and organize data efficiently.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/gigz.pk\/excel\/lesson\/left-right-mid\/","og_locale":"en_US","og_type":"article","og_title":"LEFT, RIGHT, MID - Learn Excel the Right Way.","og_description":"Learn how to use LEFT, RIGHT, and MID functions in Excel to extract specific characters from text and organize data efficiently.","og_url":"https:\/\/gigz.pk\/excel\/lesson\/left-right-mid\/","og_site_name":"Learn Excel the Right Way.","article_modified_time":"2026-03-07T04:06:02+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["WebPage","FAQPage"],"@id":"https:\/\/gigz.pk\/excel\/lesson\/left-right-mid\/","url":"https:\/\/gigz.pk\/excel\/lesson\/left-right-mid\/","name":"LEFT, RIGHT, MID - Learn Excel the Right Way.","isPartOf":{"@id":"https:\/\/gigz.pk\/excel\/#website"},"datePublished":"2026-02-24T08:22:15+00:00","dateModified":"2026-03-07T04:06:02+00:00","description":"Learn how to use LEFT, RIGHT, and MID functions in Excel to extract specific characters from text and organize data efficiently.","breadcrumb":{"@id":"https:\/\/gigz.pk\/excel\/lesson\/left-right-mid\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gigz.pk\/excel\/lesson\/left-right-mid\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/gigz.pk\/excel\/lesson\/left-right-mid\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gigz.pk\/excel\/"},{"@type":"ListItem","position":2,"name":"Excel Essential Functions (EEF) > Text Functions > Nested IF"}]},{"@type":"WebSite","@id":"https:\/\/gigz.pk\/excel\/#website","url":"https:\/\/gigz.pk\/excel\/","name":"Learn Excel the Right Way.","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gigz.pk\/excel\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/gigz.pk\/excel\/wp-json\/wp\/v2\/lesson\/50","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gigz.pk\/excel\/wp-json\/wp\/v2\/lesson"}],"about":[{"href":"https:\/\/gigz.pk\/excel\/wp-json\/wp\/v2\/types\/lesson"}],"wp:attachment":[{"href":"https:\/\/gigz.pk\/excel\/wp-json\/wp\/v2\/media?parent=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}