+ Reply to Thread
Results 1 to 3 of 3

Extract Numbers from Cell if Number is 3 or 4 digits in access programming

  1. #1
    Registered User
    Join Date
    05-09-2016
    Location
    uae
    MS-Off Ver
    2010
    Posts
    21

    Extract Numbers from Cell if Number is 3 or 4 digits in access programming

    Dear All

    Need your support. I want to extract Number from a cell if that number is 3 or 4 digits. I want to do it in access using sql so that i can call this function in my query.

    For example

    DUM_NS_3808_38081_F5_A
    BLK_DUM_NS_0512_05122_F6_A

    The Output should be
    3808
    512

    Many Thanks

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

    Re: Extract Numbers from Cell if Number is 3 or 4 digits in access programming

    Enter formula in B1 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B
    1 DUM_NS_3808_38081_F5_A 3808
    2 BLK_DUM_NS_0512_05122_F6_A 512
    Or this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by AlKey; 01-20-2017 at 12:47 PM.
    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

  3. #3
    Registered User
    Join Date
    05-09-2016
    Location
    uae
    MS-Off Ver
    2010
    Posts
    21

    Re: Extract Numbers from Cell if Number is 3 or 4 digits in access programming

    Thanks. Any idea how to do the same in access using sql.

+ 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