In Column A, I have a list of values which act as a "ID number" for a location. In Column B, I have a list of location numbers that correlate with the ID number found in Column A. I also have Column C, where the values represent the same list of location numbers found in Column B in a random order, but do not have a ID number for that location correlating to them, like Column B does in its relationship to Column A.
I'm trying to match Column B with Column C. If B and C are a match, I'd like the value in Column A that relates to Column B to placed in Column D (which is empty), which will act as the ID number for Column C.
To achieve this match, I used the formula: =INDEX(A:A,MATCH(C2,B:B,0))
Unfortunately, my spreadsheet has many duplicate values that need to be matched in a repetitive manner and the formula is overlooking them, rendering the value in Column D as "N/A". Is there a way to improve the formula to calculate all duplicates and not overlook them.
Bookmarks