+ Reply to Thread
Results 1 to 5 of 5

Use of Index match

  1. #1
    Registered User
    Join Date
    11-24-2012
    Location
    Illinois, USA
    MS-Off Ver
    Excel 2003
    Posts
    16

    Use of Index match

    On the attached schedule I am want to use multiple variables as my search criteria (area and region on the summary sheet) to lookup and locate information on a second sheet (detail). I have tried using index match but keep generating an error. Not sure what I am doing wrong any assistance would be greatly appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Use of Index match

    Had your row headers been unique, you'd use =INDEX(Detail!D6:J12,MATCH(Summary!E8,Detail!D5:J5,0),MATCH(Summary!F8,Detail!C6:C12,0))...

    ..but they aren't. You're looking for the SUM of the combination of those items.

    I prefer to use INDEX when dealing with strings, and SUMPRODUCT when dealing with values.

    =SUMPRODUCT((Detail!$D$5:$J$5=$E8)*(Detail!$C$6:$C$12=$F8)*(Detail!$D$6:$J$12)) and copied down
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    11-24-2012
    Location
    Illinois, USA
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Use of Index match

    Thanks,

    I now have some hair left on my head.

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Use of Index match

    That makes one of us.

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Use of Index match

    If you try and use INDEX and MATCH to get the results, you will only get partial results as the first values are taken and in this case, there are many duplicates of the data.

    SUMPRODUCT is the way to go.
    Last edited by newdoverman; 07-29-2014 at 08:59 PM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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: 6
    Last Post: 04-30-2014, 02:42 AM
  2. [SOLVED] Index Match from a cell populated from index match
    By MarcLewis in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-15-2013, 05:30 AM
  3. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  4. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  5. Replies: 5
    Last Post: 02-29-2012, 08:51 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