Function Problems

How to Remove Leading Quotes and Punctuation in Excel Text

Maira MehtabMaira Mehtab Oct 9, 2026 870 views

Question details

The user needs to remove leading double quotes and other unwanted punctuation marks from text strings in Excel to keep only the alphabetical letters.

How to Remove Leading Quotes and Punctuation in Excel Text
Product
Excel
Device & OS
not provided
Scenario
Cleaning up imported or improperly formatted text data where words have unnecessary leading quotes or trailing punctuation, such as changing "In, "See, and "The to In, See, and The.
Observed behavior
Text cells contain unwanted punctuation and double quotes alongside the actual alphabetical text, preventing accurate data analysis or clean presentation.
Before you start

Before applying the formulas, insert a new blank column next to your text data to hold the cleaned results without overwriting the original cells.

Solution 1Recommended

Use TEXTJOIN and SEQUENCE Formulas to Extract Only Letters

This advanced array formula dynamically filters out all punctuation marks and numbers, extracting only alphabetical letters from the cell.

This method evaluates every single character in the cell and rebuilds the string using only the characters that match the defined alphabet. It is highly effective when text has multiple randomized punctuation marks.

1
Select a target cell

Click on a blank cell (e.g., B1) directly adjacent to the text you want to clean.

2
Input the array formula

Enter the formula: =TEXTJOIN("",,IF(ISNUMBER(SEARCH(MID(A1,SEQUENCE(LEN(A1)),1),"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")),MID(A1,SEQUENCE(LEN(A1)),1),""))

3
Execute the function

Press Enter to apply the formula. This will strip all characters except the specified alphabetical letters.

4
Apply to the entire column

Drag the fill handle at the bottom-right corner of the cell down to apply this formula to the rest of your data column.

Use TEXTJOIN and SEQUENCE Formulas to Extract Only Letters
Version Compatibility: The SEQUENCE function is only available in newer versions of Excel and WPS Office. If you are using an older version, this formula may return a #NAME? error.
Data Cleanup Solutions

Easily Clean Up Text Data in WPS Spreadsheet

WPS Spreadsheet fully supports advanced array functions like TEXTJOIN and SEQUENCE, making data cleanup tasks like removing quotes and punctuation quick and efficient.

  1. 1. Open your workbook: Launch WPS Spreadsheet and open the file containing the text data you need to clean.
  2. 2. Select a blank cell: Click on the cell where you want the cleaned text string to be displayed.
  3. 3. Input the formula: Type or paste your preferred TEXTJOIN or SUBSTITUTE formula to target the unwanted punctuation.
  4. 4. Batch process data: Press Enter, then drag the fill handle down to instantly clean all the text entries in that column.
Fully compatible with Microsoft Excel formulas and functions.Supports advanced dynamic array formulas for complex data cleaning.Lightweight, fast, and completely free to use for daily spreadsheet tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Can I use Find and Replace to remove leading double quotes?

Yes. You can press Ctrl + H to open the Find and Replace dialog, type a single double quote (") in the 'Find what' field, leave the 'Replace with' field completely blank, and click 'Replace All'.

Why does my TEXTJOIN formula return a #NAME? error?

This error usually occurs if your version of the spreadsheet software does not support the SEQUENCE or TEXTJOIN functions. You will need to upgrade to a newer version of Excel or WPS Office.

How do I remove all punctuation but keep both letters and numbers?

You can expand the search string in the TEXTJOIN array formula to include numbers (0-9) alongside the alphabet letters. This tells the formula to retain both numbers and letters while stripping all other symbols.