+ Reply to Thread
Results 1 to 5 of 5

FInd and return next 10 characters

  1. #1
    Registered User
    Join Date
    09-11-2014
    Location
    US
    MS-Off Ver
    2010
    Posts
    4

    FInd and return next 10 characters

    can you please let me know how i can find and return the next 10 characters.
    For Example:
    I Have below text in a cell and i want to Find BUDAT and return 03/25/2011.
    0125BKPF-BLDAT03/25/2011BKPF-BLARTR2BKPF-BUKRSA000BKPF-BUDAT03/25/2011BKPF-WAERSUSDBKPF-XBLNR142399-52500BKPF-BKTXTLeg.WB Pmt-PID 506399BKDF-DBATR03/25/2012BKDF-BELNR91000190

    THanks.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,169

    Re: FInd and return next 10 characters

    Try

    =MID($A1,FIND("BUDAT",$A1)+5,10)


    Data in A1

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,720

    Re: FInd and return next 10 characters

    If your data is in A1, and "BUDAT" is in B1:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,000

    Re: FInd and return next 10 characters

    If it's a date... then maybe you should just add two - to it, and format as da date.

    =--MID($A1,FIND("BUDAT",$A1)+5,10)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Registered User
    Join Date
    09-11-2014
    Location
    US
    MS-Off Ver
    2010
    Posts
    4

    Re: FInd and return next 10 characters

    THanks JOHN, GLEN and 6stringjazzer for your help.

+ 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. Find characters in a cell containing characters and numbers
    By T86157 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-02-2016, 08:21 PM
  2. Excel Use Word to Find Text and return the following 10 characters
    By baggieade in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-11-2015, 07:45 AM
  3. [SOLVED] Find the last dot in an entry and return the characters after it
    By Hitch75 in forum Excel General
    Replies: 2
    Last Post: 07-17-2015, 07:03 AM
  4. Replies: 3
    Last Post: 03-11-2015, 03:25 PM
  5. return 4 characters usign find
    By 2001jesper in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-19-2013, 02:16 PM
  6. [SOLVED] In Excel find characters when multiple characters exist w/i a cel
    By teacher-deburg in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-05-2005, 06:25 PM
  7. [SOLVED] [SOLVED] Find/Replace carriage return & line feed characters in Excel.
    By Mary Cullen in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-04-2005, 04:06 PM

Tags for this Thread

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