+ Reply to Thread
Results 1 to 4 of 4

Help with INDEX MATCH embeded functions with 2 way lookups

  1. #1
    Registered User
    Join Date
    08-13-2012
    Location
    PA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Help with INDEX MATCH embeded functions with 2 way lookups

    I am using the index match functions, along with an error check, to look through data and find 2 things.
    1. To match the Port ID to the data set.
    2. To match the Location ID to the data set.

    I am dumping a lot of data into a tab and what I am trying to accomplish is have the formulas search to see if the Port ID exists for a certain Location ID.
    If it does, then return the Month to Date (MTD) #, if it does not then return 0. That seems to work.

    The issue I run into is, the formulas do not pull the data correctly in ever scenario.
    For example, I attached spreadsheet. Port ID 460000 doesn't pull thorugh for Location ID 1, instead it puts it under location ID 2.
    And it seems that nothing pulled through for location ID 2 at all.
    I've tried this a few different ways with different types of lookups and/or multiple Index Match statements, and I can't find the prefect solution.

    I actually have 20 location ID's to work through. In the example attached, I am just using 2.
    Any ideas or suggestions would be greatly appreciated.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Contributor BenMiller's Avatar
    Join Date
    12-06-2011
    Location
    New Jersey
    MS-Off Ver
    Excel 2010
    Posts
    254

    Re: Help with INDEX MATCH embeded functions with 2 way lookups

    Enter this array formula (confirmed with CTRL+SHIFT+ENTER) in G3:

    Please Login or Register  to view this content.
    And here's your file:

    example2.xls

  3. #3
    Registered User
    Join Date
    08-13-2012
    Location
    PA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Help with INDEX MATCH embeded functions with 2 way lookups

    Perfect. Thank you!

  4. #4
    Forum Contributor BenMiller's Avatar
    Join Date
    12-06-2011
    Location
    New Jersey
    MS-Off Ver
    Excel 2010
    Posts
    254

    Re: Help with INDEX MATCH embeded functions with 2 way lookups

    No problem Glad I could help ... Appreciate the feedback!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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