Read about Split Text and Numbers in Google Sheets: Easy SEO-Friendly Formulas on Laight Ideas.
Splitting text and numbers in Google Sheets is a common data-wrangling task that often trips up users. Whether you are dealing with product codes like ITEM-123, phone numbers formatted as (555) 123-4567, or addresses like 123 Main Street, the ability to isolate the text elements from the numerical values is essential for cleaning and organizing your spreadsheets.
Data integrity is the backbone of any reliable spreadsheet. Keeping text descriptors merged with numerical values makes it difficult to perform calculations, generate accurate charts, or sort your information logically. For instance, trying to sum a column that contains "T-Shirt 1" and "T-Shirt 2" as text strings will yield no useful results for inventory counts. By splitting text and numbers, you create distinct data sets that are easier to filter, analyze, and visualize.
For straightforward datasets where the format is consistent, Google Sheets' Flash Fill feature is the quickest method. This tool recognizes patterns you demonstrate and applies them to the rest of the column automatically.

The process for isolating numbers is identical to extracting text. Simply type the numerical digits of the second row into the adjacent column, wait for the pattern recognition to kick in, and confirm the fill. This method relies heavily on consistency; if the format varies between rows, Flash Fill may fail.
When Flash Fill is unreliable, or you need to strip specific characters like spaces or dashes, using functions like REGEXEXTRACT, LEFT, RIGHT, and SUBSTITUTE provides greater control.
The REGEXEXTRACT function is arguably the most powerful tool for this job. It allows you to define a pattern to search for within a string.

"[0-9]+". This searches for one or more consecutive digits."[A-Za-z]+". This searches for consecutive letters.For example, =REGEXEXTRACT(A1, "[0-9]+") will look inside cell A1, find the first string of numbers, and return them. Note that this will only return the first instance of a number found; if your data contains multiple number clusters, a more complex expression is required.
For data that includes specific delimiters—such as dashes, slashes, or spaces—the SUBSTITUTE function can remove unwanted characters before you split the data.
Imagine you have a phone number in cell A1 formatted as "(123) 456-7890". To strip the parentheses and dash for easier manipulation, you could nest multiple SUBSTITUTE functions:
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1, "(", ""), ")", ""), "-", "")
This cleans the data into a continuous string of numbers, which you can then parse using the LEFT or RIGHT functions if needed.
If you know the exact structure of your data—such as the fact that the text always consists of the first three characters and the numbers are always the last four—you can use static text functions.
=LEFT(A1, 3) will always pull the first three characters from the string in A1.
=RIGHT(A1, 4) will always pull the last four characters.
While less flexible than Regex, these functions are incredibly fast and efficient for standardized data imports, such as fixed-width files or batch-generated codes.
Even with the right formulas, you might encounter errors. A common issue with REGEXEXTRACT is the #N/A error, which occurs if the pattern is not found in the text. This usually happens if a cell contains only numbers when you are trying to extract text, or vice versa.
To prevent your sheet from showing an error, wrap your formula in an IFERROR function. For example:
=IFERROR(REGEXEXTRACT(A1, "[0-9]+"), "")
This tells Google Sheets to return a blank cell instead of an error message if the formula fails to find a match, keeping your dataset clean and professional.