Table of Contents
Removing numbers from strings in Google Sheets can easily be done through the use of the “REGEXREPLACE” function. This function allows you to replace specific characters, such as numbers, in a string with blank spaces. By using this function, you can effectively remove any numbers from a string of text in your Google Sheets document. This can be useful for organizing data or cleaning up any unwanted numerical values in your spreadsheet. With the “REGEXREPLACE” function, you can efficiently and accurately remove numbers from strings in Google Sheets.
Remove Numbers from Strings in Google Sheets
You can use the following formula to remove numbers from strings in Google Sheets:
=REGEXREPLACE(A2,"d", "")
This particular formula will remove all numbers from the string in cell A2.
The following example shows how to use this formula in practice.
Example: Remove Numbers from Strings in Google Sheets
Suppose we have the following list of employee ID’s for some company in Google Sheets:

Now suppose that we would like to remove all numbers from each ID so that only the letters remain.
We can use the following formula to do so:
=REGEXREPLACE(A2,"d", "")We’ll type this formula in cell B2, then drag and fill it down to each remaining cell in column B:

Notice that all numbers have been removed from each string so we’re left with only the letters from each employee ID.
How This Formula Works
The REGEXREPLACE function in Google Sheets is used to replace specific characters in a string based on a regular expression.
Consider the formula we used:
=REGEXREPLACE(A2,"d", "")The second argument of d is used in regular expressions to match any digit from 0 to 9.
The third argument of a blank string is used to specify that we’d like to replace any digit from 0 to 9 with nothing.
The end result is that each number is simply removed from the string.
Note: You can find the complete documentation for the REGEXREPLACE function .
Cite this article
stats writer (2024). How can I remove numbers from strings in Google Sheets?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-remove-numbers-from-strings-in-google-sheets/
stats writer. "How can I remove numbers from strings in Google Sheets?." PSYCHOLOGICAL SCALES, 23 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-remove-numbers-from-strings-in-google-sheets/.
stats writer. "How can I remove numbers from strings in Google Sheets?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-remove-numbers-from-strings-in-google-sheets/.
stats writer (2024) 'How can I remove numbers from strings in Google Sheets?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-remove-numbers-from-strings-in-google-sheets/.
[1] stats writer, "How can I remove numbers from strings in Google Sheets?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.
stats writer. How can I remove numbers from strings in Google Sheets?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.
