hey guys,
I have 2 lists of items, consisting of 4 values (in column b,c,d and e). What I want to do is to find matches between sheets. Usually I use concatenate to group the all criteria i need to check, then i proceed. But there are no matches for most of the cases. for these ones, i just want to find the nearest matching values for column c,d and e from list 2 sheet into corresponding item in list 1 sheet.
I have found examples with 2 criteria, but i am not able to modify these INDEX and MATCH formulas for more criteria.
* first it should find an exact match for B column value from "list 2" sheet.
* if there is a match for data in B column from "list 2" sheet with specific corresponding cell in "list 1", formula should check for an exact match of C column. If there are no matches in C column between the corresponding cells, it should pick the nearest bigger match from "list 2" sheet.
* The process should continue for D and E columns with preference of exact matches, but ok to be picked the nearest bigger values.
* The most important point is all the picked items' concatenated version should already be existing in A column in second sheet. It should retrieve the item from A column from sheet 2 to sheet 1 with maximum similarity, and if available it should return with exact match.
to make it more clear, as long as it is available in A column from second sheet, it should pick an exact match for B, then C has the priority over D and E. It should select the item row in that order "Exact (B) > Nearest (C) > Nearest (D) = Nearest (E)" and retrieve the corresponding matching data from A column of that row from secondary sheet to first sheet.
Can anybody help me about this issue? any idea will be appreciated. file is attached for reference.
Thanks in advance.
* this question is also asked on reddit with title of: "lookup_for_4_criteria_and_retrieve_the_nearest". I am not able to post URLs as i am new on this forum.
Edited by GK. Here is the link:
https://www.reddit.com/r/excel/comme...e_the_nearest/
Bookmarks