+ 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
    Posts
    8,903

    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)

Similar Threads

  1. Replies: 3
    Last Post: 01-19-2017, 03:18 PM
  2. [SOLVED] Extract unique digits within number
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-24-2016, 05:29 AM
  3. Replies: 14
    Last Post: 03-08-2014, 03:25 PM
  4. 5 digits number extract
    By lukasz_rz in forum Excel General
    Replies: 0
    Last Post: 10-18-2013, 04:53 AM
  5. [SOLVED] Access 2010 criteria to seek last 4 digits of 6 digit number
    By alcharbonneau in forum Access Tables & Databases
    Replies: 10
    Last Post: 10-11-2012, 10:16 AM
  6. [SOLVED] Extract all numbers from a cell to different cols for each number
    By nurulosman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-25-2012, 07:16 AM
  7. Replies: 11
    Last Post: 11-16-2011, 12:56 PM

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