+ Reply to Thread
Results 1 to 2 of 2

Index Match (wrong result)

  1. #1
    Forum Contributor
    Join Date
    01-26-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    311

    Index Match (wrong result)

    Just wondered why 258 is being returned in C2. The answer I am looking for is 58 (first "YES" after 100)

    Somehow it's linked to 58

    Thanks

    Mdn
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,169

    Re: Index Match (wrong result)

    Try

    =INDEX($D$1:$KQ$1,MATCH("YES",(INDEX(D2:KQ2,MATCH(A1,$D$1:$KQ$1,0)):INDEX(D2:KQ2,MATCH(B1,$D$1:$KQ$1,0))),0)+(300-$A$1))

    Your highlighted MATCH returns the position relative to the sub-set created by the INDEX statements (43 in this case) so INDEX($D$1:$KQ$1 will find the 43rd value from D1 i.e 258. You need to add the OFFSET (300-A1) to get position relative to D1.

    Make sense?
    Last edited by JohnTopley; 04-18-2018 at 04:23 PM.

+ 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. Index/Match wrong?
    By Lugashz in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 07-25-2017, 10:09 AM
  2. [SOLVED] Index formula #Num! error and cell displays wrong result
    By eulerlagrange in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-08-2016, 04:14 PM
  3. [SOLVED] Index/Match wrong result
    By spinkung in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-14-2015, 05:20 AM
  4. [SOLVED] Row and column match? (IF INDEX MATCH) What am I doing wrong.
    By Noop1887 in forum Excel General
    Replies: 2
    Last Post: 01-04-2015, 09:16 AM
  5. [SOLVED] Index/Match result should again search for zero result
    By ursanil in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-07-2014, 04:45 AM
  6. Wrong result displaying using IFERROR-INDEX-MATCH-ROW Formula
    By paradise2sr in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-16-2013, 01:03 PM
  7. [SOLVED] Index and Match combination producing the wrong result
    By Authentik8 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-10-2012, 11:01 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