+ Reply to Thread
Results 1 to 10 of 10

How to remove numbers in the front

Hybrid View

  1. #1
    Registered User
    Join Date
    09-13-2022
    Location
    Malaysia
    MS-Off Ver
    2013
    Posts
    8

    How to remove numbers in the front

    i have a document files like this, and i suspect that there will be many duplication with similar context but different number in front of the text.

    1.INTRODUCTION
    1.1.This RFP/Tender is to call for the supply, xxxx
    1.2.It shall be in the interest xxx
    1.3.Proposals/offers received directly xxxx
    1.4.The bidder shall submit system xxx
    2.SCOPE OF WORK
    2.1.The bidder shall xxxx
    2.1.1.The offered solution must xxxxxx 500k license

    Hi, can you provide me a formula to remove ONLY the numbers in the front so that the first letter in the cell always start with TEXT, and whatever numbers is in the middle of the text shall remain.

    Expecting Results:

    INTRODUCTION
    This RFP/Tender is to call for the supply, xxxx
    It shall be in the interest xxx
    Proposals/offers received directly xxxx
    The bidder shall submit system xxx
    SCOPE OF WORK
    The bidder shall xxxx
    The offered solution must xxxxxx 500k license
    Attached Files Attached Files
    Last edited by callmeyewgor; 07-04-2023 at 11:26 PM.

  2. #2
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,420

    Re: How to remove numbers in the front

    Here is one way to do it...

    Formula: copy to clipboard
    =MID(A1,MIN(IF(ISNUMBER(FIND(MID(A1,ROW($1:$99),1),"ABCDEFGHIJKLMNOPQRSTUVWXYZ")),ROW($1:$99))),99)

    NOTE: I don't have your version of Excel, so I cannot test it, but if it doesn't work directly, then click in the formula bar and press CTRL+SHIFT+ENTER and see if that makes it work.

  3. #3
    Registered User
    Join Date
    09-13-2022
    Location
    Malaysia
    MS-Off Ver
    2013
    Posts
    8

    Re: How to remove numbers in the front

    Attachment 835340

    I am sorry I can't share you the document
    Thank you for the reply, but it seems like it doesn't work

  4. #4
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,861

    Re: How to remove numbers in the front

    If you're still on 2013, you can try this (Where your data starts in cell A1):

    =RIGHT(A1,LEN(A1)-MIN(IFERROR(SEARCH({"a","b","c","d","e","f","g","h","I","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"},A1),""))+1)

    I think you'll have to enter this as an Array formula, meaning instead of hitting ENTER after you put in the formula, you would hit Shift,Ctrl,Enter.

    If you're on 365 now, there are probably other ways.

    Also, in your example, your text always starts after a period. Is that always the case? If so, AND if you're on MS365, you could do this:

    =TEXTAFTER(A1,".",-1,0,1)

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: How to remove numbers in the front

    With text in A1

    Suppose there are no periods "." within the Text String.

    =TRIM(RIGHT(SUBSTITUTE(A1,".",REPT(" ",255)),255))

    Or, general

    =MID(A1,AGGREGATE(15,6,SEARCH(CHAR(ROW(65:90)),A1),1),255)
    Attached Images Attached Images
    Quang PT

  6. #6
    Registered User
    Join Date
    09-13-2022
    Location
    Malaysia
    MS-Off Ver
    2013
    Posts
    8

    Re: How to remove numbers in the front

    Quote Originally Posted by bebo021999 View Post

    Or, general

    =MID(A1,AGGREGATE(15,6,SEARCH(CHAR(ROW(65:90)),A1),1),255)
    this formula work quite well, i fixed the $65:$90, and work very pretty, thank you!!

  7. #7
    Registered User
    Join Date
    09-13-2022
    Location
    Malaysia
    MS-Off Ver
    2013
    Posts
    8

    Re: How to remove numbers in the front

    Hi all I have attached the testing file, please kindly have a look

  8. #8
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2021
    Posts
    5,931

    Re: How to remove numbers in the front

    Or try this

    =REPLACE(B3,1,IFERROR(AGGREGATE(15,6,FIND(CHAR(ROW($65:$90)),B3),1)-1,0),"")

  9. #9
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,420

    Re: How to remove numbers in the front

    I'm guessing my formula did not work for you because you did not adjust it for the actual location of your data. Assuming the file you attached in Message #1 shows the actual location of your data, then this formula (probably needing to be committed with CTRL+SHIFT+ENTER and not just Enter by itself) should work (all I did is change my assumed A1 starting cell to your actual starting cell of B3)...
    Formula: copy to clipboard
    =MID(B3,MIN(IF(ISNUMBER(FIND(MID(B3,ROW($1:$99),1),"ABCDEFGHIJKLMNOPQRSTUVWXYZ")),ROW($1:$99))),99)

  10. #10
    Registered User
    Join Date
    09-13-2022
    Location
    Malaysia
    MS-Off Ver
    2013
    Posts
    8

    Re: How to remove numbers in the front

    this formula work great!!!
    Last edited by AliGW; 07-05-2023 at 01:33 AM. Reason: Please do NOT quote unnecessarily!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Formula Remove slashes, insert X in front of first character and remove last to characters
    By Howardc1001 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-29-2020, 03:31 AM
  2. Remove Front Apostrophe (Text & Numbers)
    By CobraLAD in forum Tips and Tutorials
    Replies: 2
    Last Post: 03-01-2020, 01:01 PM
  3. Bring Numbers After Dash to Front, and Remove Them
    By psmoodey in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-04-2019, 08:07 AM
  4. [SOLVED] Infamous (') In Front Of Numbers & NEED To Remove
    By brian47374 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-22-2017, 01:14 AM
  5. Remove ' in front of values
    By horsefish01 in forum Excel General
    Replies: 3
    Last Post: 02-20-2016, 08:16 AM
  6. [SOLVED] remove front letters from numbers
    By cfinch100 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-21-2014, 05:13 PM
  7. How to remove a space in the front
    By gurp99 in forum Excel General
    Replies: 12
    Last Post: 01-30-2011, 05:21 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1