{"id":4911,"date":"2019-11-11T16:14:46","date_gmt":"2019-11-11T16:14:46","guid":{"rendered":"http:\/\/officetuts.net\/excel\/?p=4911"},"modified":"2024-03-28T13:33:06","modified_gmt":"2024-03-28T13:33:06","slug":"remove-the-first-character","status":"publish","type":"post","link":"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/","title":{"rendered":"Remove the First Character in Excel"},"content":{"rendered":"\n

The REPLACE function<\/h2>\n\n\n\n

The easiest way to remove the first character from a cell is to use the REPLACE<\/a> function.<\/p>\n\n\n\n

=REPLACE(A1,1,1,\"\")<\/code><\/pre>\n\n\n\n

This function replaces a part of a string with a different\nstring.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Explanation<\/strong><\/p>\n\n\n\n

=REPLACE( old_text<\/strong>,\nstart_num<\/strong>, num_chars<\/strong>, new_text<\/strong> )<\/p>\n\n\n\n

old_text<\/strong> – The function\ntakes “!This is text” as the first argument.<\/p>\n\n\n\n

start_num<\/strong> – Which\ncharacter to replace. In our case, it’s the first one.<\/p>\n\n\n\n

num_chars<\/strong> – The\nnumber of characters to replace. We want only 1.<\/p>\n\n\n\n

new_text<\/strong> – The\ntext to replace the portion of the text. In our case is empty space, because we\nwant the first character to be deleted.<\/p>\n\n\n\n

RIGHT and LEN functions<\/h2>\n\n\n\n

If you want to use a different approach, you can use RIGHT<\/strong><\/a> and LEN<\/strong><\/a> functions.<\/p>\n\n\n\n

The RIGHT<\/strong>\nfunction returns the number of characters from the right of the string.<\/p>\n\n\n\n

The LEN<\/strong> function\nreturns the length of the string.<\/p>\n\n\n\n

The following formula will return all characters – 1 from the RIGHT<\/strong>.<\/p>\n\n\n\n

=RIGHT(A1,LEN(A1)-1)<\/code><\/pre>\n\n\n\n

Let’s check it inside the worksheet.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

VBA Code<\/h2>\n\n\n\n

You can use this simple function to remove the first character from a string. It will take one argument, which is a string.<\/p>\n\n\n\n

Function RemoveFirstCharacter(rng As String)\n    RemoveFirstCharacter = Right(rng, Len(rng) - 1)\nEnd Function<\/code><\/pre>\n\n\n\n

Insert this function into a new module and use it as a\nnormal function.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

<\/p>\n","protected":false},"excerpt":{"rendered":"

The REPLACE function The easiest way to remove the first character from a cell is to use the REPLACE function. This function replaces…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[190],"yoast_head":"\nRemove the First Character in Excel<\/title>\n<meta name=\"description\" content=\"Learn how to remove the first character from an Excel cell using the REPLACE function or the RIGHT and LEN functions. It's easy and efficient!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Remove the First Character in Excel\" \/>\n<meta property=\"og:description\" content=\"Learn how to remove the first character from an Excel cell using the REPLACE function or the RIGHT and LEN functions. It's easy and efficient!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-11-11T16:14:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-28T13:33:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2019\/11\/replace-example.png\" \/>\n<meta name=\"author\" content=\"Tomasz Decker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tomasz Decker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/\"},\"author\":{\"name\":\"Tomasz Decker\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"headline\":\"Remove the First Character in Excel\",\"datePublished\":\"2019-11-11T16:14:46+00:00\",\"dateModified\":\"2024-03-28T13:33:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/\"},\"wordCount\":214,\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2019\/11\/replace-example.png\",\"keywords\":[\"pinterest\"],\"articleSection\":[\"examples\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/\",\"url\":\"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/\",\"name\":\"Remove the First Character in Excel\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2019\/11\/replace-example.png\",\"datePublished\":\"2019-11-11T16:14:46+00:00\",\"dateModified\":\"2024-03-28T13:33:06+00:00\",\"description\":\"Learn how to remove the first character from an Excel cell using the REPLACE function or the RIGHT and LEN functions. It's easy and efficient!\",\"breadcrumb\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/#primaryimage\",\"url\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2019\/11\/replace-example.png\",\"contentUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2019\/11\/replace-example.png\",\"width\":433,\"height\":126},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/officetuts.net\/excel\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Remove the First Character in Excel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/officetuts.net\/excel\/#website\",\"url\":\"https:\/\/officetuts.net\/excel\/\",\"name\":\"\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/officetuts.net\/excel\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\",\"name\":\"Tomasz Decker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"caption\":\"Tomasz Decker\"},\"logo\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\"},\"description\":\"Spreadsheet and Python enthusiast.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Remove the First Character in Excel","description":"Learn how to remove the first character from an Excel cell using the REPLACE function or the RIGHT and LEN functions. It's easy and efficient!","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:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/","og_locale":"en_US","og_type":"article","og_title":"Remove the First Character in Excel","og_description":"Learn how to remove the first character from an Excel cell using the REPLACE function or the RIGHT and LEN functions. It's easy and efficient!","og_url":"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/","article_published_time":"2019-11-11T16:14:46+00:00","article_modified_time":"2024-03-28T13:33:06+00:00","og_image":[{"url":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2019\/11\/replace-example.png"}],"author":"Tomasz Decker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tomasz Decker","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/#article","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/"},"author":{"name":"Tomasz Decker","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"headline":"Remove the First Character in Excel","datePublished":"2019-11-11T16:14:46+00:00","dateModified":"2024-03-28T13:33:06+00:00","mainEntityOfPage":{"@id":"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/"},"wordCount":214,"publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"image":{"@id":"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/#primaryimage"},"thumbnailUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2019\/11\/replace-example.png","keywords":["pinterest"],"articleSection":["examples"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/","url":"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/","name":"Remove the First Character in Excel","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/#website"},"primaryImageOfPage":{"@id":"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/#primaryimage"},"image":{"@id":"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/#primaryimage"},"thumbnailUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2019\/11\/replace-example.png","datePublished":"2019-11-11T16:14:46+00:00","dateModified":"2024-03-28T13:33:06+00:00","description":"Learn how to remove the first character from an Excel cell using the REPLACE function or the RIGHT and LEN functions. It's easy and efficient!","breadcrumb":{"@id":"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/#primaryimage","url":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2019\/11\/replace-example.png","contentUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2019\/11\/replace-example.png","width":433,"height":126},{"@type":"BreadcrumbList","@id":"https:\/\/officetuts.net\/excel\/examples\/remove-the-first-character\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/officetuts.net\/excel\/"},{"@type":"ListItem","position":2,"name":"Remove the First Character in Excel"}]},{"@type":"WebSite","@id":"https:\/\/officetuts.net\/excel\/#website","url":"https:\/\/officetuts.net\/excel\/","name":"","description":"","publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/officetuts.net\/excel\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42","name":"Tomasz Decker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","caption":"Tomasz Decker"},"logo":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/"},"description":"Spreadsheet and Python enthusiast."}]}},"_links":{"self":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/4911"}],"collection":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/comments?post=4911"}],"version-history":[{"count":3,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/4911\/revisions"}],"predecessor-version":[{"id":14289,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/4911\/revisions\/14289"}],"wp:attachment":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/media?parent=4911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/categories?post=4911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/tags?post=4911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}