+ Reply to Thread
Results 1 to 4 of 4

#Ref error with formula using Index & 2 matches

  1. #1
    Forum Contributor
    Join Date
    05-08-2015
    Location
    Asheville NC
    MS-Off Ver
    Excel for Office 365 MSO
    Posts
    111

    #Ref error with formula using Index & 2 matches

    I have a spread sheet where I am trying to use a index and 2 matches to return data from another cell. I keep getting a # ref error and don't understand why. I've tried changing the values to General, text, numbers and still can't figure it out.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: #Ref error with formula using Index & 2 matches

    The second MATCH function is to return a Column reference to INDEX, not a Row reference. The formula in H9 doesn't work correctly either, it just gives the correct result by chance.

    To return the row where multiple columns match, you need a different approach, for example

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

  3. #3
    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,464

    Re: #Ref error with formula using Index & 2 matches

    One way:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    committed with Ctrl-Shift-Enter rather than just Enter
    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


  4. #4
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: #Ref error with formula using Index & 2 matches

    try into H9:

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

    accept with Ctrl+Shift+Enter and drag it down
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

+ 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. Replies: 2
    Last Post: 01-22-2016, 06:30 AM
  2. Need Advice on Formula Index+Match (Multiple Matches) + IF
    By cychua in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-05-2013, 05:08 AM
  3. [SOLVED] INDEX MATCH array formula that matches substring n gives multiple matches
    By bkwins in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-12-2013, 04:57 AM
  4. Replies: 7
    Last Post: 04-11-2013, 12:46 AM
  5. [SOLVED] Index Formula with Multiple Matches
    By amyj22x3 in forum Excel General
    Replies: 6
    Last Post: 12-11-2012, 10:48 AM
  6. Replies: 4
    Last Post: 07-18-2012, 02:34 PM
  7. Excel 2007 : Index Formula and Four Matches
    By papgar in forum Excel General
    Replies: 11
    Last Post: 01-24-2011, 12:55 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