16.2 C
London
Thursday, July 24, 2025
HomeSoftware TutorialsGoogle SheetsHow to Remove Substring in Google Sheets (With Example)

How to Remove Substring in Google Sheets (With Example)

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

You can use the following formulas to remove specific substrings from cells in Google Sheets:

Method 1: Remove One Substring from Cell

=SUBSTITUTE(A2,"this_string","")

Method 2: Remove Multiple Substrings from Cell

=SUBSTITUTE(SUBSTITUTE(A2,"string1",""),"string2","")

The following examples show how to use each of these methods in practice.

Note: These formulas “remove” substrings from cells by substituting specific substrings with blanks.

Method 1: Remove One Substring from Cell

Suppose we have the following dataset that contains information about various basketball teams:

We can use the following formula to remove the substring “Team” from each cell in column A:

=SUBSTITUTE(A2,"Team","")

We’ll type this formula in cell C2 and drag and fill it down to each remaining cell in column C:

Google Sheets remove substring

Notice that the substring “Team” has been removed from each cell.

Method 2: Remove Multiple Substrings from Cell

Suppose we have the following dataset that contains information about various basketball teams:

We can use the following formula to remove the substrings “Team” and “Name” from each cell in column A:

=SUBSTITUTE(SUBSTITUTE(A2,"Team",""),"Name","")

We’ll type this formula in cell C2 and drag and fill it down to each remaining cell in column C:

Google Sheets remove multiple substrings

Notice that the substrings “Team” and “Name” have been removed from each cell.

Note: You can use as many nested SUBSTITUTE functions as you’d like to remove as many substrings from cells as you’d like.

Additional Resources

The following tutorials explain how to perform other common operations in Google Sheets:

How to Extract Substring in Google Sheets
How to Reverse a Text String in Google Sheets
How to Extract Numbers from String in Google Sheets

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories