Inside The Web
    Facebook Twitter Instagram
    Inside The Web
    • Office
      • Excel
      • Ms Word
      • OneDrive
      • Google Docs
      • Google Sheets
      • Google Drive
    • Email
      • Gmail
      • Outlook
      • Emal Etiquette
    • Office Etiquette
    • Productivity
    Inside The Web
    Home»Office»Excel»How to Remove Numbers From Text in Excel

    How to Remove Numbers From Text in Excel

    Nisha GurungBy Nisha GurungMay 12, 2023 Excel 6 Mins Read

    While importing data in an Excel sheet, you might receive the numbers and text strings together in the same column. For Example, it could be the combined record of Student’s names and IDs like Ivan (5374). Or, just the numbers jumbled up in the texts like 1A5B3C2D. 

    Nonetheless, if the numbers do not add any value to texts, it is best to get rid of them. You wouldn’t want your data to appear messy and unreadable to other users.

    We have compiled 5 methods that’ll help you to remove numbers and keep only texts in your sheet. You could use any one method depending on the position of the numbers in your cell. 

    Using Flash-Fill

    If you have numbers and texts in a similar pattern, use Flash-Fill. It is the best tool to delete numbers quickly from a cell because when Flash-Fills detects a pattern, it does the rest of the work for you. In short, it will auto-fill the remaining cells.

    For example, we have a list of Customer’s usernames with numbers in Column A. To remove numbers and keep only the names, I will enter the full name in Column B. Then, I will simply press down Ctrl + E to fill the rest of the cells. 

    Using Find and Replace

    Excel’s Find and Replace tool is the most convenient feature to instantly locate any specific data and substitute them with a new value. Apart from replacing values, it is also widely used to remove characters. Here, the trick to delete the numbers from the text is to substitute all numbers with a null. 

    Use this method if the numbers are placed inside brackets. We will use Excel’s (*) Asterisk Wildcard characters to find them. Asterisks will find all numbers with brackets. 

    Note that in this approach, Find and Replace will directly eliminate numbers in the original data. So, keep a copy of the data if you think you’d need them later.

    1. On your spreadsheet, press down Ctrl + H for Find and Replace menu.
    2. Type in (*) in Find what.
      Type in (asterisk) in Find what
    3. Then, on Replace with, leave the field blank. Hit Replace All.
      on Replace with, leave the field blank. Hit Replace All

    Using Text to Columns

    If you have numbers and texts separated by a delimiter, you can use the Text to Columns tool. With Text to Columns, you can split the text strings and numbers into two columns. Then, choose to import only the text columns in your sheet. 

    1. Select your data. From Data Tab, click Text to Columns.
      From Data Tab, click Text to Columns
    2. On Step 1 of Convert Text to Columns Wizard, pick Delimited and click Next.
      On Step 1 of Convert Text to Columns Wizard, pick Delimited and click Next
    3. On Step 2, tick Other option and enter – in the box. Hit Next.
      On Step 2, tick Other option and enter - in the box. Hit Next
    4. On Step 3, select the Numbers column and choose Do not import column (skip).
      On Step 3, select the Numbers column and choose Do not import column (skip)
    5. Select a Destination to import Column and hit Finish.
      Select a Destination to import Column and hit Finish
    6. You won’t have numbers in texts anymore.
      Remove numbers from text using Text to Columns

    Using Formula

    If you have combined values like 1A5B3C2D format, it is not possible to delete only numbers using the above method. In such cases, we will nest Excel’s different functions together like TEXTJOIN, IF, MID, SEQUENCE, LEN, etc. 

    Firstly, we will take a look into what each function means and its syntax in this table.

    Function Syntax Description
    TEXTJOINTEXTJOIN(delimiter, ignore_empty, text 1, [text2],..)Join texts of different cell ranges with a delimiter.

    For Example, 3rd North New York USA is in different Columns. 

    Using TEXTJOIN, you can combine these text strings together to form 3rd North, New York, USA in one cell.
    IFIF(logical_test, value_if_true, [value_if_false])IF function tests the certain condition you pass down in a formula. Then, it returns two results. 

    One value when the condition is TRUE and the other when the condition is FALSE.
    ISERRORISERROR(value)Tests if the value is an error or not. 

    As a result, the function returns TRUE if there is an error like #VALUE! #NUM!, #SPILL!, #NAME?, #REF!,  #NULL!, #CALC! in the value.

    Similarly, it returns FALSE if there are no errors.
    MID MID(text,start_num,num_chars)Returns characters from the text strings. You can specify the starting position and total number of characters to extract.

    For Example, =MID(“Nisha”, 3,3) returns “sha”.
    SEQUENCE SEQUENCE(rows,[columns],[start],[step])SEQUENCE function returns the array of consecutive values. 

    For Example, =SEQUENCE(2,3) returns an array of 123456 in two rows and 3 columns. 
    LEN LEN(text)Returns the total number of characters in a text string.

    For Example, =LEN(“Sunday”) returns 6.

    In the given case, let’s assume I have an address of 9401 North Street in cell A1. To delete numbers and keep only the texts I entered the following formula in the cell B1.

    =TEXTJOIN("", TRUE, IF(ISERROR(MID(A1, SEQUENCE(LEN(A1)), 1)*1), MID(A1, SEQUENCE(LEN(A1)),1),""))

    I know the formula looks extremely huge and intimidating. But, we will break down the formula and see how it works below.

    • LEN(A1): Using the LEN function, we first returned 17 characters from the text “9401 North Street” in cell A1.
    • SEQUENCE(LEN(A1)): SEQUENCE returns LEN(A1) rows in sequential order. For example, 1,2,3,4,5,6,7, till 17.
    • MID(A1, SEQUENCE(LEN(A1)), 1)*1): Here, we’ve passed down the value of cell A1 “9401 North Street” as text in the MID function. Our character position is in SEQUENCE(LEN(A1)), and we will return only 1 character from the text. As a result, we got 9.
    • ISERROR(MID(A1, SEQUENCE(LEN(A1)), 1)*1): It’ll check if there is an error in the Value which is 9. Since there isn’t any error, it returned FALSE.
    • IF(ISERROR(MID(A1, SEQUENCE(LEN(A1)), 1)*1): 
      • Here, the IF function takes (ISERROR(MID(A1, SEQUENCE(LEN(A1)), 1)*1) as logical_test which is “FALSE”. 
      • If the value of  MID(A1, SEQUENCE(LEN(A1)),1) is TRUE, it’ll return {“9”; “4”; “0”; “1”;” “;”“N”; “o”; “r” ; “t” ; “h”; “ ” “S”; “t” ; “r” ; “e” ; “e” ; “t”}. 
      • But, If the value of “” is FALSE, it’ll return only {“”; “”; “”; “”; “ ” “;”“N”; “o”; “r” ; “t”  ; “h” ; “ ” ;“S”; “t” ; “r” ; “e” ; “e” ; “t”}
      • In our case, since the value is FALSE, we got the latter answer.
    • TEXTJOIN(“”, TRUE, IF(ISERROR(MID(A1, SEQUENCE(LEN(A1)), 1)*1), MID(A1, SEQUENCE(LEN(A1)),1),””)): Finally, TEXTJOIN joins all the characters inside the “” delimiter and returns North Street as a result.

    We even used the Flash-fill handle to copy down the formula to other cells. 

    Using VBA

    If you find the above formula to delete numbers overwhelming, we also have a VBA code which is relatively easier to use. Here, we will first create our own function using Excel’s Visual Basics tool. Then, use the function to eliminate the numbers from text strings.

    Before jumping into steps, check if you have the Developer tab in your Sheet. If there isn’t, you’d have to load them from the Options menu.

    1. Click Visual Basic from the Developer Tab.
      Click Visual Basic from the Developer Tab
    2. On Microsoft Visual Basic for Applications, click Insert > Module.
      On Microsoft Visual Basic for Applications, click Insert-Module
    3. Then, on the empty field, paste the given code.
    Function Remove_Number(Text As String) As String
    With CreateObject("VBScript.RegExp")
    .Global = True
    .Pattern = "[0-9]"
    Remove_Number = .Replace(Text, "")
    End With
    End Function
    1. Hit the Save button on the VBA window.
      Hit the Save button on the VBA window 
    2. Now, on a new cell, enter the formula as =Remove_Number(A1).
      on a new cell, enter the formula as =Remove_Number(A1)
    3. Extend the flash-fill icon to fill the rest of the cells.
      Extend the flash-fill icon to fill the rest of the cells.  
    Excel Basics Formula
    Nisha Gurung

      As a Business Student, Nisha first used Excel to outline data trends for her college projects. Later, she started exploring basic Excel functions when she realized it is a powerful tool for all businesses today. Nisha believes she can relate to many of the issues users face when starting their Excel Journey. She uses this knowledge and experience to curate contents that are fit for all types of Excel users. Apart from writing, she enjoys reading books and traveling.

      Related Posts

      Excel By Nisha Gurung

      How to Compare Two Columns in Excel Using VLOOKUP

      Excel By Nisha Gurung

      How to Share Excel Files with Multiple Users

      Excel By Nisha Gurung

      How to Filter Based on a List in Excel

      Add A Comment
      Table of ContentsToggle Table of ContentToggle
      • Using Flash-Fill
      • Using Find and Replace
      • Using Text to Columns
      • Using Formula
      • Using VBA
      • Home
      • About Us
      • Privacy Policy
      © 2025 Inside The Web

      Type above and press Enter to search. Press Esc to cancel.