{"id":9038,"date":"2021-03-29T11:20:00","date_gmt":"2021-03-29T09:20:00","guid":{"rendered":"https:\/\/blog.sheetgo.com\/?p=9038"},"modified":"2025-06-16T22:06:23","modified_gmt":"2025-06-16T20:06:23","slug":"left-formula-in-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/fr\/blog\/google-sheets-formulas\/left-formula-in-google-sheets\/","title":{"rendered":"Comment utiliser la formule LEFT dans Google Sheets ?"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; module_class=&#8221;sheetgo-post&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; da_is_popup=&#8221;off&#8221; da_exit_intent=&#8221;off&#8221; da_has_close=&#8221;on&#8221; da_alt_close=&#8221;off&#8221; da_dark_close=&#8221;off&#8221; da_not_modal=&#8221;on&#8221; da_is_singular=&#8221;off&#8221; da_with_loader=&#8221;off&#8221; da_has_shadow=&#8221;on&#8221; da_disable_devices=&#8221;off|off|off&#8221;][et_pb_row admin_label=&#8221;row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>Spreadsheet applications today are extremely versatile and useful tools. While they are known primarily for handling numbers, they also provide many ways to operate with text values. In this post, you\u2019ll learn about the <a href=\"https:\/\/support.google.com\/docs\/answer\/3094079\" target=\"_blank\" rel=\"noopener noreferrer\">LEFT<\/a> function in Google Sheets. This function helps extract a substring from the beginning of a specified string of text.<\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.16&#8243; border_width_left=&#8221;4px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]=LEFT(string, [number_of_characters])[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<ul>\n<li><b>string<\/b> \u2013 is the input text from which the formula returns the left portion.\n<li><b>number_of_characters<\/b> \u2013 [ OPTIONAL \u2013 1 by default ] \u2013 this is the number of characters that the formula should return from the left side of the string.<\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>Usage: LEFT function in Google Sheets<\/h3>\n<p>A quick look at the syntax will reveal that you just need an input <b>string<\/b> and the length of the substring to extract. That sounds relatively simple, but I\u2019ll give a few examples to help reinforce the concept. Please take a look at the image below.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/03\/1.-LEFT-function-example.png&#8221; alt=&#8221;left function google sheets 1&#8243; title_text=&#8221;1. LEFT function example&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; width=&#8221;640px&#8221; max_width=&#8221;640px&#8221; height=&#8221;440px&#8221; max_height=&#8221;440px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>In each of these examples, the function begins at the start (left) of the text string and extracts the specified number of characters. The function itself is quite simple to use; the last example, for instance, uses the formula <b>=LEFT(A4,B4)<\/b>.<\/p>\n<p>Like most other Google Sheets functions, the LEFT function can accept both direct values and references to cells that hold these values. I\u2019ve illustrated this in the examples, by typing the <b>string<\/b> and <b>number_of_characters<\/b> directly into the function in the first example, and then using cell references for the others.<\/p>\n<p>Regardless of the approach to inputting the formulas, you\u2019ll notice that the function always extracts the substring from the left side. In the first example, I have the string \u201cHello there!\u201d. The substring that is 5 characters long from the left is \u201cHello\u201d, which the formula has returned. The same logic applies to the other examples.\n<\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;Connections T &#8211; One tool &#8211; Horizontal&#8221; module_class=&#8221;sheetgo-post-no-shadow-img md2-contained-button vertical-banner-container&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#f2f7ff&#8221; max_width=&#8221;700px&#8221; module_alignment=&#8221;center&#8221; max_height=&#8221;300px&#8221; custom_margin=&#8221;20px|0px|20px|0px|true|true&#8221; custom_padding=&#8221;25px|25px|25px|25px|true|true&#8221; sticky_limit_bottom=&#8221;section&#8221; border_radii=&#8221;on|20px|20px|20px|20px&#8221; border_width_all=&#8221;1px&#8221; border_color_all=&#8221;#d9e7ff&#8221; global_colors_info=&#8221;{}&#8221; global_module=&#8221;255434&#8243; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2024\/09\/connections-top-processors-main.webp\" width=\"250\" height=\"168\" alt=\"\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2024\/09\/Recommended-for-Google-Workspace-badge.webp\" width=\"150\" height=\"180\" alt=\"39\" \/><\/p>\n<p><span style=\"font-size: 22px; font-weight: 600;\">One tool to merge, split, and filter all your spreadsheet data<\/span><\/p>\n<p><a href=\"https:\/\/www.sheetgo.com\/connections\/\" target=\"_blank\" rel=\"noopener\">Find out how<\/a><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h4>Using LEFT with FIND<\/h4>\n<p>So far I have used static numbers for the number_of_characters parameter. It certainly gets more interesting if you make this dynamic. Suppose that you have to extract the first names from a list of full names. Given that each first name varies in length, it is not possible to use a constant value for number_of_characters. All you know is that the first and last names are separated by a space character.<\/p>\n<p>In this situation, you can make use of the FIND formula. It returns the position at which a string is first found within a text. Consider the case of Shaun Crawford. If you count manually, the space character is in the sixth position. That is exactly what the FIND formula returns. Since you know the space is the sixth character, you also know that to extract the first name \u201cShaun\u201d, the function needs to take the first five characters of the string. By plugging in the FIND function and subtracting 1 (so that the space isn\u2019t included) you can extract the first name.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/03\/2.-LEFT-with-FIND.png&#8221; alt=&#8221;left function google sheets 2&#8243; title_text=&#8221;2. LEFT with FIND&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; width=&#8221;640px&#8221; max_width=&#8221;640px&#8221; height=&#8221;440px&#8221; max_height=&#8221;440px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>The formula used here is <b>=LEFT(A2,FIND(&#8221; &#8220;,A2)-1)<\/b>. This approach works for all the names regardless of their length, since the FIND function creates a dynamic input to the <b>number_of_characters<\/b> parameter.<\/p>\n<p>The FIND function allows you to use this approach whenever your data is in a consistent format that allows you to \u201cfind\u201d a particular string each time. This could work for data that\u2019s separated by a comma, a dash, a common phrase, or any other character or text string!<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h4>Using LEFT with LEN<\/h4>\n<p>You can also use the LEFT function to get rid of unwanted characters at the end of text strings. In this example, I again have a list of names, but they all have a period at the end. If you want to get rid of the period (and don\u2019t want to manually delete each one) you can use the LEFT function in combination with the LEN function.<\/p>\n<p>The LEN function returns the length of a text string; you can use it to generate the number_of_characters parameter within the LEFT function. By typing =LEFT(A2,LEN(A2)-1) you can specify the number_of_characters parameter to be \u201cthe length of the string, minus one character\u201d. This way, no matter what the length of the string is, you\u2019ll always be removing the last character. You can see that this works well \u2013 the periods have been removed!<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/03\/3.-LEFT-with-LEN.png&#8221; alt=&#8221;left function google sheets 3&#8243; title_text=&#8221;3. LEFT with LEN&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; width=&#8221;640px&#8221; max_width=&#8221;640px&#8221; height=&#8221;440px&#8221; max_height=&#8221;440px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>You can use this approach in a variety of situations. And if you want to remove more that one character from the end of the string, just change the -1 in the formula to whatever number you want!<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.22.2&#8243; background_color=&#8221;#f9f9ff&#8221; custom_margin=&#8221;40px||40px||false|false&#8221; custom_padding=&#8221;15px|25px|15px|25px|true|true&#8221; border_width_left=&#8221;3px&#8221; border_color_left=&#8221;#808e95&#8243; saved_tabs=&#8221;all&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><em><strong>Editor\u2019s note<\/strong>: This is a revised version of a previous post that has been updated for accuracy and comprehensiveness.<\/em><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spreadsheet applications today are extremely versatile and useful tools. While they are known primarily for handling numbers, they also provide many ways to operate with text values. In this post, you\u2019ll learn about the LEFT function in Google Sheets. This function helps extract a substring from the beginning of a specified string of text.=LEFT(string, [number_of_characters]) [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":33410,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"The spreadsheets applications of today are extremely versatile and useful tools. While they are known primarily for handling numbers, they also provide multiple utilities that help us operate on text values. In this post, we will be learning about the <a href=\"https:\/\/support.google.com\/docs\/answer\/3094079\" target=\"_blank\" rel=\"noopener noreferrer\">LEFT<\/a> formula in Google Sheets. This helps us to extract a substring from the beginning of a specified string.\n<h3>Syntax<\/h3>\n<strong>LEFT(string, [number_of_characters])<\/strong>\n<ul>\n \t<li><strong>string<\/strong> - is the input text from which the formula returns the left portion.<\/li>\n \t<li><strong>number_of_characters<\/strong> - [ OPTIONAL - 1 by default ] - this is the number of characters that the formula should return from the left side of the&nbsp;<strong>string<\/strong>.<\/li>\n<\/ul>\n<h3>Usage: LEFT formula in Google Sheets<\/h3>\nA quick look at the syntax will reveal that we will just need an input <strong>string<\/strong> and the length of the substring to extract it. That sounds relatively&nbsp;simple. But, let us substantiate our understanding with the help of a few examples.&nbsp;Please take a look at the image below.\n\n<img class=\"aligncenter size-full wp-image-9151\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2018\/07\/LEFT-formula-Illustration-Frame-1.png\" alt=\"LEFT formula in Google Sheets\" width=\"754\" height=\"518\">\n\nLike most other Google Sheets formulas, the LEFT formula can accept both direct values and the references to the cells that hold these values. We've illustrated this in the examples.\n\nRegardless of our approach to the formulas, we'll notice that the formula extracts the substring from the left side. In the first example, we have the string \"Hello there!\". The substring that is 5 characters long from the left is&nbsp;\"Hello\", which the formula has returned. Same is the case with the next couple of examples we considered.\n<h4>Use case<\/h4>\nSo far we have used static numbers for the&nbsp;<strong>number_of_characters<\/strong> parameter. It certainly gets more interesting if we make this dynamic. Suppose that we have to extract the first names from a list of full names. Given that each first name varies in length, it is not possible to use a constant value for&nbsp;<strong>number_of_characters<\/strong>. All we know is that the first and last names are separated by a space character.\n\nIn such a situation, we can make use of the <a href=\"https:\/\/support.google.com\/docs\/answer\/3094126\" target=\"_blank\" rel=\"noopener noreferrer\">FIND<\/a> formula.&nbsp;It returns the position at which a string is first found within a&nbsp;text. Consider the case of <strong>Shaun Crawford<\/strong>. If we counted manually, the space character is in the sixth position. That is what exactly the FIND formula returned. Now that you know the working of both LEFT and FIND formulas, we encourage you to analyze how the combination is working in the examples below.\n\n<img class=\"aligncenter size-full wp-image-9152\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2018\/07\/LEFT-formula-Illustration-Frame-2.png\" alt=\"LEFT formula in Google Sheets\" width=\"754\" height=\"560\">","_et_gb_content_width":"","footnotes":""},"categories":[54],"tags":[55,39,28],"class_list":["post-9038","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-sheets-formulas","tag-ben-collins","tag-connections-t","tag-spreadsheets"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts\/9038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/comments?post=9038"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts\/9038\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/media\/33410"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/media?parent=9038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/categories?post=9038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/tags?post=9038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}