+ Reply to Thread
Results 1 to 9 of 9

Formula to find the intersection of two indices

  1. #1
    Registered User
    Join Date
    07-18-2018
    Location
    Warwick
    MS-Off Ver
    2016
    Posts
    3

    Formula to find the intersection of two indices

    I am using the following =IF(EQ$4="","",(INDEX('Trainer List'!$A$1:$MS$93,MATCH($A99,'Trainer List'!$E$1:$MS$1,0),MATCH(EQ$4,'Trainer List'!$A$1:$A$95,0)))) in order to deliver the cell value of two interescting lists. For some reason, the formula has stopped working after 99 repetitions returning a #REF! result. The forumla above works, however this one doesn't and returns the #REF! =IF(EQ$4="","",(INDEX('Trainer List'!$A$1:$MS$93,MATCH($A100,'Trainer List'!$E$1:$MS$1,0),MATCH(EQ$4,'Trainer List'!$A$1:$A$95,0))))

    I would appreciate any help or advice on the matter.
    Last edited by tomshepstone; 07-19-2018 at 03:12 AM. Reason: Incorrect post format

  2. #2
    Registered User
    Join Date
    02-04-2018
    Location
    Israel
    MS-Off Ver
    2013
    Posts
    9

    re: Index Match forumla

    i didn't see the #REF! result.
    perhaps because you neglected to attach the worksheet containing the 2 formulas.

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Index Match forumla

    I believe you have your match functions reversed.

    Should be
    =IF(EQ$4="","",(INDEX('Trainer List'!$A$1:$MS$93,MATCH(EQ$4,'Trainer List'!$A$1:$A$95,0),MATCH($A100,'Trainer List'!$E$1:$MS$1,0))))

  4. #4
    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,647

    Re: Index Match forumla

    Welcome to the forum! Please take a moment to re-read forum rule #1 and then amend your thread title to something that better explains your problem. Changing your thread title is not optional, which means you must change it. Thanks!

    • Use concise, accurate thread titles.
    • Your post title should describe your problem, not your anticipated solution.
    • Use terms appropriate to a Google search - poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice tell us nothing.
    • Responding to a request to change your thread title by doing so is mandatory.

    To change a title go to your first post, click EDIT then Go Advanced and change your title.

    No help to be offered, please, until the OP complies with this request.
    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.

  5. #5
    Registered User
    Join Date
    07-18-2018
    Location
    Warwick
    MS-Off Ver
    2016
    Posts
    3

    Re: Index Match forumla

    Apologies, trust my amends are acceptable

  6. #6
    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,647

    Re: Formula to find the intersection of two indices

    Very good - much better, thanks!

  7. #7
    Registered User
    Join Date
    07-18-2018
    Location
    Warwick
    MS-Off Ver
    2016
    Posts
    3

    Re: Index Match forumla

    Hey Jonmo, thanks for the tip.

    While this has corrected that error, it is now reporting data from two columns earlier. i.e. should return the value in column E but is returning column C, likewise should be F returning D etc...

  8. #8
    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,647

    Re: Formula to find the intersection of two indices

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

  9. #9
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    !

    Yes, an attached workbook would be very helpful.
    But I can see a couple needed corrections.

    The columns of the 2nd match need to match the columns of the index
    The rows of the 1st match need to match the rows of the index

    And need to reverse the absolute referencing of the 2 lookup values EQ4 and A100

    =IF(EQ$4="","",(INDEX('Trainer List'!$A$1:$MS$93,MATCH(EQ$4,'Trainer List'!$A$1:$A$95,0),MATCH($A100,'Trainer List'!$E$1:$MS$1,0))))
    should be
    =IF(EQ$4="","",(INDEX('Trainer List'!$A$1:$MS$93,MATCH($EQ4,'Trainer List'!$A$1:$A$93,0),MATCH(A$100,'Trainer List'!$A$1:$MS$1,0))))

+ 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] not sure what forumla i need! vlook up; index; match??
    By littlefoot in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-11-2017, 08:19 AM
  2. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  3. Modifying an index/match forumla to include additional cells
    By trishcollins in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-13-2014, 09:49 AM
  4. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  5. INDEX / MATCH Forumla help
    By martinhardy in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-08-2013, 06:21 AM
  6. Help with Index, Match, and Offset Forumla
    By tjohn909 in forum Excel General
    Replies: 3
    Last Post: 03-28-2011, 08:15 PM
  7. Using a forumla to return the position of a value like index match
    By teshiburu1988 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-16-2009, 08:23 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