+ Reply to Thread
Results 1 to 3 of 3

Match two set of numbers to return matched numbers that are in sequence

  1. #1
    Registered User
    Join Date
    05-04-2018
    Location
    Hong Kong
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    69

    Match two set of numbers to return matched numbers that are in sequence

    Dear Sir
    We have a set of specific numbers that are arranged in sequence.
    We want to match these numbers against a 2nd data set to find out the number of matched numbers that are in sequential order.
    Please refer to the Excel file for illustration.
    Can you help?
    Thank you very much!
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Match two set of numbers to return matched numbers that are in sequence

    Please try at
    H17
    =MAX(FREQUENCY(C5:C13,IF(COUNTIF(F5:H13,C5:C13)=0,C5:C13)))-1

    H22
    =INDEX(C5:C13,MATCH(1,FREQUENCY(0,1/(FREQUENCY(-C5:C13,IF(COUNTIF(F5:H13,C5:C13)=0,-C5:C13,-1))+1)),))

    H26
    =INDEX(C5:C13,MATCH(1,FREQUENCY(0,1/(FREQUENCY(C5:C13,IF(COUNTIF(F5:H13,C5:C13)=0,C5:C13,-1))+1)),))

    Ctrl+Shift+Enter
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    05-04-2018
    Location
    Hong Kong
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    69

    Re: Match two set of numbers to return matched numbers that are in sequence

    Thank you very much.
    Last edited by lamlam28; 06-04-2021 at 04:51 AM.

+ 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] Using Index, Match and Match and return the value between two numbers
    By dagindi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-22-2021, 02:47 PM
  2. [SOLVED] Separate sequence of numbers with sequence of letters
    By dell001 in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 07-02-2020, 07:09 AM
  3. [SOLVED] INDEX / MATCH - Add up multiple matched numbers
    By Fish55 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-14-2020, 11:42 AM
  4. How to convert a range of numbers to sequence of numbers in an array
    By MetisConnect in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-25-2015, 11:53 AM
  5. Replies: 3
    Last Post: 08-20-2013, 03:59 AM
  6. [SOLVED] Search Group of Numbers in Cel Rangel and Highligh matched numbers.
    By david gonzalez in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-24-2013, 01:07 AM
  7. [SOLVED] Random numbers but 3 numbers in sequence not allowed.
    By NewGen in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 07-31-2012, 07:51 AM

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