+ Reply to Thread
Results 1 to 5 of 5

INDEX/ MULTIPLE MATCH LOOKUP... Grab closest low value from only one array

  1. #1
    Registered User
    Join Date
    04-15-2019
    Location
    Cleveland, Ohio
    MS-Off Ver
    Office 10
    Posts
    2

    Question INDEX/ MULTIPLE MATCH LOOKUP... Grab closest low value from only one array

    I've been searching for a solution and racking my brain for a while now... and I think (relatively speaking), this is a simple solution that I'm trying to make harder than it is.

    I have a standard routing for parts in the format of....

    Part# Process #
    Part1 100
    Part1 200
    Part1 300
    Part1 400
    Part2 150
    Part2 175
    Part2 205
    Part2 300
    Part3 100
    Part3 200
    Part3 500


    If a part is defective new processes are added for it to correct that. So if a Part1 fails at process 200, then it moves to process 205. I have a list of active serial numbers that are defective and need to find the last regular process that was completed for tracking purposes.

    Serial Part Process Comments
    1 Part1 205 Damaged Seal
    2 Part3 165 Incorrect O.D.



    I appreciate any help, thank you. I've been back and forth through formulas all day looking for solutions.
    Last edited by AliGW; 06-15-2019 at 01:24 AM.

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

    Re: INDEX/ MULTIPLE MATCH LOOKUP... Grab closest low value from only one array

    Using the headers from your sample table in place of ranges, as I can't see which columns your data is in.

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

  3. #3
    Registered User
    Join Date
    04-15-2019
    Location
    Cleveland, Ohio
    MS-Off Ver
    Office 10
    Posts
    2

    Re: INDEX/ MULTIPLE MATCH LOOKUP... Grab closest low value from only one array

    Jason.b75, thank you for your help. The code you provided wasn't exactly what I needed. It provided me the Largest Value of the division. (True/True = 1).

    However, it did get my head straight and lead me on the right thought process to solve the issue

    Assuming Part # is column A, and Process is Column B....

    Please Login or Register  to view this content.
    Important things I to note...

    1. You have to specify the exact range for your lookup, with the data I was using, I was unable to generalize and use (A:A) for an entire column.

    2. If you are pulling from another formula, you will have to use the VALUE function to make any numeric value work. In my case, the process was calculated from another formula, so a direct cell reference would not work until I surrounded it with VALUE to convert it to a number.

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

    Re: INDEX/ MULTIPLE MATCH LOOKUP... Grab closest low value from only one array *SOLVED*

    That was my error, I missed part of the formula.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    You shouldn't need to wrap your formula in the VALUE function unless you're extracting a number from a text string, or using text functions to split a number.
    Data imported from another program might be formatted as text when it is imported, if that is the case then it would be preferable to convert it at the source using text to columns instead of using the value function.

    With excel 2019 or office 365, you can use entire columns in a different formula,
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    but excel 2010 does not support this. Instead, you would need to use dynamic named ranges with one of the array methods.

  5. #5
    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,635

    Re: INDEX/ MULTIPLE MATCH LOOKUP... Grab closest low value from only one array

    Please note the correct way to mark a thread as solved is to select Thread Tools from the menu link above and mark this thread as SOLVED. I have done this for you this time.
    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.

+ 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: 7
    Last Post: 04-03-2019, 05:00 PM
  2. Two-way lookup with INDEX and MATCH return closest match
    By Mschelle6 in forum Excel General
    Replies: 8
    Last Post: 12-06-2018, 02:03 PM
  3. [SOLVED] INDEX MATCH where lookup array is multiple columns
    By RoundaboutCJP in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-23-2017, 05:53 AM
  4. Need an array possibly INDEX/MATCH formula with multiple lookup criteria.
    By TheClaw2323 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-25-2015, 09:59 AM
  5. Lookup OR Index/Match with multiple Array's
    By Numnum in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2014, 05:32 AM
  6. [SOLVED] Lookup temperature based on closest time using INDEX and MATCH
    By gshafiq in forum Excel General
    Replies: 7
    Last Post: 09-09-2014, 03:58 PM
  7. LOOKUP with Multiple Criteria (ARRAY INDEX and MATCH)
    By snowktt in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-14-2014, 02:24 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