Table of Contents
Data manipulation often requires precise trimming of text. When working within Google Sheets, a common requirement is efficiently removing a fixed number of characters from the end of a string. While seemingly complex, this task can be achieved using powerful built-in text functions. The most reliable and versatile method involves combining the LEFT function and the LEN function.
This technique allows you to calculate the exact length of the original text and then extract only the initial characters needed, systematically excluding the undesired trailing characters—in this case, the final three. We will explore this primary method in depth, followed by an examination of an alternative approach using the SUBSTITUTE function for specific scenarios. Understanding these functions is essential for advanced data cleaning and formatting operations in Google Sheets.
Setting Up the Formula: LEFT and LEN Combination
To effectively remove the last three characters from any given text value, we must first determine its total length. This is where the LEN function proves indispensable, as it dynamically calculates the total count of characters in a cell. Once we have the total length, we simply subtract the number of characters we wish to remove (3, in this context) to determine the exact number of characters the LEFT function should retain.
This combination is dynamic, meaning it works regardless of how long the original string is. If your data resides in cell A2, the resulting formula is concise yet powerful:
=LEFT(A2,LEN(A2)-3)
This specific formula is designed to remove the last 3 characters from the text contained in cell A2. It ensures that the output is precise, leaving the entire beginning segment of the text untouched while systematically truncating the defined number of trailing characters.
Practical Example: Truncating Team Names
To illustrate the practical application of this formula, consider a dataset containing a list of basketball team names where each entry has an unnecessary three-character suffix (e.g., abbreviations or codes) that needs removal. Suppose we have the initial data structure as follows, with the original data stored in Column A:

Our objective is to clean this data set by applying the logic derived from the combined LEFT and LEN functions. We want to ensure that every team name in Column A is displayed in Column B without its final three characters, thereby achieving a cleaner, standardized format.
To initiate this process, we must enter the appropriate formula into the corresponding output cell, which in this example is cell B2. The formula specifies cell A2 as the input string:
=LEFT(A2,LEN(A2)-3)
Once the formula is correctly entered in B2, we utilize the autofill handle (the small square at the bottom right corner of the cell) to efficiently drag this formula down, applying the same calculation logic to all subsequent rows in Column B. This action instantly processes the entire list, demonstrating the scalability of the technique in Google Sheets.
Visualizing the Implementation and Results
The result of applying the formula across the entire dataset demonstrates the effectiveness of the combined LEFT function and LEN function approach. Column B now presents the cleaned data, precisely as intended:

As clearly displayed in the image above, Column B contains the team names originally found in Column A, successfully truncated by three characters. This process is immediate, scalable, and eliminates the need for manual text editing, proving the utility of specialized text functions in managing large datasets.
Detailed Analysis: Deconstructing the Formula’s Logic
The success of this method hinges on the precise interaction between the two core functions, ensuring that the desired segment of the string is isolated and extracted:
- The LEN function: This function calculates the total number of characters within a specified cell (e.g.,
LEN(A2)returns the total length). - The LEFT function: This function extracts a specific number of characters starting from the leftmost position of a given text string. Its fundamental syntax is
LEFT(string, number_of_characters).
By nesting LEN(A2)-3 within the LEFT function, we are dynamically determining the necessary extraction length. For instance, if cell A2 contains “WarriorsXYZ” (11 characters long), LEN(A2) returns 11. Subtracting 3 gives us 8. The formula then resolves to LEFT("WarriorsXYZ", 8), resulting in “Warriors”, thereby achieving the desired removal of the last three characters without manual adjustment.
This methodology is particularly robust because it does not rely on finding a specific delimiter or pattern; it relies only on character counting, ensuring consistent trimming across diverse data inputs, provided the text lengths are sufficient to allow for the subtraction of three characters.
Considering the Alternative: Using SUBSTITUTE
While the LEFT/LEN combination is generally superior for dynamic, fixed-length trimming, an alternative approach exists using the SUBSTITUTE function. The SUBSTITUTE function is designed to replace specific occurrences of text within a string. However, its effectiveness for simple truncation is limited unless the exact trailing characters are known.
To use SUBSTITUTE reliably for this task, you would typically need to combine it with the RIGHT function to first identify the last three characters, and then substitute those characters with an empty string (“”). A formula utilizing this more complex structure might look like =SUBSTITUTE(A2, RIGHT(A2, 3), ""). However, this method can fail if the last three characters also appear earlier in the string, leading to unintended replacements.
Given these complexities and potential data integrity risks, the LEFT/LEN method remains the standard and most reliable technique for performing fixed-length truncation in Google Sheets, as it directly addresses the requirement without ambiguity regarding character content.
Important Considerations for Text Manipulation
When performing text manipulation tasks like truncation, it is critical to account for non-visible characters that contribute to the total length of a string. This often includes whitespace characters that can alter the output significantly.
Specifically, blank spaces (or whitespace) within a cell count as characters when calculated by the LEN function. If your source data contains unwanted leading, trailing, or internal spaces, these will affect the output of the LEFT function. For instance, if the cell contains “Data XXX” (10 characters including spaces) and you apply the formula, it will remove the last three characters, which might include one space and two letters, potentially leaving undesirable trailing spaces in the resulting text.
To ensure the most accurate results, especially if dealing with user-input data, it is often necessary to preprocess the text using the TRIM() function before applying the LEFT/LEN combination. An enhanced formula might look like =LEFT(TRIM(A2), LEN(TRIM(A2))-3). This ensures that any superfluous spaces are removed first, guaranteeing that the length calculation accurately reflects only the meaningful characters and prevents errors in the final truncated output.
Further Learning and Related Tutorials
Mastering the LEFT and LEN functions opens the door to numerous advanced text manipulation techniques in Google Sheets. By understanding how to calculate string length and extract portions of text, users gain significant control over data cleaning and formatting operations.
For users interested in expanding their knowledge of data handling within this platform, the following functions and tutorials explain how to perform other common tasks:
- Using RIGHT() to extract characters from the end of a string.
- Utilizing MID() to extract characters from the middle of a string based on position and length.
- Implementing FIND() and SEARCH() for locating specific delimiters or characters within text strings.
These methods collectively provide a comprehensive toolkit for managing complex text data efficiently within your spreadsheets.
Cite this article
stats writer (2026). How to Remove the Last 3 Characters from Text in Google Sheets. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-remove-the-last-3-characters-from-a-string-in-google-sheets/
stats writer. "How to Remove the Last 3 Characters from Text in Google Sheets." PSYCHOLOGICAL SCALES, 17 Jan. 2026, https://scales.arabpsychology.com/stats/how-can-i-remove-the-last-3-characters-from-a-string-in-google-sheets/.
stats writer. "How to Remove the Last 3 Characters from Text in Google Sheets." PSYCHOLOGICAL SCALES, 2026. https://scales.arabpsychology.com/stats/how-can-i-remove-the-last-3-characters-from-a-string-in-google-sheets/.
stats writer (2026) 'How to Remove the Last 3 Characters from Text in Google Sheets', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-remove-the-last-3-characters-from-a-string-in-google-sheets/.
[1] stats writer, "How to Remove the Last 3 Characters from Text in Google Sheets," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, January, 2026.
stats writer. How to Remove the Last 3 Characters from Text in Google Sheets. PSYCHOLOGICAL SCALES. 2026;vol(issue):pages.
