+ Reply to Thread
Results 1 to 6 of 6

Problem with index/match formula - not returning expected results

  1. #1
    Registered User
    Join Date
    06-10-2010
    Location
    Newcastle Australie
    MS-Off Ver
    Excel 2007
    Posts
    10

    Problem with index/match formula - not returning expected results

    Good Day all,

    I have been attempting to build an index/match formula to transfer data from one excel sheet to another.
    However, the formula I am using is not returning the expected results.

    I have 2 sheets (TheCompetitors and TheQualifications).
    The Competitors sheet lists 12 competitors (1 to 12) in cells A1 to A13, and The Status of these competitors in B1 to B13. (a numerical number, from 1 to 50).

    I want the details of the status column in TheCompetitors sheet to be updated into TheQualifications sheet (in Cells C4 to C15).

    In TheQualifications sheet, I have inputed the following formula into cells C4 to C15, however, I am not getting the correct results.

    The formula is: =INDEX(TheCompetitors!$A$2:$A$11,MATCH(B4,TheCompetitors!$B$2:$B$11,0)+0,0)))

    Cells B4 to B15 lists the competitors Number in best to worst order.

    I know this request is very cryptic, however, I don't have the expertise to insert an image or a spreadsheet.. I apologise for my lack of expertise.


    Any assistance will be very much appreciated.

    Kind Regards..gsdanger

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,913

    Re: Problem with index/match formula - not returning expected results

    =INDEX(TheCompetitors!$A$2:$A$11,MATCH(B4,TheCompetitors!$B$2:$B$11,0)+0,0)))
    Last 2 Brackets will not accept the systems, I did not understand how it accepted

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    06-10-2010
    Location
    Newcastle Australie
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Problem with index/match formula - not returning expected results

    Good Day nflsales,

    Thank you for your prompt response.
    Firstly, the formula I typed in my original post should have read : =IF(B4="","",INDEX(TheCompetitors!$A$2:$A$11,MATCH(B4,TheCompetitors!$B$2:$B$11,0)+0,0))
    I have attached an example spreadsheet (small). Hopefully this will clarify what I am trying to do.
    Kind Regards..gsdanger
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Problem with index/match formula - not returning expected results

    1. I dont agree with some of the "answers" you have in col C. I used this...
    =INDEX(TheCompetitors!$B$2:$B$13,MATCH(TheQualifications!B4,TheCompetitors!$A$2:$A$13,0))
    copied down.

    2. Instead of that messy IF statement to get the Status, consider this approach...
    A. modify your table to look something like this...
    N
    O
    4
    1
    Qualified
    5
    5
    Pending
    6
    13
    To Be Assessed
    7
    50
    Ineligible

    Note that I used the lower value for each range.
    Then use this to get the status...
    =VLOOKUP(C4,$N$4:$O$7,2,1)
    copied down
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    06-10-2010
    Location
    Newcastle Australie
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Problem with index/match formula - not returning expected results

    Thanks Ford for your input.
    I used the formula and it worked just fine...Thanks. I also took you suggestion and used the vlookup option rather than the clunky if statements.
    That work a treat also.

    Thank you for you assistance. I appreciate it very much.

    I will now close this thread as I consider a solution has been found.

    Kind Regards..
    gsdanger

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Problem with index/match formula - not returning expected results

    Happy to help

+ 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] array formula index and match not delivering expected results for certain rows
    By JEAN1972 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 12-27-2017, 07:09 AM
  2. [SOLVED] INDEX MATCH formula not returning expected result
    By lukela85 in forum Excel General
    Replies: 4
    Last Post: 12-18-2017, 11:23 AM
  3. [SOLVED] Problem with a simple Index Match formula returning inconsistent results
    By SueBristow in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-20-2017, 06:44 AM
  4. Replies: 12
    Last Post: 05-19-2016, 11:08 PM
  5. Formula not returning expected results
    By Mlabrec in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-07-2016, 08:08 PM
  6. [SOLVED] Index Match formula not returning correct results
    By JennOlsen in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-30-2015, 02:59 PM
  7. [SOLVED] Not getting expected results from index match match
    By number1mm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-25-2013, 03:56 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