+ Reply to Thread
Results 1 to 6 of 6

Formula help needed for row and column title of high and low values

  1. #1
    Registered User
    Join Date
    01-24-2019
    Location
    Manchester, England
    MS-Off Ver
    365
    Posts
    8

    Formula help needed for row and column title of high and low values

    Hi I have some data which I want to find the corresponding team name and week number that a high score and low score was achieved.

    I've done a lot of searching online and found a solution which I can't re-create so I'm hoping there is a simpler way.

    I've attached an example below. I've filled the cells in Bold with the values I want to show.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Formula help needed for row and column title of high and low values

    What happens if there's a draw? It's very difficult to output several Teams with an equal score using a formula.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    01-24-2019
    Location
    Manchester, England
    MS-Off Ver
    365
    Posts
    8
    Quote Originally Posted by Special-K View Post
    What happens if there's a draw? It's very difficult to output several Teams with an equal score using a formula.
    With my real data it’s very very unlikely. I’ve simplified the numbers a lot for the example and in reality the values will be to 2 decimal places.

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

    Re: Formula help needed for row and column title of high and low values

    Please try
    E18
    =INDEX(A:A,MAX(INDEX((B$3:E$6=D18)*ROW($B$3:$E$6),)))

    F18
    =INDEX($2:$2,MAX(INDEX((B$3:E$6=D18)*COLUMN($B$3:$E$6),)))
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: Formula help needed for row and column title of high and low values

    for first team
    team name at E18 :
    INDEX($A$1:$A$6,SUMPRODUCT(($B$3:$E$6=D18)*ROW($B$3:$E$6)))
    week at F18 :
    INDEX($A$2:$E$2,SUMPRODUCT(($B$3:$E$6=D18)*COLUMN($B$3:$E$6)))

    for reserves
    team name at E20 :
    INDEX($A$1:$A$13,SUMPRODUCT(($A$10:$E$13=D20)*ROW($A$10:$E$13)))
    week at F20 :
    INDEX($A$9:$E$9,SUMPRODUCT(($B$10:$E$13=D20)*COLUMN($B$10:$E$13)))

    INDEX($A$2:$E$2,SUMPRODUCT(($B$3:$E$6=D18)*COLUMN($B$3:$E$6)))

  6. #6
    Registered User
    Join Date
    01-24-2019
    Location
    Manchester, England
    MS-Off Ver
    365
    Posts
    8

    Re: Formula help needed for row and column title of high and low values

    Many Thanks Bo and Ghozi

    Great answers.

    Defintely muhch simpler to understand.

+ 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] Sort columns A and B based on High to Low values in column B
    By tisahardknocklife in forum Excel General
    Replies: 1
    Last Post: 08-08-2018, 01:40 AM
  2. Replies: 2
    Last Post: 02-24-2017, 07:35 PM
  3. [SOLVED] Find high and low values of a column according to the values of another column.
    By Sarangsood in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-23-2014, 02:36 AM
  4. Formula needed for planning chart - hard to explain in title !
    By chrisnewton in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-02-2013, 05:47 AM
  5. Formula needed for If/then capturing Heading Title and Value
    By jstoler in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-02-2013, 08:03 AM
  6. Formula needed for referencing column values. IF, MATCH, VLookup?
    By Oil Depot in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-20-2013, 04:52 PM
  7. [SOLVED] Named range=Column title,comumn title in cellB6 use B6in equation
    By Graham in forum Excel General
    Replies: 2
    Last Post: 07-21-2006, 05:10 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