Get text between colons in Google Sheets
=ARRAYFORMULA(TRIM(REGEXREPLACE(A2, "_|:|\*", " "))) // Get text between colons
=ARRAYFORMULA(TRIM(REGEXREPLACE(A2, "_|,|\*", " "))) // Get text between commas
=ARRAYFORMULA(TRIM(REGEXREPLACE(A2, "_|;|\*", " "))) // Get text between semicolons
A2 = data cell
Check below for a detailed explanation with pictures and how to use formulas in Google Sheets.Get text between colons in Google Sheets
How to get text between colons in Google Sheets?Get text between colons in Google Sheets
GET TEXT BETWEEN COLONS — GOOGLE SHEETS FORMULA AND EXAMPLE
GET TEXT BETWEEN COLONS — GOOGLE SHEETS FORMULA AND EXAMPLE
=ARRAYFORMULA(TRIM(REGEXREPLACE(A2, "_|:|\*", " ")))
Get text between colons
=ARRAYFORMULA(TRIM(REGEXREPLACE(A2, "_|,|\*", " ")))
Get text between commas
=ARRAYFORMULA(TRIM(REGEXREPLACE(A2, "_|;|\*", " ")))
Get text between semicolons
💡 In Excel "Find and Replace" will do the same job
Other useful extract formulas in Excel and Google Sheets explained
- Extract left before first space
- Extract right after first space
- Extract the nth words in a text string
- Extract domain URL from a link
- Extract URL domain root
- Flip the first and last name
- Get the last non-empty cell in a column
- Get the first non-empty cell in a column
- Extract text inside characters (parentheses)
- Get text between comma in Google Sheets
- Sum by month
- SUMIF cells if contains part of a text string
- Sum total sales based on quantity & price
- Combine date and time
- Convert 1-12 to month name
- Dynamic current date and time
- Count blank cell
- Count cell between two values
- Combine two or more cell
- SUMIF formulas and example
- SUMIFS formulas and example
- COUNTIF formulas and example
- IF formulas and example
- TEXT formulas and example
- CONVERT formulas and example
- Change the negative number to zero
- Change negative to positive numbers
- Calculate percentage changes for containing zero or negative values
- Convert date to text
- Convert time to text
- Convert weekday string to number
- Combine two or more cells with a line break
- Combine two or more cells and transpose
- Count cells over 10 characters
- Count cells that are not blank
- Count if cells contain a specific text
- Count cells that begin with a specific text
- COUNTIF based on multiple criteria