+ Reply to Thread
Results 1 to 9 of 9

Return only numbers directly after specific substring

Hybrid View

  1. #1
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Return only numbers directly after specific substring

    Hi Alkey
    I tested your formula and it seems to me that is not correct. Can you test again?
    I test another array formula that is too short
    Formula: copy to clipboard
    =MAX(IFERROR(MID(A1,FIND("RX",A1)+2,{4,3,2,1})*{1,1,1,1},0))

    Best regards

  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: Return only numbers directly after specific substring

    Quote Originally Posted by José Augusto View Post
    Hi Alkey
    I tested your formula and it seems to me that is not correct. Can you test again?
    I test another array formula that is too short
    Formula: copy to clipboard
    =MAX(IFERROR(MID(A1,FIND("RX",A1)+2,{4,3,2,1})*{1,1,1,1},0))

    Best regards
    Why would it be not correct? The results are fine

    Data Range
    A
    B
    1
    12354165RX1595
    1595
    2
    165163546RX15_G_B
    15
    3
    165163546RX1235_G_B
    1235
    4
    165163546RX1525_G_B
    1525
    5
    165163546RX19
    19
    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

+ 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. [SOLVED] Search substring and return adjacent value
    By uberathlete in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-02-2015, 07:06 PM
  2. Match Substring to another column and return value
    By JLeague in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-24-2015, 03:34 PM
  3. Add substring to specific conditions
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-08-2015, 05:08 AM
  4. Replies: 3
    Last Post: 09-07-2014, 12:25 AM
  5. If contains specific numbers then return a sum.....
    By Kesa Anne in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-31-2013, 02:01 PM
  6. Search string for substring...return match
    By Gambinus in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-21-2012, 03:18 PM
  7. Searching a String for a Specific Substring
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 08-23-2005, 04:05 AM

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