I have an inventory sheet that has a serial number column. I have a serpeate sheet used for tracking advanced exchanges where it populates a column for the old serial number and the new. I need a formula to identify the old serial number from the RMA sheet and match it to the inventory sheet. Then replace it with the new serial number. Additionally, the same component could break again and need to update the new serial number with the newer serial number, and so on. Finally, if there isn't a RMA for a serial number, there is no change on the inventory sheet.
I've tried, =IFERROR(INDEX({RMA New Serial Number}, MATCH([Component Serial Number]@row, {component serial number}, 0)), [Component Serial Number]@row)
This only works for the first time, say old SN 11111 is replaced with SN 22222, well if 22222 needs replaced, it doesn't recognize it to change it to 33333.
Also, with this formula, I didn't place it in the inventory serial number column, I placed it in a new column. I don't trust it to work if I place it in the component serail number column. But I ultimately need that column updated not the helper column I created.