+ Reply to Thread
Results 1 to 18 of 18

EXTRACTING the first four consecutive numbers and placing them in another cell?

Hybrid View

  1. #1
    Registered User
    Join Date
    07-21-2004
    Posts
    66

    EXTRACTING the first four consecutive numbers and placing them in another cell?

    Basically, column C is the tricky one. It comes from the bank and somewhere in there is a 4-digit tenant reference. I did a formula to try and isloate it and it worked on most but if you look at the very first row, there is a spurious 99 in there, so it didn't work. Is there a way of EXTRACTING the first four consecutive numbers and placing them in another cell?
    Thanks
    Robo
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: EXTRACTING the first four consecutive numbers and placing them in another cell?

    Are you able to install morefunc.xll ? This would allow you to use the Regex functions without need for a) UDF or b) complex formulae, eg using the morefunc REGEX.MID function:

    H2: =REGEX.MID(A1,("[0-9]{4})")
    copied down

    Let us know...

    re: morefunc:

    Info: http://xcell05.free.fr/morefunc/english/
    download: http://download.cnet.com/Morefunc/30...-10423159.html

  3. #3
    Registered User
    Join Date
    07-21-2004
    Posts
    66

    Re: EXTRACTING the first four consecutive numbers and placing them in another cell?

    Hi
    No, our it dept wouldnt allow!

    Robo

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: EXTRACTING the first four consecutive numbers and placing them in another cell?

    Hmmm... "computer says no" ... are you able to use VBA at all ?

  5. #5
    Registered User
    Join Date
    07-21-2004
    Posts
    66

    Re: EXTRACTING the first four consecutive numbers and placing them in another cell?

    Yes we can

  6. #6
    Registered User
    Join Date
    07-21-2004
    Posts
    66

    Re: EXTRACTING the first four consecutive numbers and placing them in another cell?

    what is morefunc.xll?

+ 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