+ Reply to Thread
Results 1 to 10 of 10

Extract Numbers and prefix letter

Hybrid View

  1. #1
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Extract Numbers and prefix letter

    I don't know what your last post was, but looking at your requirements here it seems that there is no consisyency to what you want, numbers are not in the same place within the string, varying lengths etc.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  2. #2
    Registered User
    Join Date
    12-07-2005
    Posts
    72

    Re: Extract Numbers and prefix letter

    Roy & Conne,

    Thanks for your responses. Attached is the revised file saved with excel format supporting from 97-2003.
    Yes, there is a variation. My ultimate goal is to do a sumif of Qty received on the inventory sheet (plz see two new sheets now inserted), so if you can suggest some other way to sumif then i dont need to exract the item numbers. please help

    thanks
    sd
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    12-07-2005
    Posts
    72

    Re: Extract Numbers and prefix letter

    Roy,

    I copy pasted one of the formula i found on the forum. Although it does not do completely what i want but extracts all numerics before the "/". For example for original cell value "SGA:RV-SVA:PEPPERS/PEPPERONCINI:SV9176001/232034", the formula extracts - "9176001" & it can go upto 10 digits in that segment. Can you think of modifying this formula to pull the letters before 917 & numbers after and with "/" sign? The formula is -
    =LOOKUP(9.999999999E+307,--("0"&MID(A3,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A3&"0 123456789")),ROW($1:$30))))+IF(ISNUMBER(SEARCH("½",A3)),0.1,0)
    Please let me know.

    Thanks
    Sanjay

  4. #4
    Registered User
    Join Date
    12-07-2005
    Posts
    72

    Re: Extract Numbers and prefix letter

    it should ideally show = "SV29176001045/232034"

    Thanks
    Sanjay

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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