+ Reply to Thread
Results 1 to 5 of 5

Using MATCH with a table

  1. #1
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2010 on Linux
    Posts
    12,175

    Using MATCH with a table

    Hello,
    I have a table of numbers of, say 5 columns by 5 rows, located anywhere in a sheet.
    I need to find the table row number containing the largest value in the table

    Thanks for any help
    Last edited by Pepe Le Mokko; 02-13-2012 at 07:46 AM.

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016
    Posts
    3,349

    Re: Using MATCH with a table

    Hi,

    This array formula should give you the required info:

    =MIN(IF(A1:E5=MAX(A1:E5),ROW(A1:E5),""))

    confirm with CTRL,SHIFT and ENTER
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2010 on Linux
    Posts
    12,175

    Re: Using MATCH with a table

    Thanks for the formula Sweep

    Can it be adapted to return the table's row number , f.i. E11:I16 and give the row number in that table (from 1 to 5) ?

  4. #4
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016
    Posts
    3,349

    Re: Using MATCH with a table

    Yes,

    Still an array formula

    =MIN(IF(A1:E5=MAX(A1:E5),ROW(A1:E5),""))-MIN(ROW(A1:E5))+1

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2010 on Linux
    Posts
    12,175

    Re: Using MATCH with a table

    Wrks grate Sweep - Many Thx

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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