+ Reply to Thread
Results 1 to 4 of 4

finding a partial series of numbers within a number

  1. #1
    Registered User
    Join Date
    02-22-2013
    Location
    brisbane, australia
    MS-Off Ver
    Excel 2013
    Posts
    91

    finding a partial series of numbers within a number

    Hi, I have a column of numbers with 6 digits in Column A. In B1 I input a 3 digit number. I want to find out if the 3 digit number that I enter appears anywhere within the 6 numbers. With the example below using the Match function I would hope to get row 4 as the answer. I tried the Match function e.g. =Match("*"B1&"*",A1:a4,1) but get N/A. Is this possible?

    col A........col B
    122456....234
    383743
    923437
    812231

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,409

    Re: finding a partial series of numbers within a number

    Maybe this array formula works:
    =INDEX(A1:A4,MATCH(TRUE,ISNUMBER(SEARCH(B1,A1:A4)),0))
    Confirmed with Ctrl-shift-enter
    Quang PT

  3. #3
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: finding a partial series of numbers within a number

    =INDEX(A1:A4,MATCH("*"&B1&"*",A1:A4&"",0))
    Array formula Confirm Control+shift+Enter
    Last edited by RobertMika; 02-05-2014 at 06:09 AM.
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  4. #4
    Registered User
    Join Date
    02-22-2013
    Location
    brisbane, australia
    MS-Off Ver
    Excel 2013
    Posts
    91

    Re: finding a partial series of numbers within a number

    Thank you RobertMika and Bebo021999. Both formulas worked great... Will practice them.

+ 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. finding number series in an array
    By kman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-07-2013, 08:53 PM
  2. Finding Median in Series of Numbers for Specific Records
    By vinaykam82 in forum Excel General
    Replies: 3
    Last Post: 12-04-2011, 04:02 PM
  3. Finding the next real number in a series
    By bearlieve in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-01-2011, 02:47 PM
  4. Finding the internal index number of a Chart Series.
    By Phil Outram in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-04-2008, 04:19 PM
  5. Finding the point at which a series of numbers crosses zero, or not
    By ElTerrible in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-18-2008, 10:15 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