+ Reply to Thread
Results 1 to 3 of 3

Finding Multiple Matches and their values

  1. #1
    Registered User
    Join Date
    10-03-2009
    Location
    Swansea,South Wales
    MS-Off Ver
    Excel 2003
    Posts
    8

    Finding Multiple Matches and their values

    Operating System - Windows 7 Home Premium 64 bit
    Excel Version - Excel 2007

    My problem concerns the uploaded file Functions Test .
    The functions tested include VLOOKUP, INDEX MATCH,COUNTIF and MAX.
    When I wish to familiarise myself with various functions I create suitable tables of numbers and try to apply the relevant formulae.
    Functions Test contains the following :-
    TABLE 1 on the extreme left has 30 rows each containing Lottery results.
    TABLE 2 contains the frequency of each number occurring in the whole of TABLE 1.
    VLOOKUP is used in this table to match each frequency to its appropriate number in TABLE 1 using the NUMBER - FRQUENCY table on the right of the file.
    TABLE 3 contains numbers in TABLE 1 which have the maximum frequency in a particular row . eg the numbers which have a maximum frequency in row one in TABLE 1
    are 12 and 34.
    As you can see I have used a formula using INDEX , MATCH and MAX to obtain these numbers with maximum frequency per row.
    Unfortunately only one of these numbers is shown for each row.
    Is there any formula sequence which will display all numbers in a row with maximum frequency and arrange these values in a row (not a column) ?
    Many forums suggest suitable answers but arranging the results in columns not rows.
    I hope I have made my problem clear enough .
    Please advise.
    Regards
    EFlynn
    Attached Files Attached Files
    Last edited by FLYNNE; 11-13-2016 at 05:51 AM. Reason: Windows and Excel Versions omitted

  2. #2
    Forum Contributor
    Join Date
    11-21-2015
    Location
    Philippines
    MS-Off Ver
    Microsoft Office 2016
    Posts
    146

    Re: Finding Multiple Matches and their values

    PHP Code: 
    z1=lookup(2,1/((large($s1:$w1*1000-column($s1:$w1),column(a1)))=$s1:$w1*1000-column($s1:$w1)),$l1:$p1
    Attached Files Attached Files
    Last edited by tamthat; 11-13-2016 at 09:18 PM.

  3. #3
    Registered User
    Join Date
    10-03-2009
    Location
    Swansea,South Wales
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Finding Multiple Matches and their values

    Hello Tamthat

    Thank you very much for your ingenious answer - it readily solves my problem.

    I am intrigued by your formula.

    Could you possibly explain how the formula operates and why 1000 is used ?

    In cell Z1 the formula refers to COLUMN (A1) - A1 is usually a cell reference but in my worksheet A1 is blank and is hidden.

    Thanks once again - I much appreciate it.

    Regards

    Flynne

+ 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. Index-Match function not finding matches with newly pasted values
    By murp5972 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-04-2015, 03:44 PM
  2. Finding Rows with Multiple Cell Matches Between Two Data Sets
    By jmac1947 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-20-2014, 04:02 PM
  3. Replies: 2
    Last Post: 03-03-2014, 10:03 PM
  4. [SOLVED] Finding Matches With Multiple Return Values
    By ajulian in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-27-2013, 11:20 AM
  5. Finding Max in Lookup Table with Multiple Matches
    By Rozay in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-12-2013, 06:11 PM
  6. [SOLVED] Finding multiple matches of a single input across multiple rows and columns
    By gingerdog in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-07-2012, 02:54 PM
  7. Finding Multiple matches in same column
    By jerry8989 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-15-2008, 02:26 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