+ Reply to Thread
Results 1 to 7 of 7

Search Alphabet and remove preceding numbers from a cell

  1. #1
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2019
    Posts
    430

    Search Alphabet and remove preceding numbers from a cell

    Hi,

    I have few numbers containing alpha-numeric value.

    Need a formula to get the result (as per the given example) i.e. to Search the Alphabet and get the result (by removing the preceding numbers)

    Ex:

    Data = Result (Required)
    1F1 = F1
    12W2 = W2
    1000F12 = F12
    5000W51 = W51

    Pl. help.

    Thanks,
    Nagesh.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Search Alphabet and remove preceding numbers from a cell

    I wonder if there's a shorter way?

    =RIGHT(A1,LEN(A1)+1-MATCH(TRUE,ISERROR(VALUE(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))),0))

    Array formula, use Ctrl-Shift-Enter
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Search Alphabet and remove preceding numbers from a cell

    Put into B1 (if your data start on A1):

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    accept with Ctrl+Shift+Enter

    p.s. 10 characters shorter as formula len :-)
    Last edited by KOKOSEK; 02-21-2019 at 08:58 AM.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Search Alphabet and remove preceding numbers from a cell

    If there are always two letters W or F try this
    Enter formula in B1 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B
    1 1F1 F1
    2 12W2 W2
    3 1000F12 F12
    4 5000W51 W51
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Search Alphabet and remove preceding numbers from a cell

    Quote Originally Posted by AlKey View Post
    If there are always two letters W or F
    It could be so easy, however.......

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Search Alphabet and remove preceding numbers from a cell

    Another one

    =MID(A1,LEN(LOOKUP(,-LEFT(A1,ROW(A$1:A$99)))),99)

  7. #7
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2019
    Posts
    430

    Re: Search Alphabet and remove preceding numbers from a cell

    Thanks a Ton to Special-K, KOKOSEK, AlKey, Bo_Ry.

    Since there are always two letters i.e. F & W in my data, applied AlKey formula as Array formula take longer time to process (since the formula to be applied to thousands of cells).

    Anyhow thanks everyone.

+ 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] Remove preceding data from cells
    By zudecke in forum Excel General
    Replies: 4
    Last Post: 03-21-2018, 08:29 AM
  2. [SOLVED] Remove preceding spaces in column?
    By nobodyukno in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-02-2018, 02:35 PM
  3. SUM numbers from a single cell based on preceding text
    By richardj in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-26-2016, 11:24 AM
  4. Replies: 3
    Last Post: 11-11-2014, 03:09 PM
  5. Macro to remove characters preceding text descriptions
    By agent.orange in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-19-2014, 06:32 AM
  6. Replies: 2
    Last Post: 07-26-2005, 03:05 AM

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