+ Reply to Thread
Results 1 to 9 of 9

INDEX MATCH SMALL ROW, Double criteria Lookup

  1. #1
    Registered User
    Join Date
    11-19-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    4

    INDEX MATCH SMALL ROW, Double criteria Lookup

    Hello,

    Long time reader, first time poster. I'm at the end of my rope trying to figure out what I'm doing wrong here and could really use some help.

    I have two workbooks. One is a large database (WorkBook I/UGLEEORANGE) with ISBNS, titles, corresponding author codes, etc. The second is a list (WorkBook II) of books with ISBNS. I am attempting to return multiple values of matching author codes in WBII. Once the author codes are determined I need to do a lookup into the database with double matching criteria to pull the authors 'share' of the book/ISBN.

    To return the multiple results from the lookup value I am using this formula in column B (WBII):
    =INDEX([UGLEEORANGE2.xlsx]No_Bookclub_etc!$L$2:$L$14657, SMALL(IF(A2=[UGLEEORANGE2.xlsx]No_Bookclub_etc!$O$2:$O$14657, ROW([UGLEEORANGE2.xlsx]No_Bookclub_etc!$O$2:$O$14657)-MIN(ROW([UGLEEORANGE2.xlsx]No_Bookclub_etc!$O$2:$O$14657))+1, ""), ROW(A1)))

    It works for some (maybe 25%) of the spreadsheet, but the rest result in a #NUM error, that I can't figure out.

    After I determine the answer for column B. I created a helper column (G in WBII and A in WBI) with the =CONCATENATE formula to serve as my double lookup criteria to find the 'author share' that should return in column M, but even this column will sometimes give me an #NA result even if I know there should be a match when the 'helper' column' is populated. I ate one point entered all of the author codes by hand before I was able to write the INDEX MATCH formula.

    I can certainly just continue to search each ISBN and copy and past, but that is very time consuming and I will have to do this a few times a month and would much rather have a formula to save time.

    Hopefully I have explained this fully.
    I have attached the two workbooks.

    Thanks in advance.


    *** I had to remove a lot of data and rename the database workbook from UGLEEORANGE2 to uglyorange, so I could upload it onto the site.
    https://www.dropbox.com/s/7r441c6myj...glyorange.xlsx
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: INDEX MATCH SMALL ROW, Double criteria Lookup

    There is a lot of data in your file. I don't think that what want can be effectively accomplished with using formulas. I would recommend using a database tool like MS Access.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    11-19-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: INDEX MATCH SMALL ROW, Double criteria Lookup

    Hi AlKey,

    Thank you for your input. Unfortunately, I do not have the Access to Access.

    Is this the reason why I am getting the NUM return on my formula? Or is it the formula itself? I am self teaching and would like to know if I have made any mistakes in the formula and/or my though process on how to solve this.

    Any assistance is appreciated.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: INDEX MATCH SMALL ROW, Double criteria Lookup

    It is hard to tell exactly without seeing. The formula you using is an array formula so, just to make sure you entering it with Ctrl+Shift+Enter combination. Also, you might want to check that data in A2 and [UGLEEORANGE2.xlsx]No_Bookclub_etc!$O$2:$O$14657 is consistent and that match is possible.

  5. #5
    Registered User
    Join Date
    11-19-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: INDEX MATCH SMALL ROW, Double criteria Lookup

    Is it possible to look at the zip file I attached to my original query?

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: INDEX MATCH SMALL ROW, Double criteria Lookup

    Sorry for the delay. Here is the formula that should work.


    =INDEX([UGLEEORANGE2.xlsx]No_Bookclub_etc'!$L$2:$L$14657,SMALL(IF([UGLEEORANGE2.xlsx]No_Bookclub_etc'!$O$2:$O$14657=A2,ROW([UGLEEORANGE2.xlsx]No_Bookclub_etc'!$O$2:$O$14657)-MIN(ROW([UGLEEORANGE2.xlsx]No_Bookclub_etc'!$O$2:$O$14657))+1,""),COUNTIF($A$2:$A2,$A2)))

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: INDEX MATCH SMALL ROW, Double criteria Lookup

    Hi GP_SRT,

    Please mark thread as "Solved" if your issue has been resolved. (Selecting Thread Tools-> Mark thread as Solved).

  8. #8
    Registered User
    Join Date
    11-19-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: INDEX MATCH SMALL ROW, Double criteria Lookup

    Thanks, Alkey. Will do.
    The formula did work despite the large original file.

  9. #9
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: INDEX MATCH SMALL ROW, Double criteria Lookup

    You're welcome. Don't forget to thank those who helped by clicking on Add Reputation *

+ 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. Duplicate values returned using Index Match Lookup with Small()
    By jacob@thepenpoint in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-18-2013, 10:48 AM
  2. Double lookup or index and match?
    By dan_manchester in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-13-2013, 09:01 AM
  3. Multiple Criteria Lookup/Match/Index
    By Kasz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-15-2011, 09:30 AM
  4. Help with Lookup/match/index with 2 criteria.
    By Fizziii in forum Excel General
    Replies: 5
    Last Post: 04-28-2011, 10:00 AM
  5. Lookup Or Index, Match then Sum with several criteria.
    By borissinga in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-15-2010, 08: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