Hi all, so here's my issue.. I need to pull certain values from a single column. The column is formatted so that Product ID's are typically on the top row and the UPC is located on the row directly below (not all Product ID's have UPC codes below them but I need to grab all the ones that do). This column continues on this way for thousands of rows. I need to use my list of Product ID's in Column A to run a lookup and pull the UPC value on the row directly below the ID inside Column B (some will return the next Product ID if a UPC does not exist but I can filter these out later).
Here is an example of my sheet:
Column A:
IDNUM111
IDNUM222
IDNUM333
IDNUM444
IDNUM555
Column B:
IDNUM111
000111
IDNUM222
IDNUM333
IDNUM444
000444
Column A and B are in no particular order. I need some way to run a lookup based on the ID values in Column A and return the row directly below this value in Column B. I'm currently using the hlookup formula =HLOOKUP(A2, $B$2:$B$37960,2,FALSE) but this only returns the first UPC value and then stops. I need this to continue searching down all of my lookup value rows.
Any help would be much appreciated!
Here is an example of my sheet:
Column A:
IDNUM111
IDNUM222
IDNUM333
IDNUM444
IDNUM555
Column B:
IDNUM111
000111
IDNUM222
IDNUM333
IDNUM444
000444
Column A and B are in no particular order. I need some way to run a lookup based on the ID values in Column A and return the row directly below this value in Column B. I'm currently using the hlookup formula =HLOOKUP(A2, $B$2:$B$37960,2,FALSE) but this only returns the first UPC value and then stops. I need this to continue searching down all of my lookup value rows.
Any help would be much appreciated!
Last edited: