I have been working hours and days on this problem and can't seem to come up with a good solution.
I have an inventory spreadsheet that I have one column that has several different order numbers and serial numbers under each order number. In another column I have the serial numbers I have given out along with other info in the other columns. I need to figure out a way to take in a serial from the ones I have given out and find which order it belongs to and return that order number to a cell next to the serial number given out.
The closest thing I have to a solution is this
=CHOOSE(MATCH($C3, CHOOSE(1, $K$1:$K$18, $K$20:$K28, .. etc), 0), order1, order2, ... etc.)
Now this will work but I have to manually change the index_num of choose until I don't get a #N/A which is quite time consuming given that I do have 29 values in my choose.
Anyone have a better solution?
I have an inventory spreadsheet that I have one column that has several different order numbers and serial numbers under each order number. In another column I have the serial numbers I have given out along with other info in the other columns. I need to figure out a way to take in a serial from the ones I have given out and find which order it belongs to and return that order number to a cell next to the serial number given out.
The closest thing I have to a solution is this
=CHOOSE(MATCH($C3, CHOOSE(1, $K$1:$K$18, $K$20:$K28, .. etc), 0), order1, order2, ... etc.)
Now this will work but I have to manually change the index_num of choose until I don't get a #N/A which is quite time consuming given that I do have 29 values in my choose.
Anyone have a better solution?