+ Reply to Thread
Results 1 to 12 of 12

INDEX MATCH formula not working as expected

  1. #1
    Registered User
    Join Date
    08-16-2012
    Location
    Golden, CO
    MS-Off Ver
    MS Office 365
    Posts
    9

    INDEX MATCH formula not working as expected

    Good afternoon Excel experts, I am trying to use an index match formula that I have used numerous times in the past, but for some reason it is not working for this particular dataset. Can someone please take a look and tell me if I should be using an array formula? Or is that only used in calculations. Any and all guidance is appreciated on this one! See attached Example workbook.

    Sheet 1 contains the data I wish to match to Sheet 2 to pull back a matching cost center. I'm also attempting to do a nested match, and the formula structure I used is what I found online that was recommended. Thanks!
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: INDEX MATCH formula not working as expected

    Look at this tutorial for a multiple criteria match

    https://exceljet.net/formulas/index-...tiple-criteria
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    08-16-2012
    Location
    Golden, CO
    MS-Off Ver
    MS Office 365
    Posts
    9

    Re: INDEX MATCH formula not working as expected

    Thank you very much alansidman for your response. I know how to write an index match formula. As mentioned in my post, I've used the formula numerous times before. What I need help with is WHY is it not working on this particular (attached) dataset.

  4. #4
    Registered User
    Join Date
    08-16-2012
    Location
    Golden, CO
    MS-Off Ver
    MS Office 365
    Posts
    9

    Re: INDEX MATCH formula not working as expected

    And I've actually used this tutorial to figure out the multiple criteria match, but it's not working, or rather, I'm doing it wrong.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: INDEX MATCH formula not working as expected

    There's a couple of problems.

    The formula you have is the structure for returning data from a two-dimensional matrix. And the date you are searching for is a simple date but the column you are matching against contains dates and times.

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


    This works for most of the entries. Some may not have matching entries. You may have to commit the formula with Ctrl-Shift-Enter rather than just Enter.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  6. #6
    Registered User
    Join Date
    08-16-2012
    Location
    Golden, CO
    MS-Off Ver
    MS Office 365
    Posts
    9

    Re: INDEX MATCH formula not working as expected

    Hey thank you Trevor! That worked! I had to adjust the formula slightly, but that achieved the results I needed. Thanks so much for your expertise and guidance! Much appreciated. Cheers

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: INDEX MATCH formula not working as expected

    You're welcome.

    Are you still using 2007? If you have upgraded in the last 12 years, please update your profile.



    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  8. #8
    Registered User
    Join Date
    08-16-2012
    Location
    Golden, CO
    MS-Off Ver
    MS Office 365
    Posts
    9

    Re: INDEX MATCH formula not working as expected

    Lol, I actually tried to update that earlier today, but I kept receiving an error message when I tried editing that information ?? I'll try again. Thanks again for the help!

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: INDEX MATCH formula not working as expected

    Some alternatives:

    Old style, copied down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    365, copied down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    365, all in one (clear any previous results):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  10. #10
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: INDEX MATCH formula not working as expected

    Thanks for the rep.

  11. #11
    Registered User
    Join Date
    08-16-2012
    Location
    Golden, CO
    MS-Off Ver
    MS Office 365
    Posts
    9

    Re: INDEX MATCH formula not working as expected

    Thank YOU for the alternative formulae, this one, =FILTER(Sheet2!$C$2:$C$31,(Sheet1!A2=Sheet2!$B$2:$B$31)*(Sheet1!C2=INT(Sheet2!$A$2:$A$31)),"not found"), worked perfectly. Much appreciated! Cheers

  12. #12
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: INDEX MATCH formula not working as expected

    You're welcome.

+ 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] IFERROR Index and Match formula not returning expected result
    By Ron Purpura in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-03-2021, 03:52 PM
  2. Match Column formula not working as expected
    By Moggzy in forum Excel General
    Replies: 1
    Last Post: 09-20-2019, 04:04 AM
  3. [SOLVED] Problem with index/match formula - not returning expected results
    By gsdanger in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-16-2018, 12:50 AM
  4. [SOLVED] INDEX MATCH formula not returning expected result
    By lukela85 in forum Excel General
    Replies: 4
    Last Post: 12-18-2017, 11:23 AM
  5. [SOLVED] Index - Match formula not giving me an expected result
    By longbow007 in forum Excel General
    Replies: 5
    Last Post: 11-25-2015, 07:34 PM
  6. [SOLVED] Index/Match Formula is not updating as expected
    By tuph in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-15-2014, 11:21 PM
  7. Problem with INDEX/MATCH Functions... Not working as expected.
    By seimeion1208 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-30-2013, 10:26 AM

Tags for this Thread

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