+ Reply to Thread
Results 1 to 5 of 5

Excel 2016: Trouble with Match Function

  1. #1
    Registered User
    Join Date
    10-24-2017
    Location
    Omaha, NE
    MS-Off Ver
    Excel 2010
    Posts
    25

    Excel 2016: Trouble with Match Function

    I have used the match function to populate the description labels for a series of data I am ranking which works well, until two of the values are exactly the same, then I get the same description for both values. Please reference the two yellow highlighted cells in the attachment.
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Excel 2016: Trouble with Match Function

    maybe try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

  3. #3
    Forum Expert
    Join Date
    10-02-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    1,222

    Re: Excel 2016: Trouble with Match Function

    Not sure what you are trying to accomplish but I think part of the problem may be your concept of how INDEX and MATCH work (likely more so MATCH).

    INDEX returns the value at an intersection of a row and column relative to a range you pass to INDEX. That is to say in a range like B2:G6, B2's index (row/column) would be 1,1. F5 would be 4,5. etc.

    The second argument of INDEX is what row to look at. Using match in this fashion is generally done to find a unique entry in a column (going down the rows in a column) and return its relative row in the range. Note "unique" as match stops at the first match it find in a range.

    The 3rd argument is the column to look in. Again match is typically used to find a unique entry across columns (like headers) to return which column INDEX uses. Again, match stopping at the first match it finds.

    So your 3rd argument makes no sense.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This will always match the first cell in the range...B3 will always = B3 (itself).

    Maybe if you describe what results you expect we can give a better answer for how to reach your goal.
    Ways to get help: Post clear questions, explain your overall goal, supply as much background as possible, respond to questions asked of you by those trying to help and post sample(s) files.

    "I am here to help, not do it for people" -Me

  4. #4
    Registered User
    Join Date
    10-24-2017
    Location
    Omaha, NE
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: Excel 2016: Trouble with Match Function

    Thank you for trying to help me figure this out. I am indeed new to match and index. What I am trying to do is in Column F rank the values from Column D smallest to largest. Then in Column G identify the data label from Column B that is associated with each of the values in Column F. When I am done each value from Columns B and D should appear in Columns F and G, just in a new ranked order.

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,572

    Re: Excel 2016: Trouble with Match Function

    I believe the following array entered formula* will produce the order of 'Drivers' that you are expecting:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    *1) Select cell G3,
    2) Paste the formula into the formula bar,
    3) Simultaneously press the Ctrl, Shift and Enter keys,
    4) Drag the fill handle down to cell G6.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. MATCH function does not work in EXCEL 2016
    By nazaninibb in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-14-2017, 01:52 AM
  2. Replies: 1
    Last Post: 09-18-2017, 08:27 AM
  3. I'm having trouble getting all files from a folder in excel for mac 2016
    By Setheroth in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-18-2016, 07:24 AM
  4. [SOLVED] match function trouble
    By 9599lorenzo in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-04-2016, 09:34 AM
  5. Replies: 1
    Last Post: 06-10-2015, 12:56 PM
  6. Index,match function trouble with formula
    By tuckerbunch in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-01-2013, 06:25 PM
  7. INDEX(...MATCH(IF...))) Function trouble
    By reaper_2 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-25-2011, 02:19 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