+ Reply to Thread
Results 1 to 2 of 2

Find text in vertical colum and go across to find value

  1. #1
    Registered User
    Join Date
    06-26-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    16

    Find text in vertical colum and go across to find value

    I am making a score sheet for high school gymnastics and I need it to find a gymnast's name and return their score on a specific event. The following explanation is going along with my attached table so it may be easier to look at the table to understand what needs to happen.

    When a gymnast (Let's say B) competes in all four events (Vault, bars, beam, and floor), they are recorded in the table at the bottom of the score sheet. Their name goes in the AA column, and their corresponding scores for each event go in the rows (So B got a 8.5 on vault, 6.625 on bars, 7.6 on beam, and a 8.1 on floor. Each of these numbers go into the cells in the appropriate column).
    I already have the AA column formula which looks at all of the events and determines if a gymnast has competed in all four. However I am having trouble creating the formula that subsequently finds the gymnast's row in the event and returning the value of their average for that particular event.

    I already tried to create a formula that uses index and match but it only seems to work sometimes. I left the formula in in case it helps you out.

    Lastly, I have named ranges. Here are the corresponding ranges:
    vaulth: B5:B14
    barh: B17:B21
    beamh: B25:B29
    floorh: B33:B37

    Can anyone make me a formula that would do this? If you aren't sure of what I'm asking I will be more than happy to explain more. 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: Find text in vertical colum and go across to find value

    The default value in a MATCH for match-type (exact match, less than, greater than) is 1 (less than)
    to find an exact match you need to insert ,0 after after the table name
    e.g. in E46

    =IF($B46="","",INDEX($F$25:$F$29,MATCH($B46,beamh)))
    produces 8.450

    =IF($B46="","",INDEX($F$25:$F$29,MATCH($B46,beamh,0)))
    produces 7.975, the correct value
    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.

+ 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