+ Reply to Thread
Results 1 to 7 of 7

Index Match across two sheets giving unexpected results

  1. #1
    Registered User
    Join Date
    05-17-2019
    Location
    Madison
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    13

    Index Match across two sheets giving unexpected results

    Hi,

    I'm having trouble figuring out what I'm doing wrong for an index match function. I've provided two dummy sheets so you can play with the issue yourself.

    The issue (I think) is in "Issues here (dummy).xlsx" column F. The formula I currently have in that column is:
    {=IF(E7="","",(IF(E7="source1", INDEX('[Master New Hire List (dummy).xlsx]Sheet2'!$H:$J,MATCH(1,('[Master New Hire List (dummy).xlsx]Sheet2'!$J:$J=C8)*('[Master New Hire List (dummy).xlsx]Sheet2'!$I:$I=B8),0),1),"Issues Here (dummy)")))}

    What that column is supposed to be doing is:
    1. Given that there is a known match for the first and last name of this row was found in the Master Hire list (indicated by nonblank E7), then
      For all source1→If there is an X in "Master New Hire List (dummy).xlsx" Column H, display an X, if there is not, throw a NA()
      For all Issues Here (dummy)→display Issues Here (dummy)

    The goal of this is to roughly help me verify that a name listed in "Master New Hire List (dummy).xlsx" under source1, which also appears in "Issues Here (dummy).xlsx", is denoted in "Master New Hire List (dummy).xlsx" column H by an X.

    What it's doing instead:
    • Sometimes working
    • Throwing a NA even when an X appears in "Master New Hire List (dummy).xlsx" column H
    • evaluating to 0 somehow

    Ex. where it's giving an unexpected result:
    • Issues here (dummy) row 67 & Master New Hire List (dummy) row 104
      • gives a zero for some reason


    Thanks .
    Attached Files Attached Files
    Last edited by Sprong; 05-30-2019 at 09:41 AM. Reason: General title->Specific Title

  2. #2
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Index Match Help

    Can you list at least a few specific cells in column-F that are giving incorrect answers, along with your expected results for those cells.

    One observation: Your formula for F7 is referencing B8 and C8. Is that correct or should it be B7 and C7 ??
    Geoff

    Did I help significantly? If you wish, click on * Add Reputation to say thanks.
    If your problem has been resolved please select ?Solved? from the Thread Tools menu

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: Index Match Help

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    05-17-2019
    Location
    Madison
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    13

    Re: Index Match Help

    Hi sorry,

    Is that a better title?
    Last edited by Sprong; 05-30-2019 at 11:47 AM.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: Index Match across two sheets giving unexpected results

    It will do, thanks.

  6. #6
    Registered User
    Join Date
    05-17-2019
    Location
    Madison
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    13

    Re: Index Match Help

    Quote Originally Posted by GeoffW283 View Post
    Can you list at least a few specific cells in column-F that are giving incorrect answers, along with your expected results for those cells.

    One observation: Your formula for F7 is referencing B8 and C8. Is that correct or should it be B7 and C7 ??
    Hi, yes, thank you for that. It's still giving me unexpected results however.

    Examples include:
    • Michele Brogunier; "Master New Hire List (dummy).xlsx" row 33 & "Issues Here (dummy).xlsx" row 27
      • "Master New Hire List (dummy).xlsx" H,33 is an "X" so, result in "Issues Here (dummy).xlsx" F,27 should be an X but instead evaluates to 0
    • Reem Almomani; "Master New Hire List (dummy).xlsx" row 54 & "Issues Here (dummy).xlsx" row 38
      • "Master New Hire List (dummy).xlsx" H,54 is an "X" so, result in "Issues Here (dummy).xlsx" F,38 should be an X but instead evaluates to 0
    • Deborah Marble; "Master New Hire List (dummy).xlsx" row 29 & "Issues Here (dummy).xlsx" row 30
      • "Master New Hire List (dummy).xlsx" H,29 is an "X" so, result in "Issues Here (dummy).xlsx" F,30 should be an X but instead evaluates to #N/A

  7. #7
    Registered User
    Join Date
    05-17-2019
    Location
    Madison
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    13

    Re: Index Match Help

    I just recreated my formula from scratch since it was giving so many errors. Thanks to everyone who took a look at this.

+ 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] INDEX+MATCH instead of VLOOKUP+MATCH, why is INDEX a better choice and how to re-write?
    By Renejorgensen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-23-2016, 10:54 AM
  2. [SOLVED] Index / Match - match 3 input values and return the results from the index
    By t83357 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2016, 07:34 PM
  3. [SOLVED] Match-Index in stead of Index-Match lookup Array among Arrays
    By Numnum in forum Excel General
    Replies: 2
    Last Post: 10-15-2015, 02:08 PM
  4. INDEX MATCH MATCH/OFFSET MATCH MATCH with named ranges
    By Andrew-Mark in forum Excel General
    Replies: 3
    Last Post: 02-27-2015, 10:56 PM
  5. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  6. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  7. Replies: 3
    Last Post: 05-02-2013, 01:31 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